Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2351/0.2351, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 75.88 kB / 0.4962 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3855, allocations: 66.04 MB / 0.5607 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003276/0.3887, allocations: 1.718 MB / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.3906, allocations: 0.9754 MB / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.3907, allocations: 0 / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003612/0.3911, allocations: 107.7 kB / 0.5634 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.3914, allocations: 131.5 kB / 0.5635 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.3916, allocations: 87.59 kB / 0.5636 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.3919, allocations: 127.7 kB / 0.5637 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.392, allocations: 13.8 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.3921, allocations: 67.7 kB / 0.5638 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.3922, allocations: 71.78 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3922, allocations: 4 kB / 0.5639 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.3923, allocations: 59.98 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-05/0.3924, allocations: 39.83 kB / 0.564 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.3925, allocations: 35.62 kB / 0.564 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.3927, allocations: 175.3 kB / 0.5642 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3927, allocations: 0 / 0.5642 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3927, allocations: 0 / 0.5642 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3927, allocations: 0 / 0.5642 GB, free: 0.5664 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006471/0.3934, allocations: 389.2 kB / 0.5646 GB, free: 160 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3934, allocations: 12.03 kB / 0.5646 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.3935, allocations: 38.73 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.3935, allocations: 16.84 kB / 0.5646 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.3938, allocations: 159.2 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3939, allocations: 4.375 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.3939, allocations: 11.94 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.3941, allocations: 69.66 kB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3941, allocations: 0 / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.3941, allocations: 0 / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3941, allocations: 0 / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.3942, allocations: 39.91 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.3946, allocations: 287.8 kB / 0.5652 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.3949, allocations: 74.53 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.663e-05/0.395, allocations: 24.84 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.395, allocations: 12.03 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.3952, allocations: 75.53 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.3952, allocations: 7.938 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008482/0.3961, allocations: 289.3 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.3961, allocations: 59.33 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.3964, allocations: 263.8 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3965, allocations: 33.7 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.3965, allocations: 112.1 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.3966, allocations: 43.62 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.3966, allocations: 29.72 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3968, allocations: 330.8 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/0.3969, allocations: 35.98 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.827e-05/0.397, allocations: 53.62 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.3971, allocations: 93.7 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3971, allocations: 3.938 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002583/0.3974, allocations: 145.5 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3974, allocations: 11.97 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3974, allocations: 0 / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3974, allocations: 4 kB / 0.5668 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.3975, allocations: 23.92 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3975, allocations: 4 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.3976, allocations: 3.953 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.3976, allocations: 11.98 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.3977, allocations: 137.8 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.3978, allocations: 15.91 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.3981, allocations: 170.8 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3981, allocations: 11.92 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3981, allocations: 4 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3981, allocations: 0 / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006427/0.3988, allocations: 467 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3988, allocations: 4 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.3988, allocations: 19.98 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3988, allocations: 3.984 kB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.3989, allocations: 4 kB / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3989, allocations: 0 / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3989, allocations: 4.062 kB / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.3992, allocations: 269 kB / 0.5679 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.3992, allocations: 15.91 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.3993, allocations: 7.984 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.3993, allocations: 4 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.3994, allocations: 7.984 kB / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.3994, allocations: 8 kB / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.3996, allocations: 197.5 kB / 0.5681 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3996, allocations: 4 kB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.3999, allocations: 35.88 kB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002665/0.4026, allocations: 1.259 MB / 0.5694 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.4028, allocations: 95.83 kB / 0.5695 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4028, allocations: 0 / 0.5695 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.4029, allocations: 43.92 kB / 0.5695 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.4033, allocations: 42.94 kB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.4056, allocations: 1.982 MB / 0.5715 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.4057, allocations: 106.6 kB / 0.5716 GB, free: 8.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.8e-05/0.4058, allocations: 25.06 kB / 0.5716 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.424e-05/0.4059, allocations: 59.34 kB / 0.5717 GB, free: 8.684 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4059, allocations: 4 kB / 0.5717 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.4364, allocations: 4.919 MB / 0.5765 GB, free: 3.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.6, allocations: 7.797 kB / 0.5765 GB, free: 3.824 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.795492311939597]