Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 96.14 kB / 15.87 MB, free: 16 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.001273/0.001273, allocations: 204.5 kB / 16.79 MB, free: 6.84 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.85/1.85, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.4033/0.4033, allocations: 43.49 MB / 313.5 MB, free: 8.504 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.002077/0.002078, allocations: 71.89 kB / 382 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1618, allocations: 57.78 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003854/0.1657, allocations: 1.668 MB / 441.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000755/0.1665, allocations: 339.5 kB / 441.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.1666, allocations: 4 kB / 441.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1668, allocations: 59.84 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.167, allocations: 43.89 kB / 441.9 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.1674, allocations: 143.7 kB / 442.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1675, allocations: 75.75 kB / 442.1 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1676, allocations: 24.25 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.036e-05/0.1677, allocations: 27.92 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.1678, allocations: 43.81 kB / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1678, allocations: 0 / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.718e-05/0.1679, allocations: 32 kB / 442.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.168, allocations: 23.86 kB / 442.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.168, allocations: 35.72 kB / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1682, allocations: 87.72 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1682, allocations: 0 / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1682, allocations: 0 / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1682, allocations: 4 kB / 442.4 MB, free: 12.25 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.0005911/0.1688, allocations: 395.1 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.1689, allocations: 12.03 kB / 442.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.1689, allocations: 12.83 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.1692, allocations: 196.6 kB / 443 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1692, allocations: 8.375 kB / 443 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1692, allocations: 3.938 kB / 443 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1694, allocations: 61.61 kB / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1694, allocations: 7.984 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1695, allocations: 4 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1695, allocations: 0 / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.1696, allocations: 35.97 kB / 443.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.1701, allocations: 304.7 kB / 443.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.1702, allocations: 54.5 kB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.1703, allocations: 28.92 kB / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1703, allocations: 0 / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.1703, allocations: 30.56 kB / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.1703, allocations: 0 / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007797/0.1711, allocations: 237.1 kB / 443.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.1712, allocations: 55.34 kB / 443.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1714, allocations: 178.3 kB / 444 MB, free: 10.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1714, allocations: 25.7 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.1715, allocations: 104.1 kB / 444.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.1715, allocations: 23.66 kB / 444.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.1715, allocations: 25.64 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1717, allocations: 322.8 kB / 444.5 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.1718, allocations: 39.97 kB / 444.5 MB, free: 9.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.172, allocations: 39.97 kB / 444.6 MB, free: 9.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.1722, allocations: 88.73 kB / 444.7 MB, free: 9.785 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.1722, allocations: 4 kB / 444.7 MB, free: 9.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000283/0.1725, allocations: 125.5 kB / 444.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1725, allocations: 7.938 kB / 444.8 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1725, allocations: 4 kB / 444.8 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1726, allocations: 4 kB / 444.8 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1727, allocations: 15.98 kB / 444.8 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.1727, allocations: 7.938 kB / 444.8 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.159e-05/0.1728, allocations: 7.984 kB / 444.8 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1728, allocations: 0 / 444.8 MB, free: 9.605 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 9.329e-05/0.1729, allocations: 137.7 kB / 445 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.1729, allocations: 15.81 kB / 445 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.1733, allocations: 138.6 kB / 445.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1733, allocations: 0 / 445.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1733, allocations: 7.938 kB / 445.1 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1733, allocations: 0 / 445.1 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.1739, allocations: 414.5 kB / 445.5 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1739, allocations: 0 / 445.5 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-05/0.174, allocations: 19.98 kB / 445.5 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.174, allocations: 3.938 kB / 445.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.174, allocations: 0 / 445.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.174, allocations: 0 / 445.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.174, allocations: 288 / 445.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.1743, allocations: 223.3 kB / 445.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.229e-05/0.1744, allocations: 92.94 kB / 445.9 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1745, allocations: 0 / 445.9 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1746, allocations: 11.98 kB / 445.9 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.1746, allocations: 7.984 kB / 445.9 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.1746, allocations: 4 kB / 445.9 MB, free: 8.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.776e-05/0.1747, allocations: 131.2 kB / 446 MB, free: 8.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1747, allocations: 4 kB / 446 MB, free: 8.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.175, allocations: 23.98 kB / 446 MB, free: 8.293 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.0009154/0.1759, allocations: 399.4 kB / 446.4 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000284/0.1762, allocations: 91.84 kB / 446.5 MB, free: 7.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1762, allocations: 4 kB / 446.5 MB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.1764, allocations: 51.97 kB / 446.6 MB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.1767, allocations: 15.92 kB / 446.6 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.1774, allocations: 276 kB / 446.9 MB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.1778, allocations: 0.7043 MB / 447.6 MB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.754e-05/0.1778, allocations: 20.28 kB / 447.6 MB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.1779, allocations: 15.44 kB / 447.6 MB, free: 6.707 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1779, allocations: 3.938 kB / 447.6 MB, free: 6.703 MB / 382.1 MB Notification: Performance of Templates: time 0.004037/0.1819, allocations: 1.203 MB / 448.8 MB, free: 5.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches