Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009695/0.0009702, allocations: 92.5 kB / 17 MB, free: 6.391 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.00117/0.001171, allocations: 183.5 kB / 17.89 MB, free: 5.922 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.49/1.49, allocations: 223.3 MB / 241.9 MB, free: 14.48 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.2648/0.2648, allocations: 44.25 MB / 337.3 MB, free: 2.508 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003464, allocations: 13.33 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 61.93 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002474/0.1362, allocations: 1.306 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.138, allocations: 0.9609 MB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.444e-05/0.1382, allocations: 0 / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.1384, allocations: 31.84 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.1387, allocations: 23.92 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.1392, allocations: 122.8 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1394, allocations: 47.84 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1395, allocations: 16.17 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.415e-05/0.1396, allocations: 19.92 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.1398, allocations: 27.84 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1399, allocations: 4 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.1401, allocations: 43.97 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.1401, allocations: 11.94 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.1402, allocations: 37.69 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.1404, allocations: 59.91 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.1404, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1404, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1404, allocations: 0 / 474.3 MB, free: 10.93 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.0006934/0.1411, allocations: 395.3 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.1412, allocations: 12.5 kB / 474.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.1413, allocations: 4 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.1415, allocations: 186.9 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1415, allocations: 4 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.1416, allocations: 3.953 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.1419, allocations: 79.39 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.1419, allocations: 4 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.1419, allocations: 11.92 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1419, allocations: 0 / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.1421, allocations: 39.97 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.1426, allocations: 288.8 kB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1427, allocations: 42.56 kB / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.458e-05/0.1428, allocations: 32.88 kB / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.1428, allocations: 4 kB / 475.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1429, allocations: 34.55 kB / 475.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.1429, allocations: 0 / 475.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008367/0.1437, allocations: 241.3 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.1438, allocations: 77.11 kB / 475.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.1439, allocations: 136.7 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.144, allocations: 25.7 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.1441, allocations: 100 kB / 476 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1441, allocations: 19.66 kB / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.1441, allocations: 4 kB / 476 MB, free: 9.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1442, allocations: 322.8 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1444, allocations: 47.97 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.1445, allocations: 49.69 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.1446, allocations: 44.02 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1446, allocations: 0 / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002741/0.1449, allocations: 137.7 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1449, allocations: 8 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1449, allocations: 0 / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.145, allocations: 0 / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1451, allocations: 27.97 kB / 476.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1451, allocations: 4 kB / 476.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.1452, allocations: 8 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1452, allocations: 4 kB / 476.7 MB, free: 8.352 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.0001154/0.1454, allocations: 125.7 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.1454, allocations: 7.906 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/0.1458, allocations: 137.9 kB / 476.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1458, allocations: 4 kB / 476.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1458, allocations: 0 / 476.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1458, allocations: 3.938 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.1464, allocations: 402.5 kB / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1464, allocations: 4 kB / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.808e-05/0.1465, allocations: 27.92 kB / 477.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1465, allocations: 0 / 477.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1465, allocations: 0 / 477.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.1465, allocations: 4 kB / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1465, allocations: 0 / 477.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.1469, allocations: 227.3 kB / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.147, allocations: 85.02 kB / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.147, allocations: 0 / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1471, allocations: 19.98 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.1472, allocations: 7.984 kB / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1472, allocations: 0 / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.964e-05/0.1473, allocations: 103.3 kB / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.1473, allocations: 0 / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1476, allocations: 27.94 kB / 477.8 MB, free: 7.082 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.001201/0.1488, allocations: 457.4 kB / 478.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003418/0.1492, allocations: 95.94 kB / 478.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1492, allocations: 0 / 478.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.1493, allocations: 51.91 kB / 478.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1497, allocations: 26.28 kB / 478.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.1502, allocations: 185.3 kB / 478.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.1506, allocations: 0.7004 MB / 479.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.294e-05/0.1507, allocations: 11.95 kB / 479.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.1507, allocations: 19.42 kB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1507, allocations: 0 / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of Templates: time 0.004645/0.1554, allocations: 1.386 MB / 480.7 MB, free: 4.293 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches