Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2D.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 187 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.35/1.35, allocations: 205.1 MB / 222.5 MB, free: 8.465 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.001005/0.001005, allocations: 105.5 kB / 269.9 MB, free: 8.426 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.37/0.37, allocations: 43.5 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001078, allocations: 56.09 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1392, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test14): time 0.003819/0.143, allocations: 1.671 MB / 488.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1447, allocations: 0.922 MB / 489.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.1448, allocations: 0 / 489.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.1451, allocations: 15.92 kB / 489.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.1453, allocations: 39.89 kB / 489.7 MB, free: 9.863 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.1457, allocations: 103.8 kB / 489.8 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.1459, allocations: 59.78 kB / 489.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.146, allocations: 12.19 kB / 489.8 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.1461, allocations: 19.92 kB / 489.9 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1463, allocations: 35.83 kB / 489.9 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1463, allocations: 4 kB / 489.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.1464, allocations: 47.92 kB / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.1465, allocations: 19.91 kB / 490 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.1466, allocations: 19.88 kB / 490 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.1468, allocations: 99.97 kB / 490.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1468, allocations: 0 / 490.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1468, allocations: 0 / 490.1 MB, free: 9.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1468, allocations: 0 / 490.1 MB, free: 9.449 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.00055/0.1474, allocations: 387.2 kB / 490.5 MB, free: 9.023 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1474, allocations: 8.031 kB / 490.5 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.1475, allocations: 12.83 kB / 490.5 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.1477, allocations: 188.3 kB / 490.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1477, allocations: 8.312 kB / 490.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1478, allocations: 4.375 kB / 490.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.148, allocations: 71.33 kB / 490.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.148, allocations: 3.938 kB / 490.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.148, allocations: 8 kB / 490.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.148, allocations: 0 / 490.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1482, allocations: 31.97 kB / 490.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.1486, allocations: 288.8 kB / 491.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1487, allocations: 46.56 kB / 491.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/0.1488, allocations: 24.94 kB / 491.1 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1488, allocations: 0 / 491.1 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1489, allocations: 30.56 kB / 491.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1489, allocations: 4 kB / 491.2 MB, free: 8.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007571/0.1497, allocations: 205.2 kB / 491.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.1497, allocations: 77.11 kB / 491.4 MB, free: 7.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1499, allocations: 137.8 kB / 491.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1499, allocations: 29.7 kB / 491.6 MB, free: 7.707 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.15, allocations: 92.12 kB / 491.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.15, allocations: 23.56 kB / 491.7 MB, free: 7.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.1501, allocations: 25.72 kB / 491.7 MB, free: 7.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1502, allocations: 318.8 kB / 492.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1503, allocations: 35.91 kB / 492.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1504, allocations: 45.69 kB / 492.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.1506, allocations: 81.12 kB / 492.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1506, allocations: 0 / 492.2 MB, free: 7.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002581/0.1509, allocations: 105.6 kB / 492.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1509, allocations: 4 kB / 492.3 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1509, allocations: 3.938 kB / 492.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.151, allocations: 0 / 492.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1511, allocations: 27.92 kB / 492.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1511, allocations: 0 / 492.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.207e-05/0.1512, allocations: 15.92 kB / 492.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1512, allocations: 0 / 492.4 MB, free: 6.91 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 8.794e-05/0.1513, allocations: 121.8 kB / 492.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.1513, allocations: 7.906 kB / 492.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.1516, allocations: 122 kB / 492.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1516, allocations: 4 kB / 492.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1516, allocations: 0 / 492.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1517, allocations: 3.938 kB / 492.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.1522, allocations: 390.4 kB / 493 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1522, allocations: 8 kB / 493 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.228e-05/0.1523, allocations: 15.98 kB / 493 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1523, allocations: 4 kB / 493 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1523, allocations: 3.938 kB / 493 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1523, allocations: 0 / 493 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1523, allocations: 3.938 kB / 493 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.153, allocations: 0.8019 MB / 493.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.153, allocations: 81.3 kB / 493.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.1531, allocations: 0 / 493.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.1532, allocations: 15.92 kB / 493.9 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.1532, allocations: 11.97 kB / 493.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1532, allocations: 0 / 493.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.075e-05/0.1533, allocations: 107.3 kB / 494 MB, free: 5.078 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1533, allocations: 0 / 494 MB, free: 5.078 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000354/0.1537, allocations: 27.98 kB / 494.1 MB, free: 5.051 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.0009714/0.1546, allocations: 437.7 kB / 494.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.1549, allocations: 83.92 kB / 494.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1549, allocations: 0 / 494.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1551, allocations: 43.91 kB / 494.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1554, allocations: 15.94 kB / 494.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.1559, allocations: 330.7 kB / 495 MB, free: 4.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.1562, allocations: 0.6926 MB / 495.7 MB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.531e-05/0.1563, allocations: 15.98 kB / 495.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.1563, allocations: 11.44 kB / 495.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1563, allocations: 0 / 495.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of Templates: time 0.004244/0.1606, allocations: 1.455 MB / 497.1 MB, free: 1.961 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches