Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 96.09 kB / 16.99 MB, free: 5.938 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.001224/0.001224, allocations: 181.5 kB / 17.87 MB, free: 5.609 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.435/1.435, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.214/0.214, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003434, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 61.92 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002109/0.1412, allocations: 1.321 MB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1427, allocations: 0.9609 MB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.1427, allocations: 4 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.143, allocations: 23.91 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.1431, allocations: 31.84 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.1435, allocations: 148.9 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1437, allocations: 55.88 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1438, allocations: 11.98 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.805e-05/0.1439, allocations: 15.88 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.144, allocations: 23.91 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.144, allocations: 4 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.983e-05/0.1441, allocations: 31.92 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.1442, allocations: 15.92 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.1442, allocations: 45.58 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.1444, allocations: 76.09 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1444, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1444, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1444, allocations: 0 / 474.2 MB, free: 10.96 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.0005111/0.1449, allocations: 391.1 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.145, allocations: 8.562 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.145, allocations: 7.906 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.1452, allocations: 198.3 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1453, allocations: 0 / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1453, allocations: 8 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1455, allocations: 79.28 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1455, allocations: 3.984 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1455, allocations: 4 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1456, allocations: 4 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.1457, allocations: 47.95 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.1462, allocations: 308.8 kB / 475.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.1464, allocations: 58.48 kB / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1464, allocations: 0 / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1464, allocations: 30.56 kB / 475.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1464, allocations: 0 / 475.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008532/0.1473, allocations: 261.3 kB / 475.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.1474, allocations: 77.11 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.1475, allocations: 143.9 kB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1475, allocations: 29.7 kB / 475.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.1476, allocations: 104 kB / 475.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1476, allocations: 19.72 kB / 476 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.1476, allocations: 0 / 476 MB, free: 9.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1478, allocations: 326.8 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1479, allocations: 39.97 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1481, allocations: 69.73 kB / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1482, allocations: 55.94 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1482, allocations: 0 / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003067/0.1485, allocations: 137.5 kB / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1485, allocations: 8 kB / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1486, allocations: 0 / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1486, allocations: 0 / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1487, allocations: 27.97 kB / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1487, allocations: 0 / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.1488, allocations: 8 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.1488, allocations: 12 kB / 476.6 MB, free: 8.312 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.000108/0.1489, allocations: 121.8 kB / 476.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.149, allocations: 15.78 kB / 476.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.1493, allocations: 158.6 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1493, allocations: 0 / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1494, allocations: 0 / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1494, allocations: 0 / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.1499, allocations: 442.3 kB / 477.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.15, allocations: 0 / 477.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.471e-05/0.15, allocations: 19.98 kB / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1501, allocations: 4 kB / 477.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1501, allocations: 4 kB / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1501, allocations: 0 / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1501, allocations: 0 / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.1504, allocations: 243.3 kB / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.1505, allocations: 89 kB / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.1505, allocations: 3.938 kB / 477.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.1506, allocations: 16 kB / 477.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.1507, allocations: 7.984 kB / 477.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1507, allocations: 4 kB / 477.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.417e-05/0.1508, allocations: 109.3 kB / 477.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1508, allocations: 4 kB / 477.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.151, allocations: 24 kB / 477.9 MB, free: 6.969 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.0009772/0.152, allocations: 437.9 kB / 478.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.1524, allocations: 111.9 kB / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1524, allocations: 0 / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.1525, allocations: 60.06 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.1528, allocations: 19.06 kB / 478.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.1532, allocations: 225.2 kB / 478.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.1535, allocations: 0.7043 MB / 479.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.605e-05/0.1536, allocations: 20.66 kB / 479.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.1536, allocations: 19.36 kB / 479.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1536, allocations: 3.938 kB / 479.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of Templates: time 0.003895/0.1575, allocations: 1.46 MB / 480.9 MB, free: 4.043 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches