Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 104.3 kB / 18.4 MB, free: 4.699 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.001142/0.001142, allocations: 191 kB / 19.34 MB, free: 3.766 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.524/1.524, allocations: 222.9 MB / 243 MB, free: 15.08 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.2671/0.2671, allocations: 44.17 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 68.67 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1394, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003509/0.1429, allocations: 1.792 MB / 472.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1445, allocations: 0.9588 MB / 473.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.465e-05/0.1446, allocations: 7.938 kB / 473.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.1451, allocations: 303.3 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.1454, allocations: 207.4 kB / 474 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.1458, allocations: 170.6 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.1461, allocations: 243.4 kB / 474.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.1462, allocations: 13.56 kB / 474.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.1463, allocations: 123.6 kB / 474.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.1466, allocations: 195.5 kB / 474.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.1466, allocations: 4 kB / 474.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1467, allocations: 47.98 kB / 474.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.1469, allocations: 135.6 kB / 474.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.147, allocations: 142.8 kB / 475 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.1474, allocations: 366.7 kB / 475.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1474, allocations: 0 / 475.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1474, allocations: 0 / 475.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1474, allocations: 8 kB / 475.4 MB, free: 8.977 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.0009073/0.1483, allocations: 0.723 MB / 476.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1484, allocations: 8.031 kB / 476.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.038e-05/0.1484, allocations: 52.28 kB / 476.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000748/0.1492, allocations: 447.8 kB / 476.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.1492, allocations: 4.375 kB / 476.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.1492, allocations: 12.12 kB / 476.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1495, allocations: 87.34 kB / 476.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.1495, allocations: 0 / 476.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1495, allocations: 4 kB / 476.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1495, allocations: 0 / 476.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1496, allocations: 31.91 kB / 476.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.15, allocations: 374.4 kB / 477.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1503, allocations: 109.2 kB / 477.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/0.1504, allocations: 41.64 kB / 477.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.1504, allocations: 3.984 kB / 477.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.1507, allocations: 125 kB / 477.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 3.156e-06/0.1507, allocations: 0 / 477.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000455/0.1511, allocations: 193 kB / 477.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.1512, allocations: 84.98 kB / 477.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.1522, allocations: 1.034 MB / 478.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1522, allocations: 29.7 kB / 478.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1524, allocations: 236.1 kB / 479 MB, free: 5.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.1525, allocations: 27.56 kB / 479 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.1525, allocations: 29.7 kB / 479 MB, free: 5.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1527, allocations: 370.8 kB / 479.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.19e-05/0.1528, allocations: 27.98 kB / 479.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.106e-05/0.1529, allocations: 55.41 kB / 479.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1531, allocations: 87.36 kB / 479.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1531, allocations: 0 / 479.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002779/0.1533, allocations: 173 kB / 479.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1534, allocations: 4 kB / 479.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1534, allocations: 8.625 kB / 479.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1534, allocations: 4 kB / 479.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1535, allocations: 23.92 kB / 479.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1535, allocations: 0 / 479.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.838e-05/0.1536, allocations: 11.91 kB / 479.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.1537, allocations: 8 kB / 479.8 MB, free: 4.312 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.0001946/0.1539, allocations: 225.6 kB / 480 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.1539, allocations: 51.34 kB / 480 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.154, allocations: 64 kB / 480.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.154, allocations: 0 / 480.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.154, allocations: 0 / 480.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.154, allocations: 0 / 480.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.1543, allocations: 349.3 kB / 480.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1543, allocations: 0 / 480.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.1544, allocations: 8 kB / 480.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1544, allocations: 3.984 kB / 480.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1544, allocations: 8 kB / 480.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1544, allocations: 0 / 480.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1544, allocations: 0 / 480.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.1547, allocations: 205.2 kB / 480.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.1549, allocations: 132.5 kB / 480.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.1549, allocations: 11.98 kB / 480.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.155, allocations: 7.984 kB / 480.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.1551, allocations: 8.078 kB / 480.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1551, allocations: 11.94 kB / 480.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007309/0.1558, allocations: 0.7721 MB / 481.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1558, allocations: 0 / 481.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1561, allocations: 40 kB / 481.6 MB, free: 2.336 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.0009238/0.157, allocations: 412 kB / 482 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.1573, allocations: 87.83 kB / 482.1 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1573, allocations: 128 / 482.1 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.789e-05/0.1574, allocations: 39.98 kB / 482.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.1578, allocations: 91.67 kB / 482.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1589, allocations: 0.8665 MB / 483.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.1593, allocations: 0.8388 MB / 484 MB, free: 124 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1594, allocations: 63.44 kB / 484 MB, free: 64 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.057e-05/0.1595, allocations: 27.44 kB / 484.1 MB, free: 36 kB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1595, allocations: 0 / 484.1 MB, free: 36 kB / 350.1 MB Notification: Performance of Templates: time 0.007071/0.1666, allocations: 3.705 MB / 487.8 MB, free: 12.34 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches