Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001044, allocations: 94.05 kB / 17.35 MB, free: 6.344 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.001213/0.001213, allocations: 168.9 kB / 18.25 MB, free: 5.508 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.515/1.515, allocations: 223.3 MB / 242.3 MB, free: 192 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.2128/0.2128, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004512, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1446, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.001981/0.1466, allocations: 1.333 MB / 473.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1481, allocations: 1.004 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.51e-05/0.1482, allocations: 0 / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.1483, allocations: 15.92 kB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.1485, allocations: 31.91 kB / 474.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.1488, allocations: 131.6 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.149, allocations: 59.78 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.1491, allocations: 8.188 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.586e-05/0.1491, allocations: 15.92 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1493, allocations: 31.84 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1493, allocations: 0 / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1494, allocations: 55.91 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.1495, allocations: 19.92 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.1495, allocations: 45.56 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1497, allocations: 87.77 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1497, allocations: 0 / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1497, allocations: 0 / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1497, allocations: 0 / 475.1 MB, free: 10.48 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.0004832/0.1502, allocations: 385.8 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1503, allocations: 8.031 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.1503, allocations: 8.938 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1505, allocations: 200 kB / 475.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1505, allocations: 384 / 475.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.1505, allocations: 4.375 kB / 475.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1507, allocations: 75.33 kB / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1508, allocations: 0 / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1508, allocations: 0 / 475.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1508, allocations: 4 kB / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.1509, allocations: 43.97 kB / 475.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.1513, allocations: 292.8 kB / 476.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1515, allocations: 46.56 kB / 476.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.131e-05/0.1516, allocations: 24.94 kB / 476.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.1516, allocations: 7.938 kB / 476.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1517, allocations: 34.56 kB / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1517, allocations: 0 / 476.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008241/0.1525, allocations: 237.2 kB / 476.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.1526, allocations: 81.11 kB / 476.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1527, allocations: 144.6 kB / 476.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1527, allocations: 25.7 kB / 476.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.1528, allocations: 92.14 kB / 476.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.1528, allocations: 23.64 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.1529, allocations: 13.72 kB / 476.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.153, allocations: 330.8 kB / 477.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1531, allocations: 39.97 kB / 477.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1533, allocations: 53.69 kB / 477.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.1535, allocations: 93.06 kB / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1535, allocations: 0 / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003027/0.1538, allocations: 133.6 kB / 477.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1538, allocations: 6.656 kB / 477.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1539, allocations: 0 / 477.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1539, allocations: 0 / 477.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.154, allocations: 31.92 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.154, allocations: 4 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.1541, allocations: 15.92 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1541, allocations: 4 kB / 477.5 MB, free: 7.832 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.951e-05/0.1542, allocations: 114.4 kB / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.1542, allocations: 7.906 kB / 477.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.1546, allocations: 141.9 kB / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1546, allocations: 288 / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1546, allocations: 11.92 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1546, allocations: 7.922 kB / 477.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.1552, allocations: 402.5 kB / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1552, allocations: 0 / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.818e-05/0.1553, allocations: 19.98 kB / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1553, allocations: 4 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1553, allocations: 3.938 kB / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1553, allocations: 0 / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1553, allocations: 0 / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.1557, allocations: 223.3 kB / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.1558, allocations: 97 kB / 478.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.1558, allocations: 3.938 kB / 478.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-05/0.1559, allocations: 11.98 kB / 478.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.156, allocations: 4 kB / 478.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.156, allocations: 8 kB / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.107e-05/0.156, allocations: 103.2 kB / 478.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.156, allocations: 0 / 478.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1563, allocations: 28 kB / 478.7 MB, free: 6.559 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 (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.001019/0.1574, allocations: 442.7 kB / 479.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.1577, allocations: 95.88 kB / 479.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1577, allocations: 0 / 479.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1579, allocations: 59.95 kB / 479.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1582, allocations: 15.98 kB / 479.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.1588, allocations: 201.1 kB / 479.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1591, allocations: 0.7005 MB / 480.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.359e-05/0.1592, allocations: 15.94 kB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.1592, allocations: 11.44 kB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1592, allocations: 0 / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of Templates: time 0.004251/0.1635, allocations: 1.411 MB / 481.6 MB, free: 3.742 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches