Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009915, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.0009008/0.0009008, allocations: 184.1 kB / 19.33 MB, free: 3.699 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 / 243 MB, free: 15.08 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.2321/0.2321, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 66.56 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1626, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.004327/0.167, allocations: 1.645 MB / 472.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.168, allocations: 447.1 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.976e-05/0.1681, allocations: 4 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.1685, allocations: 75.7 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.1688, allocations: 59.77 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.1693, allocations: 181.3 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1695, allocations: 83.81 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1697, allocations: 23.98 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.1698, allocations: 39.83 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1699, allocations: 59.75 kB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.1699, allocations: 4 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1701, allocations: 47.98 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.066e-05/0.1702, allocations: 23.92 kB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.1702, allocations: 31.75 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.1705, allocations: 111.6 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.1705, allocations: 0 / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1705, allocations: 0 / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.1705, allocations: 4 kB / 473.5 MB, free: 10.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006924/0.1712, allocations: 415 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1713, allocations: 8.031 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.799e-05/0.1714, allocations: 16.75 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1716, allocations: 204 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1716, allocations: 384 / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.1717, allocations: 8.375 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.1719, allocations: 73.72 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1719, allocations: 4 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1719, allocations: 0 / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.172, allocations: 0 / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.1721, allocations: 39.97 kB / 474.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.1727, allocations: 324.6 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.1729, allocations: 62.55 kB / 474.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.887e-05/0.173, allocations: 28.95 kB / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.1731, allocations: 0 / 474.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.1731, allocations: 30.56 kB / 474.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1731, allocations: 0 / 474.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001431/0.1745, allocations: 424.8 kB / 475.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.1746, allocations: 55.34 kB / 475.2 MB, free: 9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.1748, allocations: 205.9 kB / 475.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1749, allocations: 25.7 kB / 475.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.175, allocations: 112.1 kB / 475.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.175, allocations: 39.39 kB / 475.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.1751, allocations: 29.72 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1752, allocations: 322.8 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1754, allocations: 51.95 kB / 475.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.1755, allocations: 56.52 kB / 476 MB, free: 8.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.1757, allocations: 125.1 kB / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1757, allocations: 0 / 476.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003079/0.1761, allocations: 169.4 kB / 476.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1761, allocations: 4 kB / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1761, allocations: 0 / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.1761, allocations: 4 kB / 476.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1762, allocations: 27.92 kB / 476.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1763, allocations: 4 kB / 476.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.069e-05/0.1763, allocations: 19.89 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1763, allocations: 0 / 476.3 MB, free: 7.777 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 (11): * Single equations (assignments): 11 * 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.0001316/0.1765, allocations: 137.8 kB / 476.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1765, allocations: 11.89 kB / 476.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004037/0.1769, allocations: 191 kB / 476.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.1769, allocations: 3.938 kB / 476.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.177, allocations: 4 kB / 476.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.177, allocations: 3.938 kB / 476.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000727/0.1777, allocations: 0.4921 MB / 477.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1777, allocations: 4.062 kB / 477.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.364e-05/0.1778, allocations: 27.98 kB / 477.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.1778, allocations: 4 kB / 477.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1778, allocations: 0 / 477.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1779, allocations: 3.938 kB / 477.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.699e-06/0.1779, allocations: 7.984 kB / 477.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.1782, allocations: 265 kB / 477.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.1783, allocations: 88.92 kB / 477.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.1783, allocations: 11.98 kB / 477.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.1784, allocations: 4 kB / 477.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.1785, allocations: 11.98 kB / 477.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.1785, allocations: 4.094 kB / 477.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.1787, allocations: 172 kB / 477.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1787, allocations: 4 kB / 477.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.179, allocations: 23.98 kB / 477.8 MB, free: 6.207 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001161/0.1801, allocations: 464.5 kB / 478.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003453/0.1805, allocations: 123.9 kB / 478.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1805, allocations: 0 / 478.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.1806, allocations: 71.89 kB / 478.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.181, allocations: 39.11 kB / 478.5 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.1816, allocations: 308.1 kB / 478.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.182, allocations: 0.7197 MB / 479.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.843e-05/0.182, allocations: 32.47 kB / 479.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.1821, allocations: 19.44 kB / 479.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1821, allocations: 0 / 479.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of Templates: time 0.004627/0.1867, allocations: 1.609 MB / 481.2 MB, free: 2.973 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches