Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, 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.403/1.403, 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.001048/0.001048, allocations: 112 kB / 269.9 MB, free: 8.418 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.3996/0.3996, allocations: 43.49 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 55.92 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1443, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test25): time 0.00407/0.1485, allocations: 1.679 MB / 488.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008008/0.1493, allocations: 315.6 kB / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.1494, allocations: 0 / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.1497, allocations: 47.83 kB / 489 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.1499, allocations: 47.88 kB / 489.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.1503, allocations: 99.75 kB / 489.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.1505, allocations: 71.75 kB / 489.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1507, allocations: 12.19 kB / 489.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.845e-05/0.1507, allocations: 27.92 kB / 489.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.1508, allocations: 39.83 kB / 489.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.1509, allocations: 4 kB / 489.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.151, allocations: 31.98 kB / 489.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.1511, allocations: 19.92 kB / 489.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.1511, allocations: 23.81 kB / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.1513, allocations: 87.92 kB / 489.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.1513, allocations: 4 kB / 489.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1513, allocations: 0 / 489.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1514, allocations: 0 / 489.5 MB, free: 10.03 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.0005831/0.1519, allocations: 399.1 kB / 489.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.152, allocations: 8.031 kB / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.1521, allocations: 8.844 kB / 489.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1523, allocations: 188.2 kB / 490.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1523, allocations: 4.375 kB / 490.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1523, allocations: 384 / 490.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1525, allocations: 65.55 kB / 490.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1525, allocations: 0 / 490.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1526, allocations: 7.984 kB / 490.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1526, allocations: 4 kB / 490.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.1527, allocations: 39.95 kB / 490.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.1532, allocations: 280.8 kB / 490.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1533, allocations: 50.48 kB / 490.5 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.1534, allocations: 24.94 kB / 490.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1534, allocations: 0 / 490.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1534, allocations: 34.56 kB / 490.6 MB, free: 8.777 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1535, allocations: 0 / 490.6 MB, free: 8.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008366/0.1543, allocations: 205.2 kB / 490.8 MB, free: 8.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1544, allocations: 55.41 kB / 490.8 MB, free: 8.504 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.1546, allocations: 177 kB / 491 MB, free: 8.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1546, allocations: 25.7 kB / 491 MB, free: 8.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.1547, allocations: 100 kB / 491.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.1547, allocations: 31.7 kB / 491.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.1548, allocations: 21.72 kB / 491.2 MB, free: 8.133 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1549, allocations: 322.8 kB / 491.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1551, allocations: 27.97 kB / 491.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-05/0.1552, allocations: 27.98 kB / 491.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.1554, allocations: 88.67 kB / 491.6 MB, free: 7.664 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1554, allocations: 4 kB / 491.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002677/0.1557, allocations: 109.8 kB / 491.8 MB, free: 7.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.1557, allocations: 7.938 kB / 491.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1557, allocations: 0 / 491.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1557, allocations: 0 / 491.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1559, allocations: 19.98 kB / 491.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1559, allocations: 4 kB / 491.8 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.156, allocations: 19.92 kB / 491.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.156, allocations: 0 / 491.8 MB, free: 7.496 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.0001184/0.1561, allocations: 121.8 kB / 491.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.1561, allocations: 11.84 kB / 491.9 MB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.1565, allocations: 126.3 kB / 492.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1565, allocations: 4 kB / 492.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1565, allocations: 3.984 kB / 492.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1565, allocations: 3.938 kB / 492.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.157, allocations: 378.5 kB / 492.4 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.157, allocations: 3.984 kB / 492.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.181e-05/0.1571, allocations: 23.98 kB / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1571, allocations: 0 / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1572, allocations: 3.938 kB / 492.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1572, allocations: 0 / 492.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1572, allocations: 4 kB / 492.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006918/0.1579, allocations: 0.8018 MB / 493.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.1579, allocations: 81.02 kB / 493.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.158, allocations: 4 kB / 493.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.1581, allocations: 11.98 kB / 493.4 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.1581, allocations: 7.984 kB / 493.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1581, allocations: 0 / 493.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1582, allocations: 131.2 kB / 493.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1582, allocations: 0 / 493.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003338/0.1586, allocations: 20 kB / 493.5 MB, free: 5.625 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.0009115/0.1595, allocations: 406.5 kB / 493.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.1598, allocations: 83.92 kB / 494 MB, free: 5.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1598, allocations: 4 kB / 494 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.1599, allocations: 35.97 kB / 494 MB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1603, allocations: 24.47 kB / 494.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.1609, allocations: 358.5 kB / 494.4 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1612, allocations: 0.7004 MB / 495.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.408e-05/0.1613, allocations: 8.297 kB / 495.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.1613, allocations: 23.38 kB / 495.2 MB, free: 3.973 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1613, allocations: 4 kB / 495.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of Templates: time 0.004056/0.1654, allocations: 1.167 MB / 496.3 MB, free: 2.801 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches