Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 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 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 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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008483/0.0008484, allocations: 96.16 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001018, allocations: 185.2 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.4 MB / 223.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4924/0.4924, allocations: 43.56 MB / 315 MB, free: 9.039 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005686/0.0005686, allocations: 16 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1608, allocations: 58.87 MB / 443.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002653/0.1635, allocations: 1.325 MB / 444.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1652, allocations: 0.9337 MB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.1653, allocations: 4 kB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.1655, allocations: 19.91 kB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.1658, allocations: 39.91 kB / 445.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.1662, allocations: 135.8 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.1664, allocations: 71.75 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.1666, allocations: 20.27 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.542e-05/0.1667, allocations: 19.92 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.1669, allocations: 27.84 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.167, allocations: 4 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.1672, allocations: 47.97 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.639e-05/0.1672, allocations: 15.88 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.14e-05/0.1673, allocations: 53.55 kB / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.1676, allocations: 99.64 kB / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1676, allocations: 0 / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.1676, allocations: 0 / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1676, allocations: 0 / 446.3 MB, free: 10.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008189/0.1685, allocations: 375.3 kB / 446.6 MB, free: 9.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.623e-05/0.1685, allocations: 12.03 kB / 446.6 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.1686, allocations: 8.844 kB / 446.6 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.1689, allocations: 192.2 kB / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.169, allocations: 4.375 kB / 446.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.169, allocations: 4.312 kB / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.1693, allocations: 83.5 kB / 446.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1693, allocations: 0 / 446.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.1694, allocations: 7.984 kB / 446.9 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1694, allocations: 4 kB / 446.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.1696, allocations: 43.97 kB / 447 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.1702, allocations: 308.7 kB / 447.3 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1704, allocations: 54.56 kB / 447.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.999e-05/0.1705, allocations: 28.94 kB / 447.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.1705, allocations: 11.86 kB / 447.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.1706, allocations: 34.56 kB / 447.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1706, allocations: 0 / 447.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009999/0.1716, allocations: 261.2 kB / 447.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.1717, allocations: 81.11 kB / 447.7 MB, free: 8.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.1719, allocations: 133.8 kB / 447.9 MB, free: 8.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1719, allocations: 25.7 kB / 447.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.172, allocations: 92.14 kB / 448 MB, free: 8.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.172, allocations: 27.64 kB / 448 MB, free: 8.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.1721, allocations: 9.719 kB / 448 MB, free: 8.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.1723, allocations: 326.8 kB / 448.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1724, allocations: 47.97 kB / 448.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1725, allocations: 61.62 kB / 448.4 MB, free: 7.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.1728, allocations: 104.8 kB / 448.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1728, allocations: 0 / 448.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003199/0.1731, allocations: 145.7 kB / 448.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.1732, allocations: 8 kB / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1732, allocations: 0 / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.1732, allocations: 0 / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.1734, allocations: 31.92 kB / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1734, allocations: 0 / 448.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.1735, allocations: 15.92 kB / 448.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.1735, allocations: 4 kB / 448.7 MB, free: 7.332 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001354/0.1737, allocations: 125.8 kB / 448.9 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.1737, allocations: 7.906 kB / 448.9 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.1741, allocations: 154 kB / 449 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1741, allocations: 0 / 449 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1741, allocations: 7.984 kB / 449 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1742, allocations: 3.938 kB / 449 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/0.1747, allocations: 422.4 kB / 449.5 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1747, allocations: 0 / 449.5 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.1748, allocations: 23.98 kB / 449.5 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1748, allocations: 0 / 449.5 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1749, allocations: 3.938 kB / 449.5 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1749, allocations: 0 / 449.5 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1749, allocations: 7.938 kB / 449.5 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.1752, allocations: 235.3 kB / 449.7 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.1753, allocations: 93 kB / 449.8 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.1754, allocations: 3.938 kB / 449.8 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.41e-05/0.1755, allocations: 15.98 kB / 449.8 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.1755, allocations: 4 kB / 449.8 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.1755, allocations: 4 kB / 449.8 MB, free: 6.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.509e-05/0.1756, allocations: 114.8 kB / 449.9 MB, free: 6.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1756, allocations: 0 / 449.9 MB, free: 6.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1759, allocations: 24 kB / 450 MB, free: 6.004 MB / 382.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 (7): * Single equations (assignments): 7 * 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.001105/0.177, allocations: 446.8 kB / 450.4 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.1774, allocations: 111.9 kB / 450.5 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1774, allocations: 0 / 450.5 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.1775, allocations: 60.06 kB / 450.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.1779, allocations: 27.88 kB / 450.6 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.1784, allocations: 217.6 kB / 450.8 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1787, allocations: 0.7082 MB / 451.5 MB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.047e-05/0.1788, allocations: 15.98 kB / 451.5 MB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.1789, allocations: 19.42 kB / 451.6 MB, free: 4.383 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1789, allocations: 0 / 451.6 MB, free: 4.383 MB / 382.1 MB Notification: Performance of Templates: time 0.004444/0.1833, allocations: 1.424 MB / 453 MB, free: 2.957 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches