Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009069/0.0009071, allocations: 97.02 kB / 16.99 MB, free: 6.402 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.001085/0.001085, allocations: 178.7 kB / 17.88 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.438/1.438, allocations: 223.2 MB / 241.8 MB, free: 376 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.2314/0.2314, allocations: 44.22 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 11.98 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.155, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.002545/0.1576, allocations: 1.314 MB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1592, allocations: 0.9453 MB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.1593, allocations: 0 / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.1595, allocations: 23.86 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.1597, allocations: 31.89 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.16, allocations: 114.4 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1602, allocations: 39.89 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1603, allocations: 16.16 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.1603, allocations: 19.92 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1605, allocations: 23.84 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1605, allocations: 4 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.076e-05/0.1606, allocations: 31.92 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.1607, allocations: 15.94 kB / 474 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.1607, allocations: 33.7 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.1609, allocations: 76.14 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1609, allocations: 3.938 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1609, allocations: 0 / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1609, allocations: 0 / 474.1 MB, free: 11.03 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.0005399/0.1614, allocations: 391 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1615, allocations: 8.562 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.1615, allocations: 15.84 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.1618, allocations: 182.1 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1618, allocations: 0 / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.1618, allocations: 8 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.162, allocations: 75.34 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.162, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1621, allocations: 4 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1621, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.1622, allocations: 43.91 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.1626, allocations: 300.7 kB / 475.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1628, allocations: 50.55 kB / 475.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.1628, allocations: 0 / 475.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1629, allocations: 30.56 kB / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1629, allocations: 4 kB / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008381/0.1637, allocations: 233.3 kB / 475.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.1638, allocations: 85.03 kB / 475.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.164, allocations: 134.1 kB / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.164, allocations: 29.7 kB / 475.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.1641, allocations: 96.08 kB / 475.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.1641, allocations: 23.7 kB / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.1641, allocations: 0 / 475.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1643, allocations: 322.8 kB / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1644, allocations: 35.97 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1646, allocations: 57.69 kB / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.1648, allocations: 48.03 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1648, allocations: 4.031 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002874/0.1651, allocations: 121.5 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1651, allocations: 8 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1651, allocations: 0 / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1651, allocations: 0 / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.1653, allocations: 27.92 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.1653, allocations: 0 / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.1654, allocations: 15.98 kB / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1654, allocations: 7.938 kB / 476.5 MB, free: 8.488 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 (7): * Single equations (assignments): 7 * 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.0001431/0.1656, allocations: 121.8 kB / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.1656, allocations: 11.89 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003892/0.166, allocations: 154.4 kB / 476.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.166, allocations: 3.938 kB / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.166, allocations: 0 / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.166, allocations: 0 / 476.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000602/0.1666, allocations: 410.5 kB / 477.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1667, allocations: 0 / 477.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.573e-05/0.1667, allocations: 23.98 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1668, allocations: 0 / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1668, allocations: 4 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1668, allocations: 0 / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1668, allocations: 7.922 kB / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.1671, allocations: 223.4 kB / 477.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.1672, allocations: 89.02 kB / 477.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.1672, allocations: 4.266 kB / 477.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.368e-05/0.1673, allocations: 12 kB / 477.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.1674, allocations: 15.97 kB / 477.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1674, allocations: 0 / 477.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.629e-05/0.1675, allocations: 114.1 kB / 477.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1675, allocations: 0 / 477.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1678, allocations: 28 kB / 477.6 MB, free: 7.188 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 (7): * Single equations (assignments): 7 * 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.001055/0.1688, allocations: 443.6 kB / 478.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.1692, allocations: 95.86 kB / 478.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1692, allocations: 4 kB / 478.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.1693, allocations: 47.97 kB / 478.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.1696, allocations: 19.94 kB / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.1701, allocations: 197.3 kB / 478.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.1705, allocations: 0.6965 MB / 479.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.882e-05/0.1706, allocations: 12.97 kB / 479.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.1706, allocations: 23.42 kB / 479.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1706, allocations: 0 / 479.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Templates: time 0.00403/0.1747, allocations: 1.425 MB / 480.6 MB, free: 4.359 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches