Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001205, 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.348/1.348, 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.001226/0.001226, allocations: 92.91 kB / 269.9 MB, free: 8.441 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.3981/0.3981, allocations: 43.49 MB / 360.7 MB, free: 51.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 51.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.138, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.003887/0.142, allocations: 1.667 MB / 488.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007772/0.1428, allocations: 319.6 kB / 489 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.1429, allocations: 8 kB / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005766/0.1435, allocations: 455.1 kB / 489.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.1439, allocations: 235.6 kB / 489.7 MB, free: 9.863 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.1443, allocations: 107.8 kB / 489.8 MB, free: 9.758 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.1447, allocations: 155.7 kB / 489.9 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1448, allocations: 12.17 kB / 489.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.145, allocations: 99.78 kB / 490 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.1452, allocations: 207.6 kB / 490.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.1453, allocations: 0 / 490.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1454, allocations: 35.98 kB / 490.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.1455, allocations: 87.61 kB / 490.4 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.423e-05/0.1456, allocations: 99 kB / 490.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.1459, allocations: 239.3 kB / 490.7 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1459, allocations: 0 / 490.7 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1459, allocations: 0 / 490.7 MB, free: 8.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.146, allocations: 0 / 490.7 MB, free: 8.84 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.0008935/0.1469, allocations: 0.6336 MB / 491.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.1469, allocations: 8.031 kB / 491.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.833e-05/0.147, allocations: 40.47 kB / 491.4 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.1474, allocations: 300.1 kB / 491.7 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1474, allocations: 384 / 491.7 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.1475, allocations: 4.375 kB / 491.7 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1477, allocations: 53.62 kB / 491.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1477, allocations: 0 / 491.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1477, allocations: 0 / 491.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1477, allocations: 4 kB / 491.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.1478, allocations: 27.97 kB / 491.8 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.1485, allocations: 388.6 kB / 492.1 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.1487, allocations: 46.55 kB / 492.2 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.1488, allocations: 16.86 kB / 492.2 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1488, allocations: 0 / 492.2 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.1489, allocations: 38.64 kB / 492.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1489, allocations: 0 / 492.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006925/0.1496, allocations: 223.9 kB / 492.5 MB, free: 6.906 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1496, allocations: 51.41 kB / 492.5 MB, free: 6.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000804/0.1504, allocations: 0.8613 MB / 493.4 MB, free: 5.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.1505, allocations: 25.7 kB / 493.4 MB, free: 5.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.1506, allocations: 220.1 kB / 493.6 MB, free: 5.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1507, allocations: 19.75 kB / 493.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.1507, allocations: 13.72 kB / 493.6 MB, free: 5.684 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1509, allocations: 362.8 kB / 494 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.442e-05/0.1509, allocations: 19.98 kB / 494 MB, free: 5.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.626e-05/0.151, allocations: 19.98 kB / 494 MB, free: 5.281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.1511, allocations: 48.97 kB / 494.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1512, allocations: 0 / 494.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002111/0.1514, allocations: 121.1 kB / 494.2 MB, free: 5.105 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1514, allocations: 7.938 kB / 494.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1514, allocations: 0 / 494.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1514, allocations: 0 / 494.2 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.1515, allocations: 19.94 kB / 494.2 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1515, allocations: 0 / 494.2 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.1516, allocations: 11.92 kB / 494.2 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1516, allocations: 0 / 494.2 MB, free: 5.066 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 (5): * Single equations (assignments): 5 * 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.0001919/0.1518, allocations: 213.8 kB / 494.4 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.1519, allocations: 39.53 kB / 494.5 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.1522, allocations: 140.9 kB / 494.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1522, allocations: 0 / 494.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1522, allocations: 0 / 494.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1522, allocations: 3.938 kB / 494.6 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.1527, allocations: 454.4 kB / 495.1 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1528, allocations: 0 / 495.1 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.1528, allocations: 15.98 kB / 495.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1528, allocations: 0 / 495.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1529, allocations: 7.938 kB / 495.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1529, allocations: 0 / 495.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1529, allocations: 192 / 495.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.1535, allocations: 0.8635 MB / 496 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/0.1536, allocations: 108.6 kB / 496.1 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1536, allocations: 4 kB / 496.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.1537, allocations: 11.98 kB / 496.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.1538, allocations: 0 / 496.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1538, allocations: 3.938 kB / 496.1 MB, free: 3.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005763/0.1544, allocations: 0.6511 MB / 496.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1544, allocations: 0 / 496.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003428/0.1547, allocations: 24 kB / 496.8 MB, free: 2.395 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 (5): * Single equations (assignments): 5 * 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.0008845/0.1556, allocations: 414.2 kB / 497.2 MB, free: 2.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1558, allocations: 43.97 kB / 497.2 MB, free: 1.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1558, allocations: 0 / 497.2 MB, free: 1.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.456e-05/0.1559, allocations: 27.92 kB / 497.2 MB, free: 1.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.1563, allocations: 26.5 kB / 497.3 MB, free: 1.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.1575, allocations: 0.9677 MB / 498.2 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.1579, allocations: 0.8145 MB / 499 MB, free: 84 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.613e-05/0.158, allocations: 19.83 kB / 499.1 MB, free: 64 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.158, allocations: 15.44 kB / 499.1 MB, free: 52 kB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1581, allocations: 3.938 kB / 499.1 MB, free: 48 kB / 378.7 MB Notification: Performance of Templates: time 0.005772/0.1638, allocations: 1.409 MB / 0.4888 GB, free: 14.64 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches