Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 106.5 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4317/0.4317, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 55.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1404, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003645/0.1441, allocations: 1.764 MB / 488.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1456, allocations: 0.7923 MB / 489.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1457, allocations: 0 / 489.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.1461, allocations: 39.88 kB / 489.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.1464, allocations: 55.75 kB / 489.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.1467, allocations: 79.84 kB / 489.7 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.147, allocations: 95.69 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1471, allocations: 16.2 kB / 489.9 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1472, allocations: 39.8 kB / 489.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.1473, allocations: 31.84 kB / 489.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.1474, allocations: 4 kB / 489.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.1475, allocations: 43.97 kB / 490 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.806e-05/0.1476, allocations: 15.92 kB / 490 MB, free: 9.551 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.09e-05/0.1477, allocations: 43.62 kB / 490 MB, free: 9.508 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.148, allocations: 119.9 kB / 490.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.148, allocations: 0 / 490.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.148, allocations: 0 / 490.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.148, allocations: 0 / 490.1 MB, free: 9.391 MB / 378.7 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.0006466/0.1486, allocations: 430.8 kB / 490.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1487, allocations: 8.031 kB / 490.6 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.1488, allocations: 12.84 kB / 490.6 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.149, allocations: 212 kB / 490.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1491, allocations: 8.359 kB / 490.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.1491, allocations: 12.12 kB / 490.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1493, allocations: 53.61 kB / 490.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1493, allocations: 0 / 490.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1493, allocations: 4 kB / 490.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1493, allocations: 0 / 490.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.889e-05/0.1494, allocations: 23.92 kB / 490.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.1499, allocations: 288.8 kB / 491.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.15, allocations: 66.61 kB / 491.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.1501, allocations: 16.86 kB / 491.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1501, allocations: 3.984 kB / 491.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.1504, allocations: 67.39 kB / 491.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1504, allocations: 4 kB / 491.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005849/0.151, allocations: 181.1 kB / 491.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.151, allocations: 51.41 kB / 491.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.1512, allocations: 222.7 kB / 491.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1513, allocations: 29.7 kB / 491.8 MB, free: 7.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.1513, allocations: 104.1 kB / 491.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.1514, allocations: 27.64 kB / 491.9 MB, free: 7.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.1514, allocations: 21.72 kB / 492 MB, free: 7.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1516, allocations: 334.8 kB / 492.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.1516, allocations: 23.92 kB / 492.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/0.1517, allocations: 33.7 kB / 492.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1518, allocations: 53.72 kB / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1518, allocations: 4 kB / 492.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001844/0.152, allocations: 105.4 kB / 492.5 MB, free: 6.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1521, allocations: 8 kB / 492.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1521, allocations: 3.938 kB / 492.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1521, allocations: 0 / 492.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.1522, allocations: 19.98 kB / 492.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1522, allocations: 160 / 492.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.1523, allocations: 7.938 kB / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1523, allocations: 7.984 kB / 492.5 MB, free: 6.754 MB / 378.7 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.0001134/0.1524, allocations: 133.8 kB / 492.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.1524, allocations: 11.94 kB / 492.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.1525, allocations: 17.41 kB / 492.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1525, allocations: 3.984 kB / 492.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1525, allocations: 0 / 492.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1525, allocations: 3.938 kB / 492.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.153, allocations: 399.2 kB / 493.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.153, allocations: 0 / 493.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.153, allocations: 8 kB / 493.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.153, allocations: 4.219 kB / 493.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1531, allocations: 11.92 kB / 493.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1531, allocations: 7.938 kB / 493.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1531, allocations: 0 / 493.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.1536, allocations: 0.787 MB / 493.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.1537, allocations: 85.02 kB / 494 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1537, allocations: 4 kB / 494 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.1538, allocations: 8.359 kB / 494 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.1539, allocations: 4 kB / 494 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1539, allocations: 0 / 494 MB, free: 5.129 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.154, allocations: 180.2 kB / 494.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.154, allocations: 0 / 494.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.1544, allocations: 20 kB / 494.2 MB, free: 4.934 MB / 378.7 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 (8): * Single equations (assignments): 6 * 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.001048/0.1554, allocations: 468.9 kB / 494.7 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1556, allocations: 63.84 kB / 494.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1557, allocations: 64 / 494.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.1557, allocations: 31.98 kB / 494.8 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1561, allocations: 24.59 kB / 494.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.1567, allocations: 411.6 kB / 495.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1571, allocations: 0.7121 MB / 495.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.006e-05/0.1571, allocations: 21.17 kB / 495.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.1572, allocations: 19.44 kB / 495.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1572, allocations: 4 kB / 495.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of Templates: time 0.004514/0.1617, allocations: 1.689 MB / 497.6 MB, free: 1.5 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches