Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 108.1 kB / 17.21 MB, free: 6.293 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.00171/0.00171, 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.485/1.485, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2264/0.2264, allocations: 44.18 MB / 336.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.67 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1387, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003506/0.1422, allocations: 1.921 MB / 470.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.1438, allocations: 0.9004 MB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.1439, allocations: 0 / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005012/0.1445, allocations: 251.4 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.1448, allocations: 179.5 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.1461, allocations: 0.596 MB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.1464, allocations: 271.2 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1466, allocations: 56.59 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1467, allocations: 115.5 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.1469, allocations: 179.4 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.147, allocations: 8 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1471, allocations: 47.97 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.1472, allocations: 83.69 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.09e-05/0.1473, allocations: 99.09 kB / 473.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.1476, allocations: 259 kB / 473.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1476, allocations: 0 / 473.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1476, allocations: 0 / 473.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1477, allocations: 0 / 473.5 MB, free: 9.895 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007763/0.1484, allocations: 0.5874 MB / 474 MB, free: 9.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1485, allocations: 12.03 kB / 474.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.1486, allocations: 36.47 kB / 474.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.1489, allocations: 302.3 kB / 474.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.149, allocations: 4.375 kB / 474.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.149, allocations: 8.375 kB / 474.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.1492, allocations: 105.6 kB / 474.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1492, allocations: 0 / 474.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1492, allocations: 4 kB / 474.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1493, allocations: 4 kB / 474.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.1494, allocations: 71.94 kB / 474.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.15, allocations: 456.3 kB / 475 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.1502, allocations: 70.55 kB / 475.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.221e-05/0.1502, allocations: 32.97 kB / 475.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1503, allocations: 7.984 kB / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1503, allocations: 30.56 kB / 475.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-05/0.1503, allocations: 3.984 kB / 475.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003497/0.1507, allocations: 153.1 kB / 475.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1507, allocations: 59.34 kB / 475.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/0.1513, allocations: 0.5211 MB / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1513, allocations: 25.7 kB / 475.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1515, allocations: 196.1 kB / 476.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.1515, allocations: 19.72 kB / 476.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1515, allocations: 13.72 kB / 476.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1517, allocations: 350.8 kB / 476.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.621e-05/0.1518, allocations: 23.98 kB / 476.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.1518, allocations: 27.97 kB / 476.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.152, allocations: 64.83 kB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.152, allocations: 4 kB / 476.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002095/0.1522, allocations: 129.2 kB / 476.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.1522, allocations: 4 kB / 476.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1522, allocations: 0 / 476.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1523, allocations: 0 / 476.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.1524, allocations: 19.92 kB / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1524, allocations: 0 / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/0.1524, allocations: 12.28 kB / 476.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1524, allocations: 0 / 476.8 MB, free: 6.355 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 (6): * Single equations (assignments): 6 * 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.0001501/0.1526, allocations: 177.8 kB / 476.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.1527, allocations: 35.53 kB / 477 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.153, allocations: 144.8 kB / 477.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.153, allocations: 3.938 kB / 477.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.153, allocations: 0 / 477.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.153, allocations: 0 / 477.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.1533, allocations: 285.5 kB / 477.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1533, allocations: 0 / 477.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.1534, allocations: 15.98 kB / 477.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1534, allocations: 0 / 477.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1534, allocations: 4 kB / 477.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1534, allocations: 3.938 kB / 477.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1534, allocations: 0 / 477.4 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.1537, allocations: 226.9 kB / 477.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.1537, allocations: 96.83 kB / 477.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.1538, allocations: 4 kB / 477.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.1538, allocations: 7.938 kB / 477.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.1539, allocations: 7.984 kB / 477.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1539, allocations: 0 / 477.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000391/0.1543, allocations: 399.1 kB / 478.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1543, allocations: 0 / 478.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1546, allocations: 35.84 kB / 478.2 MB, free: 4.84 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 (6): * Single equations (assignments): 6 * 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.001512/0.1561, allocations: 0.5969 MB / 478.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1563, allocations: 67.89 kB / 478.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1563, allocations: 0 / 478.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.1564, allocations: 31.98 kB / 478.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.1571, allocations: 65.44 kB / 478.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009652/0.158, allocations: 0.6909 MB / 479.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.1584, allocations: 0.7985 MB / 480.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.1585, allocations: 49.47 kB / 480.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.1586, allocations: 23.44 kB / 480.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1586, allocations: 0 / 480.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of Templates: time 0.006153/0.1648, allocations: 2.578 MB / 483.1 MB, free: 168 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches