Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009205/0.0009205, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002745/0.0002742, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 63.55 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001947/0.1323, allocations: 1.338 MB / 484.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.1333, allocations: 0.5418 MB / 485 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.1334, allocations: 0 / 485 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000538/0.1339, allocations: 447.2 kB / 485.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.1344, allocations: 279.4 kB / 485.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.1348, allocations: 166.3 kB / 485.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.135, allocations: 159.7 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1352, allocations: 15.98 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1353, allocations: 103.7 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.1356, allocations: 203.6 kB / 486.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1356, allocations: 4 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.162e-05/0.1357, allocations: 19.98 kB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1358, allocations: 87.67 kB / 486.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.19e-05/0.1359, allocations: 120.7 kB / 486.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1361, allocations: 234.9 kB / 486.8 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1362, allocations: 0 / 486.8 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1362, allocations: 0 / 486.8 MB, free: 456 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1362, allocations: 4 kB / 486.8 MB, free: 452 kB / 350.1 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.0007927/0.137, allocations: 0.5836 MB / 487.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.137, allocations: 8.875 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.828e-05/0.1371, allocations: 44.38 kB / 487.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.1375, allocations: 296.1 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1375, allocations: 8.375 kB / 487.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.1375, allocations: 4.375 kB / 487.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1377, allocations: 57.73 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1377, allocations: 4 kB / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1377, allocations: 4 kB / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1377, allocations: 0 / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1378, allocations: 27.98 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.1384, allocations: 388.7 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.467e-05/0.1386, allocations: 42.45 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.487e-05/0.1386, allocations: 20.91 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1387, allocations: 3.938 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.1387, allocations: 30.56 kB / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.1387, allocations: 4 kB / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003279/0.139, allocations: 109.2 kB / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.1391, allocations: 51.41 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000952/0.14, allocations: 0.866 MB / 489.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1401, allocations: 25.7 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.1403, allocations: 228.1 kB / 489.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.1403, allocations: 7.891 kB / 489.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.1404, allocations: 13.66 kB / 489.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1406, allocations: 362.9 kB / 489.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.203e-05/0.1406, allocations: 15.98 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.1407, allocations: 11.98 kB / 490 MB, free: 13.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.815e-05/0.1408, allocations: 32.84 kB / 490 MB, free: 13.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1408, allocations: 4.062 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001813/0.141, allocations: 97.12 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.141, allocations: 4 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.141, allocations: 0 / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.141, allocations: 4 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.1411, allocations: 7.984 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1411, allocations: 3.938 kB / 490.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.1412, allocations: 8.031 kB / 490.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.1412, allocations: 0 / 490.1 MB, free: 12.88 MB / 366.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 (2): * Single equations (assignments): 2 * 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.0001864/0.1414, allocations: 217.6 kB / 490.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.1415, allocations: 43.44 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.1417, allocations: 108.8 kB / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1417, allocations: 0 / 490.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1417, allocations: 8.016 kB / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1417, allocations: 3.984 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.142, allocations: 289.5 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.142, allocations: 0 / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.1421, allocations: 4 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1421, allocations: 0 / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1421, allocations: 0 / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1421, allocations: 7.938 kB / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1421, allocations: 3.938 kB / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.1423, allocations: 194.9 kB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.07e-05/0.1424, allocations: 116.6 kB / 491.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.1425, allocations: 0 / 491.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.1425, allocations: 8 kB / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.1426, allocations: 0 / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1426, allocations: 0 / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006163/0.1432, allocations: 0.6667 MB / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1432, allocations: 0 / 491.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1435, allocations: 16 kB / 491.8 MB, free: 11.11 MB / 366.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 (2): * Single equations (assignments): 2 * 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.0008893/0.1444, allocations: 342.5 kB / 492.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.1445, allocations: 31.92 kB / 492.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1445, allocations: 0 / 492.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.879e-05/0.1446, allocations: 15.98 kB / 492.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.145, allocations: 18.31 kB / 492.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.1463, allocations: 0.8686 MB / 493 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.1467, allocations: 0.8287 MB / 493.9 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.911e-05/0.1468, allocations: 7.984 kB / 493.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.1468, allocations: 11.44 kB / 493.9 MB, free: 9.047 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1468, allocations: 0 / 493.9 MB, free: 9.047 MB / 366.1 MB Notification: Performance of Templates: time 0.004277/0.1511, allocations: 1.181 MB / 495.1 MB, free: 7.867 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches