Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008029/0.0008027, allocations: 98.7 kB / 18.01 MB, free: 5.734 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.001075/0.001075, allocations: 181.3 kB / 18.91 MB, free: 4.871 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.405/1.405, allocations: 223.3 MB / 243 MB, free: 14.45 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.1902/0.1902, allocations: 44.24 MB / 338.3 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.000493, allocations: 8.281 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1303, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00247/0.1329, allocations: 1.499 MB / 474.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1347, allocations: 0.924 MB / 475.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1349, allocations: 11.88 kB / 475.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005807/0.1355, allocations: 303.4 kB / 475.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.1359, allocations: 199.5 kB / 475.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.1364, allocations: 150.6 kB / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.1368, allocations: 235.4 kB / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.1369, allocations: 5.562 kB / 476.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.1371, allocations: 119.6 kB / 476.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.1374, allocations: 191.4 kB / 476.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.1374, allocations: 4 kB / 476.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.1376, allocations: 47.97 kB / 476.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.1377, allocations: 127.6 kB / 476.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1379, allocations: 172.5 kB / 476.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.1383, allocations: 271.8 kB / 477.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.255e-05/0.1383, allocations: 0 / 477.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1383, allocations: 3.938 kB / 477.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1383, allocations: 0 / 477.2 MB, free: 9.066 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001019/0.1393, allocations: 0.6611 MB / 477.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1394, allocations: 15.97 kB / 477.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.1395, allocations: 48.38 kB / 477.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005936/0.1401, allocations: 447.8 kB / 478.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.1401, allocations: 4.375 kB / 478.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1402, allocations: 4.125 kB / 478.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.1404, allocations: 91.28 kB / 478.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1404, allocations: 4 kB / 478.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1404, allocations: 0 / 478.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1404, allocations: 4 kB / 478.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1406, allocations: 31.97 kB / 478.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.1411, allocations: 382.4 kB / 478.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.1414, allocations: 109.2 kB / 478.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.57e-05/0.1415, allocations: 41.64 kB / 479 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1415, allocations: 0 / 479 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.1418, allocations: 109 kB / 479.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.1418, allocations: 4 kB / 479.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005072/0.1423, allocations: 196.9 kB / 479.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1423, allocations: 77.11 kB / 479.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1434, allocations: 1.034 MB / 480.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1435, allocations: 33.64 kB / 480.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1436, allocations: 232.1 kB / 480.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.1437, allocations: 31.64 kB / 480.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.1437, allocations: 13.72 kB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1439, allocations: 370.8 kB / 481 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.144, allocations: 27.98 kB / 481.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.856e-05/0.1441, allocations: 67.34 kB / 481.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.1443, allocations: 83.42 kB / 481.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1443, allocations: 4 kB / 481.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003032/0.1446, allocations: 172.8 kB / 481.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1446, allocations: 4 kB / 481.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1446, allocations: 4 kB / 481.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1446, allocations: 0 / 481.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1448, allocations: 24.55 kB / 481.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.1448, allocations: 4 kB / 481.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.1449, allocations: 19.91 kB / 481.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1449, allocations: 4 kB / 481.5 MB, free: 4.477 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002208/0.1452, allocations: 230.2 kB / 481.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.1452, allocations: 51.44 kB / 481.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.155e-05/0.1453, allocations: 56 kB / 481.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1453, allocations: 4 kB / 481.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1453, allocations: 0 / 481.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1454, allocations: 0 / 481.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.1457, allocations: 349.3 kB / 482.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1457, allocations: 4 kB / 482.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.1457, allocations: 8 kB / 482.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1457, allocations: 0 / 482.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1458, allocations: 3.984 kB / 482.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1458, allocations: 4 kB / 482.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1458, allocations: 3.938 kB / 482.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.1461, allocations: 205.2 kB / 482.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.1463, allocations: 140.5 kB / 482.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.1463, allocations: 8 kB / 482.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.86e-05/0.1464, allocations: 7.984 kB / 482.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.1465, allocations: 7.984 kB / 482.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.1465, allocations: 4 kB / 482.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008206/0.1473, allocations: 0.7761 MB / 483.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1474, allocations: 3.938 kB / 483.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.1477, allocations: 40 kB / 483.3 MB, free: 2.492 MB / 350.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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.001031/0.1487, allocations: 413.2 kB / 483.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.149, allocations: 83.89 kB / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.149, allocations: 0 / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1491, allocations: 39.92 kB / 483.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.1496, allocations: 80.58 kB / 483.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.151, allocations: 1 MB / 484.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.1515, allocations: 0.8391 MB / 485.8 MB, free: 140 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.698e-05/0.1515, allocations: 31.44 kB / 485.8 MB, free: 108 kB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1516, allocations: 0 / 485.8 MB, free: 108 kB / 350.1 MB Notification: Performance of Templates: time 0.01041/0.162, allocations: 4.98 MB / 490.8 MB, free: 11.13 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches