Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 100.2 kB / 16.98 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.001519/0.00152, allocations: 187.6 kB / 17.88 MB, free: 5.594 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.468/1.468, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2243/0.2243, allocations: 44.22 MB / 337.1 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002948, allocations: 8 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1345, allocations: 61.92 MB / 471.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002013/0.1366, allocations: 1.278 MB / 472.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007179/0.1373, allocations: 375.6 kB / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.1374, allocations: 0 / 473.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.138, allocations: 435.2 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.1383, allocations: 243.5 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.1387, allocations: 146.7 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.1389, allocations: 119.7 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.139, allocations: 12.19 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1391, allocations: 99.78 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.1394, allocations: 147.7 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1394, allocations: 0 / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.046e-05/0.1395, allocations: 11.94 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1396, allocations: 95.67 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.1397, allocations: 65.52 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.1399, allocations: 175.8 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1399, allocations: 0 / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.14, allocations: 0 / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.14, allocations: 0 / 474.6 MB, free: 10.52 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.0007731/0.1407, allocations: 0.5991 MB / 475.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1408, allocations: 8.562 kB / 475.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.554e-05/0.1409, allocations: 51.44 kB / 475.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.1412, allocations: 279.3 kB / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1412, allocations: 0 / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1412, allocations: 0 / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.1414, allocations: 69.56 kB / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1415, allocations: 0 / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1415, allocations: 0 / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1415, allocations: 0 / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.1416, allocations: 43.97 kB / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.1422, allocations: 400.7 kB / 476 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.1424, allocations: 54.55 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1424, allocations: 0 / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1425, allocations: 34.56 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.274e-06/0.1425, allocations: 3.984 kB / 476.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003633/0.1428, allocations: 145.1 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.1429, allocations: 51.41 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.1438, allocations: 0.8613 MB / 477.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1439, allocations: 25.7 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.1441, allocations: 216 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.1441, allocations: 11.84 kB / 477.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.1441, allocations: 0 / 477.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1443, allocations: 362.8 kB / 477.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.1444, allocations: 23.98 kB / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-05/0.1444, allocations: 15.98 kB / 477.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.171e-05/0.1445, allocations: 27.98 kB / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1445, allocations: 0 / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002235/0.1448, allocations: 125 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1448, allocations: 4 kB / 478 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1448, allocations: 0 / 478 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1448, allocations: 4 kB / 478 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.1449, allocations: 15.92 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1449, allocations: 4 kB / 478 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.686e-05/0.145, allocations: 4 kB / 478 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.145, allocations: 0 / 478 MB, free: 6.906 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.0002189/0.1452, allocations: 213.8 kB / 478.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.1453, allocations: 43.48 kB / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.1456, allocations: 140.9 kB / 478.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1456, allocations: 0 / 478.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1456, allocations: 0 / 478.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1456, allocations: 0 / 478.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.146, allocations: 289.5 kB / 478.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.146, allocations: 0 / 478.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.146, allocations: 23.92 kB / 478.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.146, allocations: 3.953 kB / 478.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1461, allocations: 0 / 478.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1461, allocations: 0 / 478.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1461, allocations: 0 / 478.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1463, allocations: 211 kB / 478.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/0.1464, allocations: 108.5 kB / 479 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.1465, allocations: 11.95 kB / 479 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.1466, allocations: 11.98 kB / 479 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.1466, allocations: 0 / 479 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1466, allocations: 0 / 479 MB, free: 5.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006357/0.1473, allocations: 0.655 MB / 479.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1473, allocations: 0 / 479.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1475, allocations: 20 kB / 479.7 MB, free: 5.09 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.0008897/0.1484, allocations: 365.4 kB / 480.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.1486, allocations: 47.97 kB / 480.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1486, allocations: 0 / 480.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.1487, allocations: 27.97 kB / 480.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.149, allocations: 21.97 kB / 480.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1501, allocations: 0.8138 MB / 481 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.1505, allocations: 0.8301 MB / 481.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.563e-05/0.1506, allocations: 16.16 kB / 481.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.1506, allocations: 15.42 kB / 481.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1507, allocations: 3.938 kB / 481.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of Templates: time 0.00463/0.1553, allocations: 1.236 MB / 483.1 MB, free: 1.797 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches