Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 108.7 kB / 269.9 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3899/0.3899, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 51.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.129, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.0033/0.1324, allocations: 1.675 MB / 488.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1342, allocations: 0.9181 MB / 489.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.802e-05/0.1343, allocations: 0 / 489.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.1347, allocations: 15.92 kB / 489.6 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.135, allocations: 35.84 kB / 489.7 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.1355, allocations: 103.8 kB / 489.8 MB, free: 9.777 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1357, allocations: 55.84 kB / 489.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1358, allocations: 20.16 kB / 489.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.1359, allocations: 23.86 kB / 489.9 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1361, allocations: 31.84 kB / 489.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1361, allocations: 8 kB / 489.9 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.1363, allocations: 43.98 kB / 489.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.1364, allocations: 15.92 kB / 490 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.1364, allocations: 23.84 kB / 490 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1367, allocations: 96 kB / 490.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1367, allocations: 0 / 490.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1367, allocations: 0 / 490.1 MB, free: 9.465 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1367, allocations: 0 / 490.1 MB, free: 9.465 MB / 378.7 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.000648/0.1374, allocations: 391.1 kB / 490.5 MB, free: 9.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.1375, allocations: 16.03 kB / 490.5 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.1375, allocations: 4.844 kB / 490.5 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.1378, allocations: 188.3 kB / 490.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1378, allocations: 384 / 490.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1378, allocations: 4.375 kB / 490.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1381, allocations: 79.31 kB / 490.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.1381, allocations: 7.938 kB / 490.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1381, allocations: 0 / 490.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1381, allocations: 4 kB / 490.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1383, allocations: 35.91 kB / 490.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.1387, allocations: 276.8 kB / 491.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.1389, allocations: 50.53 kB / 491.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.23e-05/0.1389, allocations: 24.94 kB / 491.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.139, allocations: 0 / 491.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.139, allocations: 42.5 kB / 491.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.139, allocations: 0 / 491.2 MB, free: 8.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008211/0.1398, allocations: 205.2 kB / 491.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.14, allocations: 77.11 kB / 491.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1402, allocations: 137.8 kB / 491.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1402, allocations: 25.7 kB / 491.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.1403, allocations: 96.12 kB / 491.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.1403, allocations: 23.56 kB / 491.7 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.1404, allocations: 29.7 kB / 491.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1406, allocations: 310.8 kB / 492.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1407, allocations: 35.97 kB / 492.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1408, allocations: 41.69 kB / 492.1 MB, free: 7.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.1411, allocations: 85.05 kB / 492.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1411, allocations: 0 / 492.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002978/0.1414, allocations: 109.6 kB / 492.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1414, allocations: 4 kB / 492.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1414, allocations: 7.938 kB / 492.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1414, allocations: 4 kB / 492.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1416, allocations: 19.98 kB / 492.4 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1416, allocations: 0 / 492.4 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.656e-05/0.1416, allocations: 15.92 kB / 492.4 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1417, allocations: 0 / 492.4 MB, free: 6.918 MB / 378.7 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 0.0001204/0.1418, allocations: 121.8 kB / 492.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.1418, allocations: 7.906 kB / 492.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.1422, allocations: 129.9 kB / 492.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1422, allocations: 0 / 492.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1422, allocations: 0 / 492.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1422, allocations: 3.938 kB / 492.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.1428, allocations: 386.4 kB / 493 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.1428, allocations: 0 / 493 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-05/0.1429, allocations: 23.92 kB / 493 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1429, allocations: 7.984 kB / 493 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.1429, allocations: 3.938 kB / 493 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1429, allocations: 0 / 493 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1429, allocations: 3.938 kB / 493 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007217/0.1436, allocations: 0.7941 MB / 493.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.1437, allocations: 81.02 kB / 493.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.1437, allocations: 4 kB / 493.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.1438, allocations: 11.98 kB / 493.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-05/0.1439, allocations: 4 kB / 493.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.1439, allocations: 3.984 kB / 493.9 MB, free: 5.199 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.774e-05/0.144, allocations: 107.3 kB / 494 MB, free: 5.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.144, allocations: 0 / 494 MB, free: 5.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003566/0.1444, allocations: 20 kB / 494.1 MB, free: 5.074 MB / 378.7 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.001009/0.1454, allocations: 450.4 kB / 494.5 MB, free: 4.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000301/0.1457, allocations: 83.88 kB / 494.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1457, allocations: 0 / 494.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.1459, allocations: 35.97 kB / 494.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.1463, allocations: 19.92 kB / 494.6 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.1469, allocations: 338.6 kB / 495 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1472, allocations: 0.6926 MB / 495.7 MB, free: 3.453 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.002e-05/0.1473, allocations: 16 kB / 495.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.1473, allocations: 19.42 kB / 495.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1474, allocations: 0 / 495.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of Templates: time 0.004952/0.1523, allocations: 1.447 MB / 497.1 MB, free: 1.969 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches