Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 109.4 kB / 17.04 MB, free: 5.809 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.001027/0.001027, allocations: 195 kB / 17.98 MB, free: 5.027 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.687/1.687, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3119/0.3119, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 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.001558/0.001558, allocations: 69.28 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1608, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00334/0.1641, allocations: 1.594 MB / 443.6 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000639/0.1648, allocations: 351.5 kB / 443.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.1649, allocations: 0 / 443.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.1654, allocations: 455.1 kB / 444.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.1658, allocations: 251.5 kB / 444.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.1661, allocations: 151.2 kB / 444.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1663, allocations: 167.7 kB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1665, allocations: 28.09 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.237e-05/0.1666, allocations: 99.8 kB / 445 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.1668, allocations: 215.5 kB / 445.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1668, allocations: 4 kB / 445.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.589e-05/0.1669, allocations: 31.98 kB / 445.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.167, allocations: 83.69 kB / 445.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.167, allocations: 107 kB / 445.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.1673, allocations: 258.9 kB / 445.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1673, allocations: 0 / 445.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1673, allocations: 0 / 445.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1673, allocations: 0 / 445.7 MB, free: 2.398 MB / 318.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.0006243/0.1679, allocations: 0.6219 MB / 446.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.168, allocations: 11.89 kB / 446.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.168, allocations: 48.31 kB / 446.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.1683, allocations: 292.2 kB / 446.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1683, allocations: 12.38 kB / 446.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.1684, allocations: 384 / 446.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1686, allocations: 61.61 kB / 446.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1686, allocations: 3.938 kB / 446.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1686, allocations: 0 / 446.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1686, allocations: 0 / 446.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1687, allocations: 27.97 kB / 446.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.1692, allocations: 392.7 kB / 447.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1695, allocations: 54.48 kB / 447.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.1695, allocations: 12.86 kB / 447.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.1696, allocations: 0 / 447.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.1696, allocations: 34.66 kB / 447.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1696, allocations: 0 / 447.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006115/0.1702, allocations: 239.9 kB / 447.5 MB, free: 448 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1703, allocations: 51.41 kB / 447.6 MB, free: 384 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009323/0.1712, allocations: 0.8613 MB / 448.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1712, allocations: 29.64 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.1714, allocations: 216.1 kB / 448.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.1715, allocations: 27.64 kB / 448.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.1715, allocations: 21.72 kB / 448.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1717, allocations: 354.8 kB / 449.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-05/0.1718, allocations: 19.98 kB / 449.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1719, allocations: 27.97 kB / 449.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.172, allocations: 52.83 kB / 449.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.172, allocations: 3.938 kB / 449.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002184/0.1723, allocations: 117.2 kB / 449.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1723, allocations: 9.25 kB / 449.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1723, allocations: 256 / 449.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.1723, allocations: 3.984 kB / 449.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.1724, allocations: 12 kB / 449.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.1724, allocations: 4 kB / 449.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.1725, allocations: 11.92 kB / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1725, allocations: 7.938 kB / 449.3 MB, free: 14.57 MB / 334.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.0001948/0.1727, allocations: 213.7 kB / 449.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.1728, allocations: 43.44 kB / 449.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.1731, allocations: 145 kB / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1731, allocations: 0 / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1731, allocations: 0 / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.1731, allocations: 8.203 kB / 449.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006353/0.1738, allocations: 470.5 kB / 450.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1738, allocations: 0 / 450.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.1739, allocations: 15.98 kB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1739, allocations: 3.984 kB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1739, allocations: 3.938 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1739, allocations: 0 / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1739, allocations: 0 / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.1742, allocations: 223 kB / 450.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.1743, allocations: 104.6 kB / 450.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1743, allocations: 3.938 kB / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.1744, allocations: 4.188 kB / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.1744, allocations: 7.984 kB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.1745, allocations: 4 kB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006941/0.1752, allocations: 0.6472 MB / 451.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1752, allocations: 3.938 kB / 451.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1754, allocations: 31.98 kB / 451.2 MB, free: 12.56 MB / 334.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.0009652/0.1764, allocations: 396.1 kB / 451.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1767, allocations: 51.95 kB / 451.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1767, allocations: 0 / 451.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/0.1768, allocations: 31.92 kB / 451.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.1772, allocations: 33.64 kB / 451.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1783, allocations: 0.7835 MB / 452.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.1788, allocations: 0.828 MB / 453.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.647e-05/0.1789, allocations: 16.23 kB / 453.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.1789, allocations: 11.44 kB / 453.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1789, allocations: 0 / 453.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of Templates: time 0.00547/0.1844, allocations: 1.478 MB / 454.8 MB, free: 8.977 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches