Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001404/0.001404, allocations: 194 kB / 18.12 MB, free: 5.383 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.444/1.444, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2266/0.2266, allocations: 44.18 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 69.12 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1487, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.004166/0.1529, allocations: 1.629 MB / 470.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009695/0.1539, allocations: 407.3 kB / 470.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.154, allocations: 4 kB / 470.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.1545, allocations: 115.7 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.1547, allocations: 83.72 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.155, allocations: 79.83 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.1553, allocations: 83.86 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.1554, allocations: 12.19 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.151e-05/0.1555, allocations: 51.77 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1557, allocations: 75.84 kB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1557, allocations: 3.938 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.1558, allocations: 43.98 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.1558, allocations: 27.91 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.1559, allocations: 31.69 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1561, allocations: 108 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1561, allocations: 4 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1561, allocations: 3.938 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1561, allocations: 0 / 471.3 MB, free: 12.09 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.0005854/0.1567, allocations: 430.8 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1568, allocations: 8.031 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.1568, allocations: 12.84 kB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.157, allocations: 207.9 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.157, allocations: 4.375 kB / 471.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.1571, allocations: 384 / 471.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1572, allocations: 57.62 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1573, allocations: 3.984 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1573, allocations: 4 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1573, allocations: 0 / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1574, allocations: 31.91 kB / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.1578, allocations: 308.7 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.158, allocations: 46.56 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.158, allocations: 16.94 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.1581, allocations: 0 / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1581, allocations: 38.5 kB / 472.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1581, allocations: 0 / 472.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009033/0.159, allocations: 217 kB / 472.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1591, allocations: 55.41 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.1594, allocations: 278.1 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1594, allocations: 29.7 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.1596, allocations: 112 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.1596, allocations: 31.64 kB / 473.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.1597, allocations: 21.72 kB / 473.1 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1599, allocations: 322.8 kB / 473.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.16, allocations: 23.98 kB / 473.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.16, allocations: 32.03 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1602, allocations: 60.86 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1602, allocations: 4 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001986/0.1604, allocations: 109.4 kB / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1604, allocations: 10.34 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1604, allocations: 0 / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1605, allocations: 0 / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1606, allocations: 15.98 kB / 473.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1606, allocations: 7.938 kB / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.1607, allocations: 0 / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1607, allocations: 4 kB / 473.7 MB, free: 9.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.1608, allocations: 138.4 kB / 473.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.1608, allocations: 19.73 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.1611, allocations: 115.1 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1611, allocations: 0 / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.1612, allocations: 7.922 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1612, allocations: 4 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.1617, allocations: 407.3 kB / 474.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1618, allocations: 4 kB / 474.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.558e-05/0.1618, allocations: 19.92 kB / 474.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1618, allocations: 0 / 474.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1619, allocations: 4 kB / 474.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1619, allocations: 3.938 kB / 474.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1619, allocations: 4 kB / 474.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.1621, allocations: 209 kB / 474.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.1622, allocations: 92.86 kB / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1622, allocations: 4 kB / 474.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.1623, allocations: 4 kB / 474.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.1623, allocations: 19.91 kB / 474.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1624, allocations: 4 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.1625, allocations: 199.2 kB / 474.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1626, allocations: 0 / 474.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1628, allocations: 19.98 kB / 475 MB, free: 8.051 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 (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.001083/0.1639, allocations: 461.6 kB / 475.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.1641, allocations: 55.97 kB / 475.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1641, allocations: 4 kB / 475.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.242e-05/0.1642, allocations: 43.89 kB / 475.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1646, allocations: 15.94 kB / 475.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.1653, allocations: 333.2 kB / 475.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1656, allocations: 0.7199 MB / 476.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.706e-05/0.1657, allocations: 8.984 kB / 476.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.1658, allocations: 11.44 kB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1658, allocations: 0 / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of Templates: time 0.004412/0.1702, allocations: 1.298 MB / 477.9 MB, free: 5.234 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches