Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009793/0.0009793, allocations: 94.86 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001308/0.001309, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.7 MB / 246.4 MB, free: 9.789 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2501/0.2501, allocations: 46.19 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.0002577, allocations: 12.2 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 63.57 MB / 482.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002226/0.1458, allocations: 1.365 MB / 483.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1469, allocations: 0.507 MB / 484.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.1469, allocations: 3.938 kB / 484.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.1475, allocations: 447.2 kB / 484.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.1479, allocations: 267.5 kB / 485 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.1483, allocations: 119.4 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1485, allocations: 139.6 kB / 485.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1487, allocations: 11.98 kB / 485.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1488, allocations: 107.7 kB / 485.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.149, allocations: 171.7 kB / 485.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1491, allocations: 0 / 485.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.1492, allocations: 43.97 kB / 485.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.1493, allocations: 87.69 kB / 485.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.1494, allocations: 65.52 kB / 485.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.1496, allocations: 187.7 kB / 485.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1496, allocations: 0 / 485.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1496, allocations: 7.938 kB / 485.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1496, allocations: 0 / 485.9 MB, free: 0.9883 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007291/0.1504, allocations: 0.603 MB / 486.5 MB, free: 344 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1504, allocations: 11.97 kB / 486.5 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.1505, allocations: 43.44 kB / 486.6 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.1508, allocations: 287.2 kB / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1508, allocations: 4 kB / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.1509, allocations: 3.984 kB / 486.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.151, allocations: 53.69 kB / 486.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1511, allocations: 4 kB / 486.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1511, allocations: 8 kB / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1511, allocations: 0 / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1512, allocations: 35.91 kB / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005406/0.1517, allocations: 392.7 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.1519, allocations: 50.59 kB / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.1519, allocations: 20.94 kB / 487.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.152, allocations: 4 kB / 487.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.152, allocations: 30.56 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.152, allocations: 0 / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009959/0.153, allocations: 348 kB / 487.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.1531, allocations: 51.41 kB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008278/0.1539, allocations: 0.8652 MB / 488.7 MB, free: 14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1539, allocations: 25.7 kB / 488.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1541, allocations: 228 kB / 488.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1541, allocations: 23.66 kB / 489 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.1541, allocations: 4 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1543, allocations: 366.7 kB / 489.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.1544, allocations: 27.98 kB / 489.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.225e-05/0.1544, allocations: 27.98 kB / 489.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.506e-05/0.1545, allocations: 31.98 kB / 489.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1545, allocations: 0 / 489.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002291/0.1548, allocations: 141.1 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1548, allocations: 8 kB / 489.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1548, allocations: 4 kB / 489.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1548, allocations: 3.953 kB / 489.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1549, allocations: 19.98 kB / 489.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.155, allocations: 3.938 kB / 489.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.155, allocations: 7.938 kB / 489.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.155, allocations: 4 kB / 489.6 MB, free: 13.07 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 (8): * Single equations (assignments): 8 * 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.0001957/0.1552, allocations: 214.3 kB / 489.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.1553, allocations: 47.44 kB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.1556, allocations: 173.7 kB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1556, allocations: 7.953 kB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1556, allocations: 0 / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1557, allocations: 0 / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006196/0.1563, allocations: 0.5108 MB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1563, allocations: 4 kB / 490.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/0.1564, allocations: 31.91 kB / 490.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1564, allocations: 0 / 490.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1564, allocations: 4 kB / 490.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1564, allocations: 4 kB / 490.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1564, allocations: 4 kB / 490.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.1567, allocations: 239.8 kB / 490.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-05/0.1568, allocations: 108.6 kB / 490.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.1568, allocations: 11.94 kB / 490.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.1569, allocations: 4 kB / 490.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.157, allocations: 11.92 kB / 491 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.157, allocations: 4 kB / 491 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006483/0.1576, allocations: 0.6511 MB / 491.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1576, allocations: 4 kB / 491.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1579, allocations: 35.98 kB / 491.7 MB, free: 10.9 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001166/0.1591, allocations: 450.6 kB / 492.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.1594, allocations: 63.97 kB / 492.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1594, allocations: 0 / 492.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.024e-05/0.1595, allocations: 47.91 kB / 492.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.1599, allocations: 27.92 kB / 492.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1611, allocations: 0.866 MB / 493.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.1616, allocations: 0.834 MB / 493.9 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.969e-05/0.1617, allocations: 12.73 kB / 493.9 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.1617, allocations: 19.42 kB / 494 MB, free: 8.691 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1617, allocations: 0 / 494 MB, free: 8.691 MB / 366.1 MB Notification: Performance of Templates: time 0.005014/0.1667, allocations: 1.591 MB / 495.5 MB, free: 7.109 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches