Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001355/0.001355, 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.001466/0.001466, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.556/1.556, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2469/0.2469, allocations: 44.93 MB / 358.8 MB, free: 6.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003502/0.003502, allocations: 59.91 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3747, allocations: 65.49 MB / 0.557 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003564/0.3782, allocations: 1.699 MB / 0.5587 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.3801, allocations: 0.9738 MB / 0.5596 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.223e-05/0.3802, allocations: 3.938 kB / 0.5597 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.3805, allocations: 83.75 kB / 0.5597 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.3809, allocations: 119.5 kB / 0.5598 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.3811, allocations: 79.67 kB / 0.5599 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.3813, allocations: 115.7 kB / 0.56 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3814, allocations: 17.81 kB / 0.56 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.351e-05/0.3815, allocations: 51.77 kB / 0.5601 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3817, allocations: 67.73 kB / 0.5602 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.3817, allocations: 4 kB / 0.5602 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.3818, allocations: 43.98 kB / 0.5602 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.3818, allocations: 19.92 kB / 0.5602 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.3819, allocations: 31.75 kB / 0.5603 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.3821, allocations: 127.5 kB / 0.5604 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3821, allocations: 3.938 kB / 0.5604 GB, free: 3.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3822, allocations: 0 / 0.5604 GB, free: 3.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3822, allocations: 4 kB / 0.5604 GB, free: 3.953 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005865/0.3827, allocations: 357.4 kB / 0.5607 GB, free: 3.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3828, allocations: 12.03 kB / 0.5607 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.3828, allocations: 34.75 kB / 0.5608 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.3829, allocations: 12.84 kB / 0.5608 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.3832, allocations: 150.3 kB / 0.5609 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.3832, allocations: 4.375 kB / 0.5609 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.3832, allocations: 7.938 kB / 0.5609 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.3834, allocations: 57.66 kB / 0.561 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3834, allocations: 4 kB / 0.561 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3834, allocations: 8 kB / 0.561 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3834, allocations: 0 / 0.561 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.952e-05/0.3835, allocations: 23.92 kB / 0.561 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.3839, allocations: 267.9 kB / 0.5613 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.384, allocations: 54.67 kB / 0.5613 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.3841, allocations: 20.84 kB / 0.5614 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.3841, allocations: 4 kB / 0.5614 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.3843, allocations: 67.33 kB / 0.5614 GB, free: 2.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.3843, allocations: 4 kB / 0.5614 GB, free: 2.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005587/0.3848, allocations: 185.3 kB / 0.5616 GB, free: 2.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.3849, allocations: 51.41 kB / 0.5617 GB, free: 2.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.3851, allocations: 231.4 kB / 0.5619 GB, free: 2.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.3852, allocations: 25.7 kB / 0.5619 GB, free: 2.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.3853, allocations: 112.1 kB / 0.562 GB, free: 2.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.3853, allocations: 27.78 kB / 0.562 GB, free: 2.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.3853, allocations: 21.72 kB / 0.5621 GB, free: 2.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3855, allocations: 326.8 kB / 0.5624 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.3856, allocations: 23.98 kB / 0.5624 GB, free: 1.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.272e-05/0.3857, allocations: 33.7 kB / 0.5624 GB, free: 1.664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.3858, allocations: 73.56 kB / 0.5625 GB, free: 1.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3858, allocations: 0 / 0.5625 GB, free: 1.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000235/0.386, allocations: 105.5 kB / 0.5626 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.386, allocations: 7.984 kB / 0.5626 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3861, allocations: 4 kB / 0.5626 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3861, allocations: 192 / 0.5626 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.523e-05/0.3862, allocations: 12 kB / 0.5626 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3862, allocations: 7.969 kB / 0.5626 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.3862, allocations: 7.938 kB / 0.5626 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3862, allocations: 7.984 kB / 0.5626 GB, free: 1.43 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001193/0.3864, allocations: 126.4 kB / 0.5628 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.3864, allocations: 15.89 kB / 0.5628 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.3867, allocations: 135.1 kB / 0.5629 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3867, allocations: 0 / 0.5629 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3867, allocations: 0 / 0.5629 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3867, allocations: 3.938 kB / 0.5629 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.3872, allocations: 370.8 kB / 0.5633 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3872, allocations: 4 kB / 0.5633 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.3873, allocations: 15.94 kB / 0.5633 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3873, allocations: 3.938 kB / 0.5633 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3873, allocations: 7.984 kB / 0.5633 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3873, allocations: 4 kB / 0.5633 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3873, allocations: 0 / 0.5633 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.3876, allocations: 212.2 kB / 0.5635 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.3876, allocations: 11.91 kB / 0.5635 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.3876, allocations: 11.95 kB / 0.5635 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.3877, allocations: 8 kB / 0.5635 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.3877, allocations: 7.984 kB / 0.5635 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.3877, allocations: 4 kB / 0.5635 GB, free: 424 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.3879, allocations: 169.1 kB / 0.5637 GB, free: 256 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3879, allocations: 0 / 0.5637 GB, free: 256 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.3882, allocations: 31.92 kB / 0.5637 GB, free: 224 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.00246/0.3906, allocations: 1.143 MB / 0.5648 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.3908, allocations: 59.91 kB / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3908, allocations: 0 / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.102e-05/0.3909, allocations: 35.92 kB / 0.5649 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3913, allocations: 34 kB / 0.565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.3935, allocations: 1.721 MB / 0.5666 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.3936, allocations: 100.6 kB / 0.5667 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.941e-05/0.3937, allocations: 20.95 kB / 0.5668 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/0.3938, allocations: 39.42 kB / 0.5668 GB, free: 13.16 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3938, allocations: 4 kB / 0.5668 GB, free: 13.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.4255, allocations: 4.252 MB / 0.571 GB, free: 8.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.72, allocations: 13.58 kB / 0.571 GB, free: 8.953 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.943906445987523]