Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, 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.494/1.494, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.0009567/0.0009566, allocations: 99.98 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.3426/0.3426, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009725/0.0009725, allocations: 55.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1189, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003977/0.1229, allocations: 1.671 MB / 488.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000779/0.1237, allocations: 347.5 kB / 489 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.1238, allocations: 0 / 489 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.1242, allocations: 59.84 kB / 489.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.1244, allocations: 39.91 kB / 489.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.1248, allocations: 147.7 kB / 489.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.125, allocations: 79.75 kB / 489.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1251, allocations: 24.12 kB / 489.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.1252, allocations: 27.91 kB / 489.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.1253, allocations: 43.83 kB / 489.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1253, allocations: 4 kB / 489.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/0.1254, allocations: 31.98 kB / 489.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.1255, allocations: 19.92 kB / 489.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1255, allocations: 31.67 kB / 489.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.1257, allocations: 95.72 kB / 489.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1257, allocations: 0 / 489.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1258, allocations: 0 / 489.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1258, allocations: 0 / 489.6 MB, free: 9.918 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.0005949/0.1264, allocations: 399.1 kB / 490 MB, free: 9.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1264, allocations: 8.031 kB / 490 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.1265, allocations: 8.844 kB / 490 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1267, allocations: 200.7 kB / 490.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.1267, allocations: 384 / 490.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1267, allocations: 15.94 kB / 490.2 MB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1269, allocations: 61.61 kB / 490.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1269, allocations: 0 / 490.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.127, allocations: 0 / 490.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.127, allocations: 4 kB / 490.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1271, allocations: 31.97 kB / 490.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.1275, allocations: 312.7 kB / 490.6 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1277, allocations: 50.48 kB / 490.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.845e-05/0.1278, allocations: 24.94 kB / 490.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1278, allocations: 4 kB / 490.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1278, allocations: 34.56 kB / 490.7 MB, free: 8.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.345e-06/0.1278, allocations: 3.984 kB / 490.7 MB, free: 8.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007602/0.1286, allocations: 233 kB / 491 MB, free: 8.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.1286, allocations: 59.34 kB / 491 MB, free: 8.316 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1288, allocations: 186.9 kB / 491.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1288, allocations: 25.7 kB / 491.2 MB, free: 8.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.1289, allocations: 96.14 kB / 491.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.1289, allocations: 27.64 kB / 491.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.129, allocations: 17.72 kB / 491.4 MB, free: 7.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1291, allocations: 322.8 kB / 491.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1292, allocations: 35.97 kB / 491.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1293, allocations: 43.95 kB / 491.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.1295, allocations: 92.95 kB / 491.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1296, allocations: 0 / 491.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002757/0.1298, allocations: 121.5 kB / 492 MB, free: 7.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1299, allocations: 8 kB / 492 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1299, allocations: 3.938 kB / 492 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1299, allocations: 0 / 492 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.13, allocations: 23.97 kB / 492 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.13, allocations: 3.938 kB / 492 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.1301, allocations: 12 kB / 492 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1301, allocations: 0 / 492 MB, free: 7.27 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 9.3e-05/0.1302, allocations: 137.8 kB / 492.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.1302, allocations: 11.81 kB / 492.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.1306, allocations: 134.3 kB / 492.3 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1306, allocations: 0 / 492.3 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1306, allocations: 3.938 kB / 492.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1306, allocations: 4 kB / 492.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.1311, allocations: 414.4 kB / 492.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1311, allocations: 0 / 492.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.589e-05/0.1312, allocations: 23.97 kB / 492.7 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1312, allocations: 7.938 kB / 492.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1313, allocations: 0 / 492.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1313, allocations: 0 / 492.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1313, allocations: 0 / 492.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006911/0.132, allocations: 0.8214 MB / 493.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.132, allocations: 85.02 kB / 493.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.132, allocations: 3.984 kB / 493.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.1321, allocations: 12 kB / 493.7 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.1322, allocations: 7.984 kB / 493.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.1322, allocations: 4 kB / 493.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.351e-05/0.1323, allocations: 135.2 kB / 493.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1323, allocations: 0 / 493.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003455/0.1327, allocations: 20 kB / 493.8 MB, free: 5.32 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.0008037/0.1335, allocations: 410.4 kB / 494.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.1338, allocations: 91.92 kB / 494.3 MB, free: 4.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1338, allocations: 0 / 494.3 MB, free: 4.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.1339, allocations: 55.89 kB / 494.4 MB, free: 4.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1342, allocations: 11.94 kB / 494.4 MB, free: 4.801 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.1348, allocations: 395.4 kB / 494.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1351, allocations: 0.716 MB / 495.5 MB, free: 3.629 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.633e-05/0.1351, allocations: 19.97 kB / 495.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/0.1352, allocations: 19.38 kB / 495.5 MB, free: 3.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1352, allocations: 0 / 495.5 MB, free: 3.59 MB / 378.7 MB Notification: Performance of Templates: time 0.00323/0.1384, allocations: 1.207 MB / 496.7 MB, free: 2.383 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches