Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.00142/0.00142, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001583/0.001583, allocations: 211.2 kB / 20.75 MB, free: 2.293 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.439/1.439, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2193/0.2193, allocations: 44.9 MB / 355.1 MB, free: 12.31 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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.001973/0.001973, allocations: 71.89 kB / 499.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1134, allocations: 65.41 MB / 0.5518 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003062/0.1165, allocations: 1.832 MB / 0.5536 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.119, allocations: 1.713 MB / 0.5553 GB, free: 6.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.1191, allocations: 4 kB / 0.5553 GB, free: 6.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.1194, allocations: 51.62 kB / 0.5553 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.1197, allocations: 143.4 kB / 0.5555 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.12, allocations: 99.69 kB / 0.5556 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.1203, allocations: 219.2 kB / 0.5558 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.519e-05/0.1203, allocations: 5.688 kB / 0.5558 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1204, allocations: 87.62 kB / 0.5559 GB, free: 6.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.1207, allocations: 83.61 kB / 0.5559 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.1207, allocations: 8 kB / 0.5559 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.1209, allocations: 119.9 kB / 0.5561 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/0.121, allocations: 35.83 kB / 0.5561 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.725e-05/0.121, allocations: 63.61 kB / 0.5562 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.1214, allocations: 231.3 kB / 0.5564 GB, free: 5.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1214, allocations: 7.938 kB / 0.5564 GB, free: 5.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1214, allocations: 0 / 0.5564 GB, free: 5.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1214, allocations: 0 / 0.5564 GB, free: 5.473 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007141/0.1221, allocations: 0.4903 MB / 0.5569 GB, free: 4.934 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1221, allocations: 8.031 kB / 0.5569 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.1222, allocations: 42.69 kB / 0.5569 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.1222, allocations: 16.84 kB / 0.5569 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.1226, allocations: 263.8 kB / 0.5572 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1226, allocations: 12.38 kB / 0.5572 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.1226, allocations: 7.938 kB / 0.5572 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.1228, allocations: 97.08 kB / 0.5573 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1229, allocations: 0 / 0.5573 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1229, allocations: 0 / 0.5573 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1229, allocations: 4 kB / 0.5573 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.123, allocations: 43.89 kB / 0.5573 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.1232, allocations: 214.5 kB / 0.5575 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.1235, allocations: 105.1 kB / 0.5576 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1236, allocations: 37.7 kB / 0.5577 GB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1236, allocations: 4 kB / 0.5577 GB, free: 3.953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.1238, allocations: 109 kB / 0.5578 GB, free: 3.828 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.1239, allocations: 0 / 0.5578 GB, free: 3.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004499/0.1243, allocations: 169.5 kB / 0.5579 GB, free: 3.656 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/0.1244, allocations: 136.5 kB / 0.5581 GB, free: 3.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.1247, allocations: 236.2 kB / 0.5583 GB, free: 3.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1247, allocations: 29.7 kB / 0.5583 GB, free: 3.215 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.1248, allocations: 120.1 kB / 0.5584 GB, free: 3.094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.1248, allocations: 31.73 kB / 0.5585 GB, free: 3.062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.1249, allocations: 25.72 kB / 0.5585 GB, free: 3.031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.125, allocations: 334.8 kB / 0.5588 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.1251, allocations: 27.98 kB / 0.5588 GB, free: 2.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1252, allocations: 65.14 kB / 0.5589 GB, free: 2.586 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.1254, allocations: 95.38 kB / 0.559 GB, free: 2.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1254, allocations: 3.938 kB / 0.559 GB, free: 2.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002801/0.1257, allocations: 134.1 kB / 0.5591 GB, free: 2.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1257, allocations: 8 kB / 0.5591 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1257, allocations: 0 / 0.5591 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1257, allocations: 0 / 0.5591 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1258, allocations: 27.92 kB / 0.5592 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1258, allocations: 0 / 0.5592 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.219e-05/0.1259, allocations: 27.94 kB / 0.5592 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1259, allocations: 4 kB / 0.5592 GB, free: 2.273 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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.0001376/0.1261, allocations: 131.9 kB / 0.5593 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.1261, allocations: 23.84 kB / 0.5593 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.1261, allocations: 16.98 kB / 0.5594 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1262, allocations: 4 kB / 0.5594 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1262, allocations: 0 / 0.5594 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1262, allocations: 0 / 0.5594 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.1264, allocations: 237.4 kB / 0.5596 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1264, allocations: 8 kB / 0.5596 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.1264, allocations: 4 kB / 0.5596 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1264, allocations: 4 kB / 0.5596 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1264, allocations: 0 / 0.5596 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1265, allocations: 3.984 kB / 0.5596 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1265, allocations: 0 / 0.5596 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.1268, allocations: 173.7 kB / 0.5598 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.1268, allocations: 93.02 kB / 0.5599 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.1269, allocations: 11.98 kB / 0.5599 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.127, allocations: 4 kB / 0.5599 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.127, allocations: 7.984 kB / 0.5599 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.127, allocations: 4 kB / 0.5599 GB, free: 1.461 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.1272, allocations: 177.6 kB / 0.5601 GB, free: 1.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1272, allocations: 0 / 0.5601 GB, free: 1.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.1275, allocations: 59.86 kB / 0.5601 GB, free: 1.23 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002393/0.1299, allocations: 1.114 MB / 0.5612 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.1302, allocations: 83.89 kB / 0.5613 GB, free: 196 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1302, allocations: 0 / 0.5613 GB, free: 196 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.1303, allocations: 40.09 kB / 0.5613 GB, free: 156 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1306, allocations: 49.67 kB / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.133, allocations: 1.893 MB / 0.5632 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1333, allocations: 0.7242 MB / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.658e-05/0.1334, allocations: 38.02 kB / 0.564 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.1335, allocations: 59.41 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1335, allocations: 3.938 kB / 0.564 GB, free: 13.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.1614, allocations: 5.332 MB / 0.5692 GB, free: 7.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.521, allocations: 8 kB / 0.5692 GB, free: 7.961 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.543807039037347]