Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009322/0.000932, allocations: 95.62 kB / 16.98 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.001167/0.001168, 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.385/1.385, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2615/0.2615, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 8.812 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1341, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002659/0.1368, allocations: 1.314 MB / 472.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1385, allocations: 0.9453 MB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.1385, allocations: 0 / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.1388, allocations: 19.91 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.139, allocations: 35.84 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.1393, allocations: 118.2 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1394, allocations: 31.91 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1395, allocations: 16.17 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.136e-05/0.1396, allocations: 19.91 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.1397, allocations: 23.86 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1397, allocations: 11.94 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.865e-05/0.1398, allocations: 31.92 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.1399, allocations: 15.92 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.1399, allocations: 29.7 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1401, allocations: 72.17 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1401, allocations: 0 / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1401, allocations: 0 / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1401, allocations: 0 / 474.1 MB, free: 11.02 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.0005059/0.1406, allocations: 395 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1407, allocations: 16.5 kB / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.1407, allocations: 7.906 kB / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1409, allocations: 179 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.141, allocations: 3.984 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.141, allocations: 0 / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1412, allocations: 83.34 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1412, allocations: 0 / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1412, allocations: 4 kB / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1412, allocations: 0 / 474.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1414, allocations: 43.91 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.1417, allocations: 296.7 kB / 475.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1419, allocations: 46.56 kB / 475.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1419, allocations: 4.078 kB / 475.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1419, allocations: 30.56 kB / 475.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1419, allocations: 7.938 kB / 475.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007624/0.1427, allocations: 233.4 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.1428, allocations: 81.05 kB / 475.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1429, allocations: 142.1 kB / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.143, allocations: 25.7 kB / 475.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.143, allocations: 96.08 kB / 475.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.143, allocations: 23.7 kB / 475.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.1431, allocations: 0 / 475.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1432, allocations: 318.8 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1433, allocations: 43.97 kB / 476.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1434, allocations: 53.69 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1436, allocations: 48 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1436, allocations: 0 / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002653/0.1438, allocations: 121.5 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1439, allocations: 8 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1439, allocations: 0 / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1439, allocations: 3.938 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.144, allocations: 19.98 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1441, allocations: 8 kB / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.535e-05/0.1441, allocations: 19.92 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1441, allocations: 4 kB / 476.5 MB, free: 8.473 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 9.692e-05/0.1442, allocations: 121.8 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.1443, allocations: 11.84 kB / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.1446, allocations: 158.4 kB / 476.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.1446, allocations: 3.984 kB / 476.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1446, allocations: 0 / 476.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1446, allocations: 288 / 476.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.1451, allocations: 406.5 kB / 477.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1452, allocations: 0 / 477.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.049e-05/0.1452, allocations: 23.98 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1453, allocations: 4 kB / 477.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1453, allocations: 3.984 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1453, allocations: 3.938 kB / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1453, allocations: 0 / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.1456, allocations: 227.3 kB / 477.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.1457, allocations: 89.02 kB / 477.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.1457, allocations: 0 / 477.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.221e-05/0.1458, allocations: 19.98 kB / 477.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.1458, allocations: 3.984 kB / 477.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1458, allocations: 4 kB / 477.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.444e-05/0.1459, allocations: 113.8 kB / 477.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1459, allocations: 0 / 477.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1462, allocations: 24 kB / 477.6 MB, free: 7.176 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.0009794/0.1472, allocations: 446.8 kB / 478.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.1475, allocations: 95.88 kB / 478.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1475, allocations: 0 / 478.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.1476, allocations: 47.97 kB / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.1479, allocations: 19.94 kB / 478.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.1483, allocations: 193.3 kB / 478.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1486, allocations: 0.7004 MB / 479.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.895e-05/0.1486, allocations: 16.97 kB / 479.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.1487, allocations: 19.42 kB / 479.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1487, allocations: 0 / 479.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of Templates: time 0.003828/0.1525, allocations: 1.425 MB / 480.6 MB, free: 4.348 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches