Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 111.9 kB / 18.41 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.001391, allocations: 72.45 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1411, allocations: 62.46 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004473/0.1456, allocations: 2.039 MB / 483.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.1478, allocations: 1.126 MB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.1481, allocations: 0 / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.1486, allocations: 275 kB / 484.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.1492, allocations: 259.1 kB / 485.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.1509, allocations: 0.6529 MB / 485.8 MB, free: 180 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005909/0.1515, allocations: 343.2 kB / 486.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.1518, allocations: 80.7 kB / 486.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.152, allocations: 147.4 kB / 486.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.1522, allocations: 211.2 kB / 486.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.1523, allocations: 12 kB / 486.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.1525, allocations: 107.9 kB / 486.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.1527, allocations: 95.67 kB / 486.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1528, allocations: 126.9 kB / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.1533, allocations: 354.6 kB / 487.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1533, allocations: 4 kB / 487.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1533, allocations: 0 / 487.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.1533, allocations: 0 / 487.3 MB, free: 14.72 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008442/0.1542, allocations: 0.665 MB / 487.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1542, allocations: 13.11 kB / 487.9 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.03e-05/0.1543, allocations: 40.47 kB / 488 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.1547, allocations: 330 kB / 488.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1547, allocations: 8.375 kB / 488.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.1548, allocations: 16.36 kB / 488.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.155, allocations: 117.8 kB / 488.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1551, allocations: 0 / 488.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1551, allocations: 8 kB / 488.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1551, allocations: 0 / 488.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.1553, allocations: 103.9 kB / 488.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008633/0.1562, allocations: 0.4964 MB / 489 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.1564, allocations: 114.5 kB / 489.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.1565, allocations: 36.84 kB / 489.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.1565, allocations: 3.984 kB / 489.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1566, allocations: 38.56 kB / 489.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.1566, allocations: 4 kB / 489.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001139/0.1577, allocations: 444.1 kB / 489.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1578, allocations: 59.34 kB / 489.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006012/0.1584, allocations: 0.5759 MB / 490.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1584, allocations: 29.7 kB / 490.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1586, allocations: 208.4 kB / 490.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.1586, allocations: 51.17 kB / 490.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.1587, allocations: 37.7 kB / 490.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1589, allocations: 354.8 kB / 491 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.159, allocations: 59.95 kB / 491 MB, free: 10.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.1591, allocations: 67.95 kB / 491.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.1594, allocations: 163 kB / 491.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1594, allocations: 3.938 kB / 491.3 MB, free: 10.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003887/0.1598, allocations: 231.1 kB / 491.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1598, allocations: 7.938 kB / 491.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1598, allocations: 0 / 491.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1598, allocations: 0 / 491.5 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.16, allocations: 39.91 kB / 491.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.16, allocations: 0 / 491.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.1601, allocations: 11.94 kB / 491.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.1601, allocations: 12 kB / 491.6 MB, free: 10.21 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 (17): * Single equations (assignments): 17 * 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.0001638/0.1603, allocations: 185.7 kB / 491.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.1604, allocations: 43.44 kB / 491.8 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004897/0.1609, allocations: 277.6 kB / 492 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1609, allocations: 0 / 492 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1609, allocations: 0 / 492 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1609, allocations: 8 kB / 492.1 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008107/0.1617, allocations: 0.6761 MB / 492.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1617, allocations: 0 / 492.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.1618, allocations: 35.92 kB / 492.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1618, allocations: 0 / 492.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1619, allocations: 0 / 492.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1619, allocations: 4 kB / 492.8 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1619, allocations: 7.938 kB / 492.8 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.1623, allocations: 334.8 kB / 493.1 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.1624, allocations: 100.7 kB / 493.2 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1624, allocations: 4 kB / 493.2 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.1625, allocations: 4 kB / 493.2 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1625, allocations: 19.91 kB / 493.2 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1626, allocations: 12 kB / 493.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003939/0.163, allocations: 427.1 kB / 493.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.163, allocations: 0 / 493.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002945/0.1633, allocations: 51.91 kB / 493.7 MB, free: 7.934 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 (17): * Single equations (assignments): 17 * 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.001556/0.1648, allocations: 0.6992 MB / 494.4 MB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003266/0.1652, allocations: 163.8 kB / 494.6 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1652, allocations: 0 / 494.6 MB, free: 7.348 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.1653, allocations: 87.89 kB / 494.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.1658, allocations: 83.97 kB / 494.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009707/0.1668, allocations: 0.7272 MB / 495.5 MB, free: 6.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1672, allocations: 0.8299 MB / 496.3 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.1674, allocations: 53.89 kB / 496.3 MB, free: 5.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.1674, allocations: 35.42 kB / 496.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1674, allocations: 0 / 496.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of Templates: time 0.006319/0.1738, allocations: 3.365 MB / 499.7 MB, free: 2.141 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches