Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 98.31 kB / 17.01 MB, free: 6.391 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.001466/0.001466, allocations: 182.2 kB / 17.89 MB, free: 5.922 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.513/1.513, allocations: 223.3 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2114/0.2114, allocations: 44.25 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.000408, allocations: 16 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002108/0.1529, allocations: 1.266 MB / 472.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008772/0.1538, allocations: 379.6 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.1539, allocations: 4 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1542, allocations: 59.84 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.1544, allocations: 55.88 kB / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.1546, allocations: 75.8 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1548, allocations: 59.81 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1549, allocations: 16.17 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.155, allocations: 27.86 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1551, allocations: 35.89 kB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1551, allocations: 0 / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/0.1552, allocations: 35.98 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.1553, allocations: 27.84 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.1553, allocations: 37.64 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1555, allocations: 67.84 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1555, allocations: 0 / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1555, allocations: 0 / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1555, allocations: 4 kB / 473.7 MB, free: 11.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005514/0.1561, allocations: 387.3 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1561, allocations: 12.56 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.1562, allocations: 7.906 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.1564, allocations: 194.8 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1564, allocations: 4 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.1564, allocations: 0 / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1566, allocations: 65.62 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1566, allocations: 0 / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1567, allocations: 0 / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.1567, allocations: 3.984 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.675e-05/0.1568, allocations: 27.98 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.1572, allocations: 292.7 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1574, allocations: 50.56 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.1574, allocations: 16.94 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.1575, allocations: 0 / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.1575, allocations: 34.56 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.635e-06/0.1575, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009995/0.1585, allocations: 261 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.1586, allocations: 55.41 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1588, allocations: 196.5 kB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1588, allocations: 25.7 kB / 475.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.1589, allocations: 104.1 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.1589, allocations: 27.56 kB / 475.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.159, allocations: 0 / 475.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1591, allocations: 330.8 kB / 475.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.593e-05/0.1592, allocations: 23.98 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/0.1593, allocations: 23.98 kB / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.744e-05/0.1593, allocations: 35.98 kB / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1593, allocations: 0 / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000201/0.1596, allocations: 113.5 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1596, allocations: 10.5 kB / 476 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1596, allocations: 4 kB / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1596, allocations: 0 / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1597, allocations: 19.98 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1597, allocations: 0 / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.1598, allocations: 4 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1598, allocations: 11.94 kB / 476 MB, free: 9.035 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.778e-05/0.1599, allocations: 125.8 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.16, allocations: 11.91 kB / 476.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.1602, allocations: 126.2 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1603, allocations: 4 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1603, allocations: 0 / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1603, allocations: 0 / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000539/0.1608, allocations: 415.3 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1608, allocations: 4 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.1609, allocations: 16 kB / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1609, allocations: 0 / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1609, allocations: 4.031 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1609, allocations: 3.984 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.161, allocations: 4 kB / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.1613, allocations: 208.7 kB / 476.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.1613, allocations: 96.91 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.1614, allocations: 3.938 kB / 477 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.1614, allocations: 8 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.1615, allocations: 4.406 kB / 477 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1615, allocations: 7.953 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.1617, allocations: 154.9 kB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1617, allocations: 0 / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1619, allocations: 20 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001218/0.1632, allocations: 454.7 kB / 477.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002503/0.1634, allocations: 79.89 kB / 477.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1634, allocations: 0 / 477.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.039e-05/0.1635, allocations: 35.92 kB / 477.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1639, allocations: 27.86 kB / 477.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006534/0.1646, allocations: 250 kB / 478 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.165, allocations: 0.7121 MB / 478.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.129e-05/0.165, allocations: 12.97 kB / 478.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.1651, allocations: 11.44 kB / 478.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1651, allocations: 0 / 478.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of Templates: time 0.003964/0.169, allocations: 1.219 MB / 480 MB, free: 5.07 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches