Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 94.66 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.001025/0.001025, allocations: 184.1 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.367/1.367, 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.2305/0.2305, allocations: 44.22 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 12 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 61.92 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002037/0.1443, allocations: 1.279 MB / 472.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007098/0.145, allocations: 355.6 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.1451, allocations: 0 / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.1456, allocations: 435.2 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1459, allocations: 239.5 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1462, allocations: 111.1 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.1465, allocations: 111.8 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1466, allocations: 8 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1467, allocations: 107.8 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.1469, allocations: 143.7 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.147, allocations: 8 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.419e-05/0.147, allocations: 15.94 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1471, allocations: 79.75 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.1472, allocations: 69.45 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.1474, allocations: 175.8 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1474, allocations: 0 / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1474, allocations: 0 / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.1474, allocations: 0 / 474.6 MB, free: 10.64 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.0007711/0.1482, allocations: 0.5991 MB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1483, allocations: 8.031 kB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.204e-05/0.1484, allocations: 43.44 kB / 475.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.1487, allocations: 271.4 kB / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1487, allocations: 0 / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1487, allocations: 7.953 kB / 475.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1489, allocations: 61.61 kB / 475.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1489, allocations: 4 kB / 475.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1489, allocations: 0 / 475.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.149, allocations: 0 / 475.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1491, allocations: 39.97 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.1496, allocations: 380.7 kB / 475.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.1497, allocations: 42.56 kB / 476 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1497, allocations: 3.938 kB / 476 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1498, allocations: 34.56 kB / 476 MB, free: 8.996 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1498, allocations: 3.938 kB / 476 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000327/0.1501, allocations: 129.3 kB / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1502, allocations: 51.41 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008024/0.151, allocations: 0.8574 MB / 477.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.151, allocations: 25.7 kB / 477.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1512, allocations: 216.1 kB / 477.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.1512, allocations: 15.75 kB / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.1512, allocations: 0 / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002473/0.1515, allocations: 358.8 kB / 477.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.1515, allocations: 19.98 kB / 477.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.386e-05/0.1516, allocations: 19.92 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.026e-05/0.1517, allocations: 23.98 kB / 477.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1517, allocations: 3.953 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001905/0.1519, allocations: 109.2 kB / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1519, allocations: 4 kB / 477.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1519, allocations: 4 kB / 477.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1519, allocations: 0 / 477.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.152, allocations: 11.98 kB / 477.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.152, allocations: 7.938 kB / 477.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.776e-05/0.1521, allocations: 7.906 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.1521, 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 (3): * Single equations (assignments): 3 * 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.0001834/0.1523, allocations: 210.3 kB / 478.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.1523, allocations: 47.81 kB / 478.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.1526, allocations: 128.9 kB / 478.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1526, allocations: 0 / 478.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.1526, allocations: 7.984 kB / 478.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1526, allocations: 0 / 478.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.1529, allocations: 289.5 kB / 478.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1529, allocations: 4 kB / 478.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.153, allocations: 11.95 kB / 478.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.153, allocations: 0 / 478.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.153, allocations: 0 / 478.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.153, allocations: 4 kB / 478.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.153, allocations: 3.984 kB / 478.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1533, allocations: 210.9 kB / 478.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.1534, allocations: 112.6 kB / 478.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.1534, allocations: 7.891 kB / 478.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.1535, allocations: 8 kB / 478.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.1535, allocations: 3.984 kB / 478.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1535, allocations: 0 / 478.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005706/0.1541, allocations: 0.6511 MB / 479.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1541, allocations: 0 / 479.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1544, allocations: 27.89 kB / 479.6 MB, free: 5.281 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 (3): * Single equations (assignments): 3 * 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.0008171/0.1552, allocations: 337.4 kB / 479.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.1554, allocations: 39.97 kB / 479.9 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1554, allocations: 4 kB / 480 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.1555, allocations: 23.92 kB / 480 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.1558, allocations: 25.95 kB / 480 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.157, allocations: 0.8021 MB / 480.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/0.1575, allocations: 0.8262 MB / 481.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.816e-05/0.1576, allocations: 4.188 kB / 481.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.1576, allocations: 15.42 kB / 481.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1576, allocations: 4 kB / 481.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of Templates: time 0.004533/0.1622, allocations: 1.238 MB / 482.9 MB, free: 2.055 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches