Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008842/0.0008841, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 174.7 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 222.8 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4788/0.4788, allocations: 43.57 MB / 314.6 MB, free: 8.691 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004965, allocations: 16 kB / 384 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.134, allocations: 58.87 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002661/0.1367, allocations: 1.306 MB / 444.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007757/0.1375, allocations: 327.8 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.1376, allocations: 7.938 kB / 444.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006828/0.1383, allocations: 443.2 kB / 444.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.1387, allocations: 231.6 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.1391, allocations: 143.8 kB / 445.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.1394, allocations: 135.7 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1395, allocations: 19.98 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1396, allocations: 107.7 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1399, allocations: 163.7 kB / 445.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1399, allocations: 4 kB / 445.7 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.69e-05/0.14, allocations: 24 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1401, allocations: 87.73 kB / 445.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.303e-05/0.1402, allocations: 65.45 kB / 445.9 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.1405, allocations: 192 kB / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1405, allocations: 0 / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1405, allocations: 0 / 446 MB, free: 9.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1405, allocations: 0 / 446 MB, free: 9.805 MB / 382.1 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.0006455/0.1412, allocations: 0.5987 MB / 446.6 MB, free: 9.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1412, allocations: 16.02 kB / 446.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.1413, allocations: 43.48 kB / 446.7 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.1416, allocations: 279.3 kB / 447 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.1416, allocations: 4 kB / 447 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1416, allocations: 4 kB / 447 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1418, allocations: 65.61 kB / 447 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1418, allocations: 0 / 447 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.1418, allocations: 0 / 447 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1418, allocations: 0 / 447 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.142, allocations: 55.92 kB / 447.1 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.1425, allocations: 396.8 kB / 447.5 MB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1427, allocations: 54.5 kB / 447.5 MB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.241e-05/0.1428, allocations: 28.94 kB / 447.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.1428, allocations: 80 / 447.6 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1429, allocations: 34.56 kB / 447.6 MB, free: 8.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.1429, allocations: 4 kB / 447.6 MB, free: 8.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008746/0.1437, allocations: 348 kB / 447.9 MB, free: 7.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.1438, allocations: 51.41 kB / 448 MB, free: 7.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009452/0.1448, allocations: 0.8613 MB / 448.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1448, allocations: 29.7 kB / 448.9 MB, free: 6.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.145, allocations: 212.1 kB / 449.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.145, allocations: 19.66 kB / 449.1 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.145, allocations: 3.938 kB / 449.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1453, allocations: 366.8 kB / 449.5 MB, free: 6.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1454, allocations: 43.97 kB / 449.5 MB, free: 6.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1455, allocations: 43.97 kB / 449.6 MB, free: 6.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1457, allocations: 56.19 kB / 449.6 MB, free: 6.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1457, allocations: 3.938 kB / 449.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003231/0.146, allocations: 181 kB / 449.8 MB, free: 5.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.146, allocations: 7.953 kB / 449.8 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1461, allocations: 7.922 kB / 449.8 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1461, allocations: 0 / 449.8 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1462, allocations: 23.98 kB / 449.8 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1462, allocations: 0 / 449.8 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.1463, allocations: 11.98 kB / 449.8 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1463, allocations: 8 kB / 449.8 MB, free: 5.77 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.1465, allocations: 213.8 kB / 450.1 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.1466, allocations: 43.44 kB / 450.1 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.147, allocations: 201.3 kB / 450.3 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.147, allocations: 0 / 450.3 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.147, allocations: 0 / 450.3 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.147, allocations: 0 / 450.3 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.1477, allocations: 0.5179 MB / 450.8 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1477, allocations: 3.953 kB / 450.8 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.1478, allocations: 27.97 kB / 450.8 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1478, allocations: 4 kB / 450.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1478, allocations: 0 / 450.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1478, allocations: 0 / 450.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1478, allocations: 0 / 450.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.1482, allocations: 266.9 kB / 451.1 MB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.1483, allocations: 116.6 kB / 451.2 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.1483, allocations: 4 kB / 451.2 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1484, allocations: 19.92 kB / 451.2 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.1485, allocations: 3.984 kB / 451.3 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1485, allocations: 8 kB / 451.3 MB, free: 4.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006794/0.1492, allocations: 0.6433 MB / 451.9 MB, free: 3.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1492, allocations: 0 / 451.9 MB, free: 3.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.1495, allocations: 31.98 kB / 451.9 MB, free: 3.578 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.1505, allocations: 397.2 kB / 452.3 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.1509, allocations: 107.9 kB / 452.4 MB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.1509, allocations: 0 / 452.4 MB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.151, allocations: 59.91 kB / 452.5 MB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1515, allocations: 25.95 kB / 452.5 MB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.1528, allocations: 0.8496 MB / 453.4 MB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.1533, allocations: 0.8302 MB / 454.2 MB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.1534, allocations: 23.97 kB / 454.2 MB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.1535, allocations: 15.44 kB / 454.2 MB, free: 1.258 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1535, allocations: 0 / 454.2 MB, free: 1.258 MB / 382.1 MB Notification: Performance of Templates: time 0.2286/0.382, allocations: 1.428 MB / 455.7 MB, free: 46.32 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches