Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009087/0.0009087, allocations: 92.12 kB / 16.98 MB, free: 6.398 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.0008803/0.0008804, allocations: 183.7 kB / 17.87 MB, free: 5.957 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.401/1.401, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2285/0.2285, allocations: 44.23 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004035, allocations: 16.62 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1492, allocations: 61.92 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.00206/0.1513, allocations: 1.275 MB / 472.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007365/0.1521, allocations: 363.7 kB / 473.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.1522, allocations: 3.938 kB / 473.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.1527, allocations: 439.2 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.1531, allocations: 239.5 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.1534, allocations: 150.4 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.1537, allocations: 115.8 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1538, allocations: 15.97 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1539, allocations: 95.8 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.1542, allocations: 143.7 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1542, allocations: 0 / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.1543, allocations: 19.94 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.895e-05/0.1543, allocations: 79.75 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.1544, allocations: 65.45 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.1547, allocations: 179.7 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1547, allocations: 0 / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1547, allocations: 7.938 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1547, allocations: 0 / 474.6 MB, free: 10.57 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.0008526/0.1556, allocations: 0.5874 MB / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.1556, allocations: 12.03 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.1557, allocations: 43.44 kB / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.1561, allocations: 275.4 kB / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1561, allocations: 4 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.1561, allocations: 3.953 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1563, allocations: 53.69 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1563, allocations: 7.875 kB / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1563, allocations: 0 / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1563, allocations: 0 / 475.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.986e-05/0.1564, allocations: 27.98 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005397/0.157, allocations: 396.7 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.514e-05/0.1571, allocations: 34.56 kB / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.1571, allocations: 7.938 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1571, allocations: 30.56 kB / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1571, allocations: 0 / 476.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002512/0.1574, allocations: 105.3 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.1574, allocations: 55.41 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007941/0.1582, allocations: 0.8692 MB / 477.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1583, allocations: 29.7 kB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1584, allocations: 220.1 kB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.1585, allocations: 7.844 kB / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-06/0.1585, allocations: 0 / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1586, allocations: 362.8 kB / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/0.1587, allocations: 7.984 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.1587, allocations: 19.94 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.396e-05/0.1588, allocations: 19.94 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1588, allocations: 0 / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001372/0.1589, allocations: 93.22 kB / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1589, allocations: 4 kB / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1589, allocations: 3.984 kB / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.159, allocations: 8.094 kB / 477.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.159, allocations: 4 kB / 477.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.159, allocations: 0 / 477.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.1591, allocations: 4 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1591, allocations: 0 / 477.9 MB, free: 7.094 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 (2): * Single equations (assignments): 2 * 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.000183/0.1593, allocations: 214.2 kB / 478.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.1593, allocations: 43.44 kB / 478.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.1596, allocations: 116.6 kB / 478.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1596, allocations: 4 kB / 478.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1596, allocations: 3.938 kB / 478.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.1596, allocations: 7.969 kB / 478.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.1599, allocations: 277.6 kB / 478.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1599, allocations: 11.89 kB / 478.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.1599, allocations: 8 kB / 478.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1599, allocations: 0 / 478.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.16, allocations: 0 / 478.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.16, allocations: 4.031 kB / 478.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.16, allocations: 0 / 478.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.1602, allocations: 194.9 kB / 478.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.543e-05/0.1603, allocations: 112.6 kB / 478.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1603, allocations: 7.984 kB / 478.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.142e-05/0.1604, allocations: 8.031 kB / 478.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.1604, allocations: 4 kB / 478.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.1604, allocations: 0 / 478.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000595/0.161, allocations: 0.6511 MB / 479.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.161, allocations: 0 / 479.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1613, allocations: 20 kB / 479.5 MB, free: 5.324 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 (2): * Single equations (assignments): 2 * 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.0007608/0.162, allocations: 340.3 kB / 479.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.1622, allocations: 27.98 kB / 479.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1622, allocations: 0 / 479.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.796e-05/0.1622, allocations: 19.98 kB / 479.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.1625, allocations: 26.3 kB / 479.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1636, allocations: 0.8025 MB / 480.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.164, allocations: 0.8301 MB / 481.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.1641, allocations: 16.16 kB / 481.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.1641, allocations: 15.44 kB / 481.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1641, allocations: 0 / 481.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of Templates: time 0.00407/0.1682, allocations: 1.206 MB / 482.8 MB, free: 2.125 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches