Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001183, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2416/0.2416, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 62.28 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1208, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00331/0.1242, allocations: 1.882 MB / 471.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1259, allocations: 0.9821 MB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.126, allocations: 8 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.1265, allocations: 159.5 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.1269, allocations: 143.4 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.1274, allocations: 175.5 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.1277, allocations: 219.4 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1278, allocations: 41.59 kB / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.128, allocations: 107.6 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.1282, allocations: 123.6 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.1282, allocations: 8 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.1284, allocations: 63.92 kB / 473.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.323e-05/0.1285, allocations: 51.83 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1286, allocations: 79.42 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.1289, allocations: 211.5 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.129, allocations: 0 / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.129, allocations: 0 / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.129, allocations: 4 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007987/0.1298, allocations: 0.5215 MB / 474.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1298, allocations: 16.02 kB / 474.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.035e-05/0.1299, allocations: 34.75 kB / 474.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.13, allocations: 24.66 kB / 474.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.1303, allocations: 271.5 kB / 474.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1303, allocations: 12.38 kB / 474.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1303, allocations: 15.94 kB / 474.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.1306, allocations: 107.3 kB / 474.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1306, allocations: 0 / 474.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1306, allocations: 0 / 474.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1306, allocations: 4 kB / 474.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.1308, allocations: 51.89 kB / 474.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.1313, allocations: 468.7 kB / 475.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.1316, allocations: 121.2 kB / 475.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.309e-05/0.1318, allocations: 45.83 kB / 475.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1318, allocations: 0 / 475.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.1321, allocations: 127.9 kB / 475.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1321, allocations: 0 / 475.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001322/0.1334, allocations: 485.1 kB / 475.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.1335, allocations: 81.11 kB / 475.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.1339, allocations: 351 kB / 476.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.1339, allocations: 37.69 kB / 476.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.134, allocations: 140.5 kB / 476.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.1341, allocations: 71.08 kB / 476.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.1342, allocations: 49.7 kB / 476.6 MB, free: 6.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1343, allocations: 338.8 kB / 476.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1344, allocations: 55.97 kB / 477 MB, free: 6.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1345, allocations: 95.28 kB / 477.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1349, allocations: 163.2 kB / 477.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1349, allocations: 0 / 477.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003725/0.1353, allocations: 233.4 kB / 477.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1353, allocations: 8 kB / 477.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1353, allocations: 0 / 477.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1353, allocations: 0 / 477.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.1355, allocations: 47.91 kB / 477.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1355, allocations: 8.062 kB / 477.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.1356, allocations: 12 kB / 477.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1356, allocations: 4 kB / 477.5 MB, free: 5.797 MB / 350.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001364/0.1357, allocations: 157.8 kB / 477.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.1358, allocations: 39.55 kB / 477.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.469e-05/0.1359, allocations: 33.97 kB / 477.7 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1359, allocations: 4 kB / 477.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1359, allocations: 0 / 477.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1359, allocations: 0 / 477.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008653/0.1368, allocations: 0.7193 MB / 478.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1368, allocations: 4 kB / 478.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-05/0.1369, allocations: 28.11 kB / 478.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1369, allocations: 4 kB / 478.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.1369, allocations: 8 kB / 478.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.1369, allocations: 11.97 kB / 478.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1369, allocations: 7.875 kB / 478.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.1374, allocations: 408.1 kB / 478.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.1375, allocations: 104.7 kB / 479 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.1375, allocations: 8 kB / 479 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1377, allocations: 8.188 kB / 479 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.605e-05/0.1377, allocations: 27.84 kB / 479.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.1378, allocations: 15.94 kB / 479.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00025/0.138, allocations: 265.9 kB / 479.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.138, allocations: 0 / 479.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.1384, allocations: 44 kB / 479.4 MB, free: 3.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001934/0.1403, allocations: 1.362 MB / 480.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.1407, allocations: 171.6 kB / 480.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1407, allocations: 0 / 480.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.1409, allocations: 83.97 kB / 481 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.1414, allocations: 64.67 kB / 481.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.1445, allocations: 2.655 MB / 483.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.1449, allocations: 0.7519 MB / 484.5 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.145, allocations: 45.91 kB / 484.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.1451, allocations: 79.41 kB / 484.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1452, allocations: 0 / 484.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1693, allocations: 5.848 MB / 490.4 MB, free: 8.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.298/7.468, allocations: 304 / 490.4 MB, free: 8.867 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches