Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, 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.406/1.406, 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.001023/0.001023, allocations: 99.92 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.3475/0.3475, allocations: 43.5 MB / 360.7 MB, free: 51.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009981/0.0009981, allocations: 55.92 kB / 429.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1275, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.003399/0.131, allocations: 1.685 MB / 488.7 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009241/0.132, allocations: 0.6682 MB / 489.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.132, allocations: 0 / 489.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.1323, allocations: 23.95 kB / 489.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.1324, allocations: 39.91 kB / 489.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.428e-05/0.1325, allocations: 0 / 489.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1326, allocations: 47.83 kB / 489.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.159e-05/0.1327, allocations: 4 kB / 489.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.275e-05/0.1327, allocations: 11.92 kB / 489.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/0.1328, allocations: 19.92 kB / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1328, allocations: 0 / 489.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.1329, allocations: 7.984 kB / 489.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.1329, allocations: 19.94 kB / 489.5 MB, free: 9.992 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.133, allocations: 31.78 kB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.1331, allocations: 60.03 kB / 489.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1331, allocations: 0 / 489.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1331, allocations: 0 / 489.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1331, allocations: 4 kB / 489.6 MB, free: 9.898 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.000422/0.1335, allocations: 367.3 kB / 490 MB, free: 9.488 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1336, allocations: 8.031 kB / 490 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.1336, allocations: 8.844 kB / 490 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1338, allocations: 176.2 kB / 490.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1339, allocations: 384 / 490.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.1339, allocations: 4.375 kB / 490.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.1341, allocations: 127.3 kB / 490.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1341, allocations: 4.188 kB / 490.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1341, allocations: 11.86 kB / 490.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/0.1342, allocations: 23.98 kB / 490.3 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.496e-05/0.1342, allocations: 51.84 kB / 490.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.1349, allocations: 0.8789 MB / 491.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.135, allocations: 181.2 kB / 491.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.1351, allocations: 84.14 kB / 491.5 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.1351, allocations: 79.22 kB / 491.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.1352, allocations: 105.8 kB / 491.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.1352, allocations: 4 kB / 491.7 MB, free: 7.602 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.454e-05/0.1353, allocations: 37.55 kB / 491.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.1354, allocations: 126.7 kB / 491.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1355, allocations: 182.1 kB / 492.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.1356, allocations: 25.7 kB / 492.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.1357, allocations: 151.1 kB / 492.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.1357, allocations: 4 kB / 492.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.1357, allocations: 37.7 kB / 492.3 MB, free: 7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1359, allocations: 326.8 kB / 492.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-05/0.1359, allocations: 39.92 kB / 492.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1361, allocations: 149.2 kB / 492.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.1363, allocations: 200.8 kB / 493 MB, free: 6.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1363, allocations: 4 kB / 493 MB, free: 6.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002961/0.1366, allocations: 205 kB / 493.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1366, allocations: 8.625 kB / 493.2 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1366, allocations: 7.984 kB / 493.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1366, allocations: 8 kB / 493.2 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1368, allocations: 35.92 kB / 493.2 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1368, allocations: 8 kB / 493.2 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.423e-05/0.1369, allocations: 27.69 kB / 493.3 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1369, allocations: 8 kB / 493.3 MB, free: 5.855 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.0001198/0.137, allocations: 217 kB / 493.5 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.709e-05/0.1371, allocations: 112.8 kB / 493.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.1372, allocations: 124.8 kB / 493.7 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.169e-05/0.1373, allocations: 176.3 kB / 493.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.721e-05/0.1373, allocations: 184.2 kB / 494.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-05/0.1374, allocations: 180.3 kB / 494.2 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1377, allocations: 425.1 kB / 494.7 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-05/0.1377, allocations: 112.9 kB / 494.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-05/0.1377, allocations: 105 kB / 494.9 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.679e-05/0.1378, allocations: 180.2 kB / 495 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.079e-05/0.1379, allocations: 184.2 kB / 495.2 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.324e-05/0.138, allocations: 180.2 kB / 495.4 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.046e-05/0.138, allocations: 176.3 kB / 495.6 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.1384, allocations: 0.8608 MB / 496.4 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.1385, allocations: 185.9 kB / 496.6 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.1386, allocations: 184.2 kB / 496.8 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.149e-05/0.1387, allocations: 108.9 kB / 496.9 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.1387, allocations: 176.3 kB / 497.1 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.1388, allocations: 105 kB / 497.2 MB, free: 1.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.314e-05/0.1389, allocations: 136.1 kB / 497.3 MB, free: 1.547 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1389, allocations: 0 / 497.3 MB, free: 1.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004163/0.1393, allocations: 15.94 kB / 497.3 MB, free: 1.531 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.0004624/0.1398, allocations: 282.6 kB / 497.6 MB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.1399, allocations: 75.78 kB / 497.7 MB, free: 1.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1399, allocations: 0 / 497.7 MB, free: 1.207 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-06/0.1399, allocations: 8 kB / 497.7 MB, free: 1.199 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.1403, allocations: 0.5309 MB / 498.2 MB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.1407, allocations: 270.7 kB / 498.5 MB, free: 388 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.141, allocations: 0.697 MB / 499.2 MB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.1412, allocations: 49.02 kB / 499.2 MB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.1412, allocations: 19.42 kB / 499.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1412, allocations: 4 kB / 499.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of Templates: time 0.002669/0.1439, allocations: 0.6686 MB / 499.9 MB, free: 14.92 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches