Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17") translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001135, 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.408/1.408, 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.0009812/0.0009813, allocations: 107.3 kB / 269.9 MB, free: 8.434 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.3807/0.3807, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 51.92 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1259, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.003212/0.1291, allocations: 1.693 MB / 488.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007695/0.1299, allocations: 0.6643 MB / 489.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.13, allocations: 0 / 489.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.1302, allocations: 19.97 kB / 489.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.1304, allocations: 43.83 kB / 489.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.1304, allocations: 0 / 489.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1305, allocations: 47.89 kB / 489.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.1306, allocations: 4 kB / 489.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.198e-05/0.1306, allocations: 11.92 kB / 489.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.1307, allocations: 15.92 kB / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.1307, allocations: 0 / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.263e-05/0.1308, allocations: 8 kB / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.1308, allocations: 23.91 kB / 489.5 MB, free: 9.992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.1308, allocations: 23.81 kB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.131, allocations: 64.03 kB / 489.6 MB, free: 9.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.131, allocations: 0 / 489.6 MB, free: 9.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.131, allocations: 0 / 489.6 MB, free: 9.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.131, allocations: 0 / 489.6 MB, free: 9.906 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003395/0.1313, allocations: 367.3 kB / 490 MB, free: 9.496 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1314, allocations: 19.89 kB / 490 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.1314, allocations: 8.844 kB / 490 MB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1315, allocations: 172.2 kB / 490.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.1316, allocations: 4.375 kB / 490.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.1316, allocations: 4.375 kB / 490.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1317, allocations: 123.3 kB / 490.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1318, allocations: 192 / 490.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1318, allocations: 7.875 kB / 490.3 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/0.1318, allocations: 27.98 kB / 490.3 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.853e-05/0.1319, allocations: 47.84 kB / 490.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000599/0.1325, allocations: 0.8945 MB / 491.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/0.1326, allocations: 173.1 kB / 491.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.1326, allocations: 80.14 kB / 491.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1327, allocations: 79.22 kB / 491.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.1327, allocations: 105.8 kB / 491.7 MB, free: 7.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.1327, allocations: 4 kB / 491.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.88e-05/0.1328, allocations: 45.53 kB / 491.8 MB, free: 7.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.1328, allocations: 126.7 kB / 491.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.133, allocations: 182.1 kB / 492.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.133, allocations: 25.7 kB / 492.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.1331, allocations: 143.2 kB / 492.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.1331, allocations: 3.984 kB / 492.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.1332, allocations: 37.72 kB / 492.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1333, allocations: 326.8 kB / 492.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-05/0.1334, allocations: 31.94 kB / 492.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.1335, allocations: 153.1 kB / 492.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1337, allocations: 204.9 kB / 493 MB, free: 6.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1337, allocations: 0 / 493 MB, free: 6.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003047/0.134, allocations: 201.7 kB / 493.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1341, allocations: 8 kB / 493.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1341, allocations: 8 kB / 493.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.1341, allocations: 8 kB / 493.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1343, allocations: 35.92 kB / 493.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1343, allocations: 7.984 kB / 493.2 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.048e-05/0.1344, allocations: 27.69 kB / 493.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1344, allocations: 12 kB / 493.3 MB, free: 5.863 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001618/0.1345, allocations: 209 kB / 493.5 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.1346, allocations: 128.8 kB / 493.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.1347, allocations: 112.9 kB / 493.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-05/0.1348, allocations: 180.3 kB / 493.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.474e-05/0.1349, allocations: 184.2 kB / 494.1 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-05/0.135, allocations: 188.2 kB / 494.2 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.1352, allocations: 421.2 kB / 494.7 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.42e-05/0.1353, allocations: 116.8 kB / 494.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.1353, allocations: 105 kB / 494.9 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.731e-05/0.1354, allocations: 184.2 kB / 495.1 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-05/0.1355, allocations: 176.3 kB / 495.2 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-05/0.1356, allocations: 180.2 kB / 495.4 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.089e-05/0.1357, allocations: 184.2 kB / 495.6 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.1362, allocations: 0.8569 MB / 496.4 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.1363, allocations: 189.9 kB / 496.6 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.1363, allocations: 176.3 kB / 496.8 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.1364, allocations: 108.9 kB / 496.9 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/0.1365, allocations: 184.2 kB / 497.1 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.1366, allocations: 105 kB / 497.2 MB, free: 1.676 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.632e-05/0.1367, allocations: 128.1 kB / 497.3 MB, free: 1.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1367, allocations: 3.938 kB / 497.3 MB, free: 1.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004239/0.1371, allocations: 19.94 kB / 497.3 MB, free: 1.527 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 (0): * Single equations (assignments): 0 * 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.0004716/0.1376, allocations: 278.5 kB / 497.6 MB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.1377, allocations: 71.78 kB / 497.7 MB, free: 1.211 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1377, allocations: 0 / 497.7 MB, free: 1.211 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/0.1377, allocations: 5.25 kB / 497.7 MB, free: 1.207 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.1382, allocations: 0.5263 MB / 498.2 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.1386, allocations: 266.8 kB / 498.5 MB, free: 400 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1389, allocations: 0.7009 MB / 499.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.1391, allocations: 53 kB / 499.2 MB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.1392, allocations: 19.44 kB / 499.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of SimCode: time 2e-07/0.1392, allocations: 0 / 499.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of Templates: time 0.002653/0.1419, allocations: 0.6681 MB / 499.9 MB, free: 14.93 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches