Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001009, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.001226/0.001226, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.615/1.615, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2327/0.2327, allocations: 44.25 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 9.812 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1503, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002418/0.1527, allocations: 1.621 MB / 473.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1543, allocations: 0.881 MB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.1544, allocations: 3.938 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.1547, allocations: 31.83 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.1549, allocations: 47.83 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1552, allocations: 118.5 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.1555, allocations: 123.6 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1556, allocations: 29.47 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.61e-05/0.1557, allocations: 51.66 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1558, allocations: 43.72 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.1558, allocations: 11.98 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1559, allocations: 39.98 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.156, allocations: 23.92 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.674e-05/0.1561, allocations: 65.39 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.1563, allocations: 147.7 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1563, allocations: 0 / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1564, allocations: 0 / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.1564, allocations: 0 / 475.5 MB, free: 10.07 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006399/0.157, allocations: 464.6 kB / 475.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1571, allocations: 11.97 kB / 476 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.1571, allocations: 16.75 kB / 476 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.1574, allocations: 219.9 kB / 476.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1574, allocations: 384 / 476.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.1574, allocations: 20.11 kB / 476.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.1577, allocations: 104.2 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1577, allocations: 0 / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.1577, allocations: 7.984 kB / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1577, allocations: 0 / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.1579, allocations: 51.91 kB / 476.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/0.1585, allocations: 0.5126 MB / 476.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.1588, allocations: 90.66 kB / 477 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.159, allocations: 40.84 kB / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.159, allocations: 0 / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.1592, allocations: 83.31 kB / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.1592, allocations: 0 / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004016/0.1596, allocations: 153.4 kB / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.1597, allocations: 55.34 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1599, allocations: 191.5 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1599, allocations: 33.7 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.16, allocations: 115.9 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.16, allocations: 23.62 kB / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.1601, allocations: 21.7 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1602, allocations: 326.8 kB / 478 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.1603, allocations: 31.98 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.883e-05/0.1604, allocations: 64.27 kB / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.1606, allocations: 112.4 kB / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1606, allocations: 4 kB / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002569/0.1609, allocations: 137.5 kB / 478.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1609, allocations: 7.984 kB / 478.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1609, allocations: 0 / 478.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1609, allocations: 7.984 kB / 478.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.161, allocations: 23.94 kB / 478.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1611, allocations: 3.984 kB / 478.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.975e-05/0.1611, allocations: 15.97 kB / 478.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.1612, allocations: 12 kB / 478.4 MB, free: 6.871 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001076/0.1613, allocations: 128.3 kB / 478.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.1613, allocations: 15.81 kB / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.1614, allocations: 17.41 kB / 478.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1614, allocations: 3.938 kB / 478.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1614, allocations: 0 / 478.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1614, allocations: 0 / 478.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.1616, allocations: 209.6 kB / 478.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1616, allocations: 0 / 478.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-05/0.1617, allocations: 19.98 kB / 478.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1617, allocations: 0 / 478.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1617, allocations: 0 / 478.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1617, allocations: 7.938 kB / 478.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1617, allocations: 0 / 478.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.1621, allocations: 189 kB / 479 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.1622, allocations: 104.8 kB / 479.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1622, allocations: 4 kB / 479.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.1623, allocations: 11.92 kB / 479.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.1623, allocations: 7.984 kB / 479.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1624, allocations: 8 kB / 479.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1625, allocations: 137.2 kB / 479.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1625, allocations: 3.938 kB / 479.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1627, allocations: 32.19 kB / 479.3 MB, free: 5.898 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009129/0.1636, allocations: 404.8 kB / 479.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1639, allocations: 87.83 kB / 479.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.1639, allocations: 0 / 479.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.875e-05/0.164, allocations: 44.17 kB / 479.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.1643, allocations: 31.97 kB / 479.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.165, allocations: 302.2 kB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1653, allocations: 0.7164 MB / 480.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.127e-05/0.1654, allocations: 21.41 kB / 480.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.1654, allocations: 15.44 kB / 480.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1654, allocations: 4 kB / 480.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of Templates: time 0.005495/0.1709, allocations: 1.764 MB / 482.7 MB, free: 2.645 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches