Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,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.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 187 kB / 16.64 MB, free: 5.133 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.452/1.452, 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.001199/0.001199, allocations: 100.8 kB / 269.9 MB, free: 8.438 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.3967/0.3967, allocations: 43.49 MB / 360.7 MB, free: 51.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 47.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1228, allocations: 57.78 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.003944/0.1268, allocations: 1.667 MB / 488.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007422/0.1276, allocations: 331.6 kB / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.1277, allocations: 0 / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.1283, allocations: 451.2 kB / 489.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.1287, allocations: 239.6 kB / 489.7 MB, free: 9.859 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.1292, allocations: 103.8 kB / 489.8 MB, free: 9.758 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.1295, allocations: 151.7 kB / 489.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.1297, allocations: 16.17 kB / 489.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.1299, allocations: 107.7 kB / 490 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.1302, allocations: 199.6 kB / 490.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.1302, allocations: 4 kB / 490.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1304, allocations: 27.98 kB / 490.3 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1305, allocations: 91.62 kB / 490.4 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.1306, allocations: 99 kB / 490.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.131, allocations: 239.3 kB / 490.7 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.131, allocations: 0 / 490.7 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.131, allocations: 4 kB / 490.7 MB, free: 8.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.131, allocations: 0 / 490.7 MB, free: 8.836 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.001108/0.1321, allocations: 0.6219 MB / 491.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.656e-05/0.1322, allocations: 12.02 kB / 491.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1323, allocations: 40.47 kB / 491.4 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.1328, allocations: 296.1 kB / 491.7 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1328, allocations: 12.38 kB / 491.7 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.1329, allocations: 8.297 kB / 491.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.1331, allocations: 49.62 kB / 491.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.1331, allocations: 0 / 491.7 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.1332, allocations: 4 kB / 491.7 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1332, allocations: 4 kB / 491.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.1334, allocations: 19.98 kB / 491.8 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008473/0.1342, allocations: 388.6 kB / 492.1 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.1345, allocations: 42.56 kB / 492.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.1346, allocations: 16.94 kB / 492.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.1346, allocations: 4 kB / 492.2 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1347, allocations: 30.56 kB / 492.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.1347, allocations: 4 kB / 492.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007141/0.1354, allocations: 224.2 kB / 492.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.1355, allocations: 51.41 kB / 492.5 MB, free: 6.848 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008834/0.1364, allocations: 0.8613 MB / 493.4 MB, free: 5.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1364, allocations: 29.7 kB / 493.4 MB, free: 5.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.1365, allocations: 220 kB / 493.6 MB, free: 5.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.1366, allocations: 15.81 kB / 493.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.1366, allocations: 21.7 kB / 493.6 MB, free: 5.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1368, allocations: 354.8 kB / 494 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-05/0.1369, allocations: 19.98 kB / 494 MB, free: 5.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.1369, allocations: 19.98 kB / 494 MB, free: 5.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.1371, allocations: 44.83 kB / 494.1 MB, free: 5.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1371, allocations: 8.188 kB / 494.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002104/0.1373, allocations: 113.1 kB / 494.2 MB, free: 5.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1373, allocations: 7.938 kB / 494.2 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1373, allocations: 0 / 494.2 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1374, allocations: 4 kB / 494.2 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.667e-05/0.1374, allocations: 19.91 kB / 494.2 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.1374, allocations: 0 / 494.2 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.1375, allocations: 7.938 kB / 494.2 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1375, allocations: 4 kB / 494.2 MB, free: 5.07 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.0001993/0.1377, allocations: 217.8 kB / 494.4 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.1378, allocations: 39.53 kB / 494.5 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.1381, allocations: 140.9 kB / 494.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1381, allocations: 0 / 494.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1381, allocations: 0 / 494.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1381, allocations: 7.938 kB / 494.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005389/0.1386, allocations: 454.4 kB / 495.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1386, allocations: 0 / 495.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.1387, allocations: 12 kB / 495.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1387, allocations: 0 / 495.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1387, allocations: 7.875 kB / 495.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1387, allocations: 0 / 495.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1387, allocations: 0 / 495.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006104/0.1394, allocations: 0.8715 MB / 496 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.1395, allocations: 108.6 kB / 496.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.1395, allocations: 0 / 496.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.1396, allocations: 4 kB / 496.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.1396, allocations: 7.922 kB / 496.1 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1396, allocations: 8 kB / 496.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005592/0.1402, allocations: 0.6433 MB / 496.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1402, allocations: 0 / 496.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000343/0.1406, allocations: 31.98 kB / 496.8 MB, free: 2.387 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.0009646/0.1415, allocations: 393.7 kB / 497.1 MB, free: 2.047 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.1418, allocations: 47.97 kB / 497.2 MB, free: 2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1418, allocations: 4 kB / 497.2 MB, free: 1.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.03e-05/0.1419, allocations: 31.91 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.0004729/0.1424, allocations: 25.91 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.001414/0.1438, allocations: 0.9599 MB / 498.2 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.1443, allocations: 0.8302 MB / 499 MB, free: 76 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.151e-05/0.1443, allocations: 7.859 kB / 499.1 MB, free: 68 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.1444, allocations: 15.42 kB / 499.1 MB, free: 56 kB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1444, allocations: 3.938 kB / 499.1 MB, free: 52 kB / 378.7 MB Notification: Performance of Templates: time 0.005008/0.1494, allocations: 1.401 MB / 0.4887 GB, free: 14.65 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches