Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001467, allocations: 183 kB / 16.63 MB, free: 5.129 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.473/1.473, allocations: 205.1 MB / 222.4 MB, free: 8.48 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.001021/0.001021, allocations: 104.8 kB / 269.9 MB, free: 8.43 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.375/0.375, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 55.92 kB / 429.2 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1256, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002951/0.1286, allocations: 1.621 MB / 488.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000584/0.1292, allocations: 311.6 kB / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.1292, allocations: 0 / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.1295, allocations: 127.7 kB / 489.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.1297, allocations: 75.84 kB / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1299, allocations: 67.86 kB / 489.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1301, allocations: 75.86 kB / 489.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.1301, allocations: 11.98 kB / 489.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.1302, allocations: 47.77 kB / 489.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.1303, allocations: 67.86 kB / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1303, allocations: 4 kB / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.1304, allocations: 31.98 kB / 489.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.1305, allocations: 27.84 kB / 489.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.1305, allocations: 27.75 kB / 489.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1307, allocations: 111.8 kB / 489.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1307, allocations: 0 / 489.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1307, allocations: 0 / 489.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1307, allocations: 0 / 489.6 MB, free: 9.926 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004187/0.1311, allocations: 422.4 kB / 490 MB, free: 9.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1311, allocations: 12.03 kB / 490 MB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.1312, allocations: 12.75 kB / 490 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.1314, allocations: 215.7 kB / 490.2 MB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.1314, allocations: 384 / 490.2 MB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.1314, allocations: 384 / 490.2 MB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1315, allocations: 53.8 kB / 490.3 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1315, allocations: 3.938 kB / 490.3 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.1315, allocations: 0 / 490.3 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1316, allocations: 0 / 490.3 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.934e-05/0.1316, allocations: 27.92 kB / 490.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.132, allocations: 296.9 kB / 490.6 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.1322, allocations: 42.5 kB / 490.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.1322, allocations: 16.86 kB / 490.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1323, allocations: 0 / 490.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.1323, allocations: 42.5 kB / 490.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.1323, allocations: 0 / 490.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004959/0.1328, allocations: 149.2 kB / 490.9 MB, free: 8.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1328, allocations: 59.33 kB / 490.9 MB, free: 8.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.1331, allocations: 263.3 kB / 491.2 MB, free: 8.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1331, allocations: 29.7 kB / 491.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.1331, allocations: 108.1 kB / 491.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1332, allocations: 19.72 kB / 491.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.1332, allocations: 13.72 kB / 491.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1333, allocations: 330.8 kB / 491.7 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.1334, allocations: 15.98 kB / 491.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.567e-05/0.1334, allocations: 19.98 kB / 491.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.1336, allocations: 48.83 kB / 491.7 MB, free: 7.555 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1336, allocations: 0 / 491.7 MB, free: 7.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001665/0.1338, allocations: 81.52 kB / 491.8 MB, free: 7.469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1338, allocations: 8 kB / 491.8 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1338, allocations: 0 / 491.8 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1338, allocations: 0 / 491.8 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.1339, allocations: 11.98 kB / 491.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1339, allocations: 4 kB / 491.8 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.889e-05/0.1339, allocations: 11.92 kB / 491.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1339, allocations: 4 kB / 491.9 MB, free: 7.43 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 9.463e-05/0.134, allocations: 137.8 kB / 492 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.1341, allocations: 15.81 kB / 492 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.1343, allocations: 102.6 kB / 492.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1343, allocations: 320 / 492.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1343, allocations: 0 / 492.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1343, allocations: 7.938 kB / 492.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.1348, allocations: 358.5 kB / 492.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1348, allocations: 0 / 492.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.1348, allocations: 15.98 kB / 492.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1348, allocations: 0 / 492.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1349, allocations: 4 kB / 492.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1349, allocations: 3.938 kB / 492.5 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1349, allocations: 7.938 kB / 492.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.1354, allocations: 0.7627 MB / 493.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.1355, allocations: 89.2 kB / 493.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1355, allocations: 0 / 493.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.1356, allocations: 11.98 kB / 493.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.1356, allocations: 15.92 kB / 493.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1357, allocations: 0 / 493.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1358, allocations: 203.4 kB / 493.6 MB, free: 5.559 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1358, allocations: 0 / 493.6 MB, free: 5.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00034/0.1362, allocations: 20 kB / 493.6 MB, free: 5.539 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.0008275/0.137, allocations: 401.8 kB / 494 MB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.1372, allocations: 51.91 kB / 494 MB, free: 5.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1372, allocations: 0 / 494 MB, free: 5.141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.1373, allocations: 27.92 kB / 494.1 MB, free: 5.113 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1376, allocations: 19.92 kB / 494.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.1382, allocations: 407.3 kB / 494.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.1385, allocations: 0.716 MB / 495.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.097e-05/0.1385, allocations: 11.86 kB / 495.2 MB, free: 3.898 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.1385, allocations: 11.44 kB / 495.2 MB, free: 3.891 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1385, allocations: 0 / 495.2 MB, free: 3.891 MB / 378.7 MB Notification: Performance of Templates: time 0.003133/0.1417, allocations: 1.101 MB / 496.3 MB, free: 2.789 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches