Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000798/0.0007981, allocations: 98.03 kB / 17 MB, free: 6.418 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.0008201/0.0008201, allocations: 188.6 kB / 17.89 MB, free: 5.945 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.412/1.412, allocations: 223.3 MB / 241.9 MB, free: 348 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.2178/0.2178, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003607, allocations: 13 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002808/0.1514, allocations: 1.259 MB / 472.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.1534, allocations: 0.957 MB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.1534, allocations: 0 / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.1537, allocations: 15.92 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1539, allocations: 31.91 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.1542, allocations: 79.83 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1544, allocations: 47.84 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1545, allocations: 11.98 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.675e-05/0.1546, allocations: 23.86 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1547, allocations: 23.91 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1548, allocations: 0 / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.1549, allocations: 43.98 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.155, allocations: 3.938 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.155, allocations: 33.7 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1552, allocations: 63.89 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1552, allocations: 0 / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1552, allocations: 0 / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.1552, allocations: 0 / 474.2 MB, free: 11.08 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005669/0.1558, allocations: 379.3 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1559, allocations: 8.562 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.982e-05/0.1559, allocations: 4 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1562, allocations: 186.9 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1562, allocations: 0 / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.1563, allocations: 11.95 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.1565, allocations: 59.41 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1565, allocations: 0 / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1565, allocations: 3.938 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1565, allocations: 8 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.1567, allocations: 27.97 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.1571, allocations: 264.9 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.1574, allocations: 50.56 kB / 475.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.94e-05/0.1575, allocations: 20.88 kB / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1575, allocations: 0 / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1576, allocations: 30.56 kB / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.1576, allocations: 0 / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007588/0.1583, allocations: 157.3 kB / 475.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.1584, allocations: 85.11 kB / 475.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.1587, allocations: 136.1 kB / 475.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1587, allocations: 25.7 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.1588, allocations: 96.11 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.1588, allocations: 15.75 kB / 475.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.1588, allocations: 4 kB / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.159, allocations: 330.7 kB / 476 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.705e-05/0.1591, allocations: 23.98 kB / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1593, allocations: 37.7 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.569e-05/0.1594, allocations: 19.98 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1594, allocations: 0 / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002654/0.1596, allocations: 93.55 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1597, allocations: 4 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1597, allocations: 0 / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1597, allocations: 0 / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.1598, allocations: 15.98 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1598, allocations: 0 / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.1599, allocations: 16 kB / 476.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1599, allocations: 0 / 476.2 MB, free: 8.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 (5): * Single equations (assignments): 5 * 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 0.0001151/0.16, allocations: 121.8 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.1601, allocations: 7.906 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.1604, allocations: 97.56 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1604, allocations: 0 / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1605, allocations: 0 / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1605, allocations: 4 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/0.1611, allocations: 346.8 kB / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1611, allocations: 64 / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.1612, allocations: 23.98 kB / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.1612, allocations: 0 / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1612, allocations: 3.938 kB / 476.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1612, allocations: 0 / 476.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1612, allocations: 0 / 476.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.1616, allocations: 191.7 kB / 477 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.962e-05/0.1617, allocations: 85.02 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.1617, allocations: 4 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.1619, allocations: 7.984 kB / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.1619, allocations: 7.984 kB / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1619, allocations: 0 / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.1621, allocations: 107.2 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1621, allocations: 4 kB / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004808/0.1626, allocations: 20 kB / 477.3 MB, free: 7.66 MB / 350.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 (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.001571/0.1641, allocations: 454.5 kB / 477.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.1644, allocations: 55.91 kB / 477.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/0.1644, allocations: 4 kB / 477.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1646, allocations: 23.98 kB / 477.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.165, allocations: 19.94 kB / 477.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/0.1657, allocations: 176.8 kB / 478 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.1661, allocations: 0.6887 MB / 478.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.779e-05/0.1662, allocations: 8 kB / 478.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.1662, allocations: 15.42 kB / 478.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1663, allocations: 0 / 478.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of Templates: time 0.005925/0.1722, allocations: 1.272 MB / 480 MB, free: 5.078 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches