Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001807/0.001808, allocations: 194 kB / 18.77 MB, free: 4.742 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.425/1.425, allocations: 222.9 MB / 242.4 MB, free: 13.71 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.2027/0.2027, allocations: 44.17 MB / 336.8 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 73.55 kB / 408.4 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1535, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.004564/0.1581, allocations: 1.614 MB / 470.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.1604, allocations: 1.004 MB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/0.1605, allocations: 0 / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.1608, allocations: 15.92 kB / 471.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.1612, allocations: 35.91 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.1617, allocations: 99.75 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.1619, allocations: 59.84 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1621, allocations: 4 kB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.894e-05/0.1622, allocations: 23.91 kB / 472 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.1624, allocations: 27.86 kB / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1624, allocations: 0 / 472.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.1626, allocations: 51.91 kB / 472.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.1627, allocations: 15.92 kB / 472.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.016e-05/0.1628, allocations: 15.88 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.163, allocations: 67.91 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.163, allocations: 0 / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.163, allocations: 0 / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.163, allocations: 0 / 472.2 MB, free: 11.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006252/0.1637, allocations: 375.5 kB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.1637, allocations: 16.02 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.1638, allocations: 12.84 kB / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1641, allocations: 180.2 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1641, allocations: 8.312 kB / 472.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.1641, allocations: 8.375 kB / 472.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.1644, allocations: 63.52 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1644, allocations: 0 / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.1644, allocations: 4 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1645, allocations: 0 / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1646, allocations: 19.98 kB / 472.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.1651, allocations: 292.8 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.1654, allocations: 42.5 kB / 473.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.585e-05/0.1655, allocations: 16.94 kB / 473.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.1656, allocations: 4 kB / 473.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.1656, allocations: 30.56 kB / 473.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/0.1656, allocations: 8 kB / 473.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008303/0.1665, allocations: 141.5 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.1666, allocations: 85.09 kB / 473.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1668, allocations: 137 kB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1668, allocations: 25.7 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.1669, allocations: 92.12 kB / 473.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.1669, allocations: 19.75 kB / 473.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.167, allocations: 21.7 kB / 473.8 MB, free: 9.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1671, allocations: 318.8 kB / 474.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1673, allocations: 19.98 kB / 474.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.1674, allocations: 45.62 kB / 474.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1676, allocations: 48.86 kB / 474.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1677, allocations: 0 / 474.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000297/0.168, allocations: 85.52 kB / 474.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.168, allocations: 8 kB / 474.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.168, allocations: 3.984 kB / 474.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.168, allocations: 0 / 474.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.932e-05/0.1681, allocations: 8.25 kB / 474.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.1682, allocations: 7.938 kB / 474.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.571e-05/0.1682, allocations: 7.984 kB / 474.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1682, allocations: 12 kB / 474.3 MB, free: 9.387 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001024/0.1684, allocations: 118.3 kB / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.1684, allocations: 7.906 kB / 474.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.1687, allocations: 93.61 kB / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1688, allocations: 0 / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1688, allocations: 0 / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1688, allocations: 0 / 474.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.1694, allocations: 362.4 kB / 474.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1694, allocations: 0 / 474.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.074e-05/0.1695, allocations: 15.98 kB / 474.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1695, allocations: 0 / 474.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1695, allocations: 0 / 474.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.1695, allocations: 3.938 kB / 474.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1695, allocations: 0 / 474.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.1699, allocations: 187.4 kB / 475.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.1699, allocations: 77.11 kB / 475.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.17, allocations: 8 kB / 475.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1701, allocations: 3.938 kB / 475.2 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.1702, allocations: 11.92 kB / 475.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.1702, allocations: 0 / 475.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1703, allocations: 107.3 kB / 475.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1703, allocations: 0 / 475.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004932/0.1708, allocations: 27.89 kB / 475.3 MB, free: 8.277 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001582/0.1724, allocations: 447.7 kB / 475.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002934/0.1727, allocations: 51.97 kB / 475.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1727, allocations: 0 / 475.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1729, allocations: 31.92 kB / 475.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.1734, allocations: 19.89 kB / 475.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.174, allocations: 208.9 kB / 476.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.1744, allocations: 0.6926 MB / 476.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.1744, allocations: 15.44 kB / 476.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1745, allocations: 0 / 476.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of Templates: time 0.005353/0.1798, allocations: 1.579 MB / 478.4 MB, free: 5.363 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches