Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001628, 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.487/1.487, 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.001005/0.001005, allocations: 110.5 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.3163/0.3163, allocations: 43.5 MB / 360.7 MB, free: 51.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 55.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1151, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.00317/0.1184, allocations: 1.667 MB / 488.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006954/0.1191, allocations: 351.5 kB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.1192, allocations: 4 kB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005278/0.1198, allocations: 451.2 kB / 489.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.1201, allocations: 239.5 kB / 489.7 MB, free: 9.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.1205, allocations: 143.8 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.1208, allocations: 163.6 kB / 490 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1209, allocations: 28.42 kB / 490 MB, free: 9.512 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1211, allocations: 99.8 kB / 490.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.1213, allocations: 203.6 kB / 490.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.1213, allocations: 0 / 490.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.649e-05/0.1214, allocations: 31.98 kB / 490.4 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.1216, allocations: 87.67 kB / 490.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.727e-05/0.1217, allocations: 102.9 kB / 490.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.122, allocations: 247 kB / 490.8 MB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.122, allocations: 3.984 kB / 490.8 MB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.122, allocations: 0 / 490.8 MB, free: 8.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1221, allocations: 0 / 490.8 MB, free: 8.75 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.0009027/0.123, allocations: 0.6298 MB / 491.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.123, allocations: 8.031 kB / 491.4 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.95e-05/0.1231, allocations: 44.38 kB / 491.5 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.1235, allocations: 288.2 kB / 491.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1235, allocations: 4.375 kB / 491.7 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.1236, allocations: 8.375 kB / 491.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1238, allocations: 65.55 kB / 491.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1238, allocations: 0 / 491.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1238, allocations: 0 / 491.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1238, allocations: 0 / 491.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1239, allocations: 27.97 kB / 491.8 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.1246, allocations: 392.6 kB / 492.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.1249, allocations: 58.44 kB / 492.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.1249, allocations: 20.88 kB / 492.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1249, allocations: 0 / 492.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.125, allocations: 34.56 kB / 492.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.125, allocations: 0 / 492.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005883/0.1256, allocations: 239.9 kB / 492.6 MB, free: 6.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.1256, allocations: 51.41 kB / 492.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007859/0.1264, allocations: 0.8613 MB / 493.5 MB, free: 5.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1264, allocations: 25.7 kB / 493.5 MB, free: 5.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1266, allocations: 216.1 kB / 493.7 MB, free: 5.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.1266, allocations: 19.72 kB / 493.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.1267, allocations: 21.7 kB / 493.8 MB, free: 5.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1268, allocations: 358.8 kB / 494.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.1269, allocations: 19.98 kB / 494.1 MB, free: 5.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.446e-05/0.127, allocations: 28.05 kB / 494.2 MB, free: 5.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1271, allocations: 56.75 kB / 494.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1271, allocations: 0 / 494.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002403/0.1274, allocations: 121.2 kB / 494.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1274, allocations: 4 kB / 494.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1274, allocations: 0 / 494.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1274, allocations: 0 / 494.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.008e-05/0.1275, allocations: 11.98 kB / 494.4 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1275, allocations: 4 kB / 494.4 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.227e-05/0.1276, allocations: 4.219 kB / 494.4 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1276, allocations: 4 kB / 494.4 MB, free: 4.938 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.0001626/0.1277, allocations: 229.6 kB / 494.6 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.1278, allocations: 43.44 kB / 494.6 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.1281, allocations: 141 kB / 494.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1281, allocations: 0 / 494.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1281, allocations: 0 / 494.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1281, allocations: 3.938 kB / 494.8 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/0.1286, allocations: 470.7 kB / 495.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1286, allocations: 4.062 kB / 495.2 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.1287, allocations: 12 kB / 495.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1287, allocations: 0 / 495.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1287, allocations: 11.86 kB / 495.3 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1287, allocations: 0 / 495.3 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1287, allocations: 0 / 495.3 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006086/0.1293, allocations: 0.8792 MB / 496.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/0.1294, allocations: 108.5 kB / 496.2 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1295, allocations: 4 kB / 496.2 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.1295, allocations: 0 / 496.2 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.1296, allocations: 7.984 kB / 496.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.1296, allocations: 3.938 kB / 496.3 MB, free: 2.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005428/0.1301, allocations: 0.6511 MB / 496.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1302, allocations: 0 / 496.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003521/0.1305, allocations: 24 kB / 496.9 MB, free: 2.215 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.0008924/0.1314, allocations: 397.8 kB / 497.3 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.1317, allocations: 55.89 kB / 497.4 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1317, allocations: 4 kB / 497.4 MB, free: 1.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1318, allocations: 27.98 kB / 497.4 MB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005991/0.1324, allocations: 33.88 kB / 497.4 MB, free: 1.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.1342, allocations: 0.9833 MB / 498.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.1348, allocations: 0.8339 MB / 499.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.504e-05/0.1349, allocations: 19.84 kB / 499.3 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.1349, allocations: 11.44 kB / 499.3 MB, free: 15.83 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.135, allocations: 0 / 499.3 MB, free: 15.83 MB / 394.7 MB Notification: Performance of Templates: time 0.006855/0.1418, allocations: 1.421 MB / 0.489 GB, free: 14.41 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches