Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009901/0.0009899, allocations: 96.94 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.0009943/0.0009945, allocations: 184.8 kB / 16.92 MB, free: 6.891 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.953/1.953, 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.4822/0.4822, allocations: 43.57 MB / 315 MB, free: 8.711 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.0005489/0.0005493, allocations: 12.52 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.163, allocations: 58.86 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002267/0.1653, allocations: 1.325 MB / 444.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1669, allocations: 0.9377 MB / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.167, allocations: 0 / 445.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.1672, allocations: 19.91 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.1674, allocations: 39.84 kB / 445.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.1678, allocations: 139.8 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.168, allocations: 67.81 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1682, allocations: 24.25 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.1682, allocations: 19.86 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.1684, allocations: 27.84 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.1684, allocations: 8 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1686, allocations: 47.97 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.1686, allocations: 15.94 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.81e-05/0.1687, allocations: 49.55 kB / 446.2 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.1689, allocations: 95.64 kB / 446.2 MB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.169, allocations: 0 / 446.2 MB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.169, allocations: 0 / 446.2 MB, free: 9.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.169, allocations: 0 / 446.2 MB, free: 9.855 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.0006519/0.1696, allocations: 387.3 kB / 446.6 MB, free: 9.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.1697, allocations: 12.03 kB / 446.6 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.1698, allocations: 8.844 kB / 446.6 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.17, allocations: 192.2 kB / 446.8 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1701, allocations: 384 / 446.8 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.1701, allocations: 4.375 kB / 446.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.1704, allocations: 87.48 kB / 446.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1704, allocations: 3.938 kB / 446.9 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.1704, allocations: 8 kB / 446.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1704, allocations: 0 / 446.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.1706, allocations: 39.97 kB / 447 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.1712, allocations: 308.7 kB / 447.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1713, allocations: 54.5 kB / 447.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.156e-05/0.1714, allocations: 40.86 kB / 447.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.1715, allocations: 0 / 447.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1715, allocations: 30.56 kB / 447.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.1715, allocations: 0 / 447.4 MB, free: 8.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008859/0.1724, allocations: 265.2 kB / 447.7 MB, free: 8.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.1725, allocations: 81.11 kB / 447.7 MB, free: 8.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1727, allocations: 129.8 kB / 447.9 MB, free: 8.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1727, allocations: 25.7 kB / 447.9 MB, free: 8.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.1728, allocations: 92.14 kB / 448 MB, free: 7.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.1729, allocations: 27.64 kB / 448 MB, free: 7.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.1729, allocations: 9.719 kB / 448 MB, free: 7.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1731, allocations: 330.8 kB / 448.3 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1732, allocations: 43.97 kB / 448.4 MB, free: 7.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1734, allocations: 61.69 kB / 448.4 MB, free: 7.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.1736, allocations: 104.8 kB / 448.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1736, allocations: 0 / 448.5 MB, free: 7.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003114/0.174, allocations: 149.5 kB / 448.7 MB, free: 7.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.174, allocations: 4 kB / 448.7 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.174, allocations: 0 / 448.7 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.174, allocations: 0 / 448.7 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1742, allocations: 23.98 kB / 448.7 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.1742, allocations: 4 kB / 448.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.1743, allocations: 15.92 kB / 448.7 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1743, allocations: 8 kB / 448.7 MB, free: 7.113 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.000106/0.1744, allocations: 125.8 kB / 448.9 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.1744, allocations: 7.906 kB / 448.9 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.1748, allocations: 153.9 kB / 449 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1748, allocations: 3.984 kB / 449 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1748, allocations: 0 / 449 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1749, allocations: 3.938 kB / 449 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.1754, allocations: 422.8 kB / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1754, allocations: 0 / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.207e-05/0.1755, allocations: 27.92 kB / 449.5 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1755, allocations: 4 kB / 449.5 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1756, allocations: 3.938 kB / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1756, allocations: 7.938 kB / 449.5 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1756, allocations: 0 / 449.5 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.1759, allocations: 235.5 kB / 449.7 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.176, allocations: 89.28 kB / 449.8 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.176, allocations: 7.938 kB / 449.8 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1762, allocations: 15.98 kB / 449.8 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.1762, allocations: 7.922 kB / 449.8 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1762, allocations: 8 kB / 449.8 MB, free: 5.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.549e-05/0.1763, allocations: 111 kB / 450 MB, free: 5.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1763, allocations: 0 / 450 MB, free: 5.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1766, allocations: 24 kB / 450 MB, free: 5.781 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.001145/0.1778, allocations: 442.7 kB / 450.4 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003525/0.1781, allocations: 103.9 kB / 450.5 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1782, allocations: 7.938 kB / 450.5 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.1783, allocations: 55.91 kB / 450.6 MB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.1787, allocations: 19.98 kB / 450.6 MB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/0.1794, allocations: 221.6 kB / 450.8 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.1799, allocations: 0.7004 MB / 451.5 MB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.962e-05/0.18, allocations: 20.3 kB / 451.5 MB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.18, allocations: 19.42 kB / 451.5 MB, free: 4.172 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.18, allocations: 0 / 451.5 MB, free: 4.172 MB / 382.1 MB Notification: Performance of Templates: time 0.005769/0.1858, allocations: 1.439 MB / 453 MB, free: 2.734 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches