Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001244, 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.415/1.415, allocations: 205.1 MB / 222.5 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.001051/0.001051, allocations: 101 kB / 269.9 MB, free: 8.434 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.3755/0.3755, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 56.11 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1233, allocations: 57.77 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003178/0.1265, allocations: 1.632 MB / 488.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006843/0.1272, allocations: 335.7 kB / 489 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.1273, allocations: 4 kB / 489 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.1279, allocations: 455.2 kB / 489.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.1282, allocations: 235.5 kB / 489.6 MB, free: 9.898 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.1286, allocations: 147.8 kB / 489.8 MB, free: 9.754 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1288, allocations: 167.6 kB / 490 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.1289, allocations: 12.16 kB / 490 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.129, allocations: 99.8 kB / 490.1 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.1292, allocations: 207.6 kB / 490.3 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1293, allocations: 4 kB / 490.3 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.266e-05/0.1293, allocations: 27.97 kB / 490.3 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1295, allocations: 87.62 kB / 490.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.264e-05/0.1295, allocations: 91.06 kB / 490.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.1298, allocations: 239.3 kB / 490.7 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1298, allocations: 0 / 490.7 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1298, allocations: 4 kB / 490.7 MB, free: 8.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1298, allocations: 0 / 490.7 MB, free: 8.832 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.0007189/0.1305, allocations: 0.6335 MB / 491.3 MB, free: 8.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1306, allocations: 12.03 kB / 491.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.1307, allocations: 40.38 kB / 491.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.131, allocations: 292.2 kB / 491.7 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.131, allocations: 4.375 kB / 491.7 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.131, allocations: 4.359 kB / 491.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1312, allocations: 61.61 kB / 491.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1312, allocations: 0 / 491.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1312, allocations: 0 / 491.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1312, allocations: 0 / 491.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1314, allocations: 35.97 kB / 491.8 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.1319, allocations: 396.6 kB / 492.2 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.132, allocations: 42.56 kB / 492.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.1321, allocations: 24.94 kB / 492.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.1321, allocations: 3.984 kB / 492.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1322, allocations: 34.56 kB / 492.3 MB, free: 7.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.1322, allocations: 4 kB / 492.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003184/0.1325, allocations: 125.1 kB / 492.4 MB, free: 6.969 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.1325, allocations: 55.41 kB / 492.5 MB, free: 6.902 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/0.1333, allocations: 0.8535 MB / 493.3 MB, free: 6.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1333, allocations: 25.7 kB / 493.3 MB, free: 6.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1335, allocations: 216 kB / 493.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.1335, allocations: 3.906 kB / 493.5 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.1335, allocations: 13.72 kB / 493.6 MB, free: 5.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1337, allocations: 370.7 kB / 493.9 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.628e-05/0.1338, allocations: 19.98 kB / 493.9 MB, free: 5.379 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.1338, allocations: 15.98 kB / 494 MB, free: 5.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.134, allocations: 44.77 kB / 494 MB, free: 5.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.134, allocations: 0 / 494 MB, free: 5.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001976/0.1342, allocations: 117.1 kB / 494.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1342, allocations: 4 kB / 494.1 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1342, allocations: 3.938 kB / 494.1 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1342, allocations: 0 / 494.1 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.002e-05/0.1343, allocations: 8 kB / 494.1 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1343, allocations: 3.984 kB / 494.1 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.1344, allocations: 11.84 kB / 494.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1344, allocations: 0 / 494.1 MB, free: 5.164 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 (3): * Single equations (assignments): 3 * 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.0002083/0.1346, allocations: 221.7 kB / 494.4 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.1347, allocations: 43.53 kB / 494.4 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.1349, allocations: 120.9 kB / 494.5 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1349, allocations: 384 / 494.5 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.135, allocations: 3.984 kB / 494.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.135, allocations: 0 / 494.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.1353, allocations: 289.5 kB / 494.8 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1353, allocations: 0 / 494.8 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.1353, allocations: 12 kB / 494.8 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1354, allocations: 7.984 kB / 494.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1354, allocations: 0 / 494.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1354, allocations: 0 / 494.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1354, allocations: 3.984 kB / 494.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.136, allocations: 0.8518 MB / 495.7 MB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.1361, allocations: 120.5 kB / 495.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1361, allocations: 0 / 495.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.1362, allocations: 7.938 kB / 495.8 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.1363, allocations: 0 / 495.8 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.1363, allocations: 3.984 kB / 495.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005981/0.1369, allocations: 0.6472 MB / 496.5 MB, free: 2.703 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1369, allocations: 0 / 496.5 MB, free: 2.703 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003413/0.1372, allocations: 24 kB / 496.5 MB, free: 2.68 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 (3): * Single equations (assignments): 3 * 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.0007399/0.138, allocations: 347 kB / 496.8 MB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.1382, allocations: 39.91 kB / 496.9 MB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1382, allocations: 0 / 496.9 MB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.804e-05/0.1383, allocations: 27.98 kB / 496.9 MB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.1387, allocations: 25.95 kB / 496.9 MB, free: 2.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.1398, allocations: 0.9598 MB / 497.9 MB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.1402, allocations: 0.8185 MB / 498.7 MB, free: 448 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.275e-05/0.1403, allocations: 19.97 kB / 498.7 MB, free: 428 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.1403, allocations: 11.44 kB / 498.7 MB, free: 416 kB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1403, allocations: 0 / 498.7 MB, free: 416 kB / 378.7 MB Notification: Performance of Templates: time 0.004271/0.1446, allocations: 1.276 MB / 0.4883 GB, free: 15.13 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches