Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.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.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01371/0.01371, allocations: 101.1 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002606/0.002607, allocations: 190.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.4266/0.4266, allocations: 43.49 MB / 313.5 MB, free: 8.289 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.001411/0.001411, allocations: 71.89 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1497, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test27): time 0.003576/0.1533, allocations: 1.672 MB / 441.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006957/0.1541, allocations: 311.6 kB / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.1541, allocations: 0 / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.1544, allocations: 59.86 kB / 441.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.1546, allocations: 47.81 kB / 441.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1549, allocations: 103.8 kB / 442 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.155, allocations: 67.83 kB / 442.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1551, allocations: 12.17 kB / 442.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.461e-05/0.1552, allocations: 31.91 kB / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.277e-05/0.1553, allocations: 47.77 kB / 442.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1553, allocations: 4 kB / 442.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/0.1554, allocations: 35.98 kB / 442.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.1555, allocations: 15.92 kB / 442.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.1555, allocations: 23.81 kB / 442.2 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1557, allocations: 91.92 kB / 442.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.1557, allocations: 4 kB / 442.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1557, allocations: 0 / 442.3 MB, free: 12.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1557, allocations: 0 / 442.3 MB, free: 12.08 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.0005895/0.1563, allocations: 403.1 kB / 442.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1564, allocations: 8.031 kB / 442.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.1564, allocations: 12.84 kB / 442.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.1567, allocations: 196.7 kB / 442.9 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1567, allocations: 8.125 kB / 442.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.1567, allocations: 0 / 442.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.1569, allocations: 65.59 kB / 443 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1569, allocations: 0 / 443 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1569, allocations: 4 kB / 443 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.157, allocations: 4 kB / 443 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.1571, allocations: 35.97 kB / 443.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.1575, allocations: 288.8 kB / 443.3 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1576, allocations: 42.56 kB / 443.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/0.1577, allocations: 20.94 kB / 443.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1577, allocations: 4 kB / 443.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.1578, allocations: 34.56 kB / 443.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.1578, allocations: 0 / 443.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000942/0.1587, allocations: 213 kB / 443.6 MB, free: 10.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.1588, allocations: 59.28 kB / 443.7 MB, free: 10.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.159, allocations: 178.4 kB / 443.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.159, allocations: 25.7 kB / 443.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.1591, allocations: 104 kB / 444 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.1591, allocations: 27.72 kB / 444 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.1592, allocations: 25.7 kB / 444.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1593, allocations: 318.8 kB / 444.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.1594, allocations: 31.97 kB / 444.4 MB, free: 9.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.318e-05/0.1595, allocations: 31.97 kB / 444.4 MB, free: 9.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.1597, allocations: 72.81 kB / 444.5 MB, free: 9.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1597, allocations: 0 / 444.5 MB, free: 9.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002656/0.16, allocations: 109.5 kB / 444.6 MB, free: 9.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.16, allocations: 8 kB / 444.6 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.16, allocations: 7.875 kB / 444.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1601, allocations: 3.984 kB / 444.6 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1602, allocations: 19.98 kB / 444.6 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1602, allocations: 4 kB / 444.7 MB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.1603, allocations: 4 kB / 444.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1603, allocations: 7.984 kB / 444.7 MB, free: 9.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.1604, allocations: 125.8 kB / 444.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.1604, allocations: 7.906 kB / 444.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.1609, allocations: 134.2 kB / 444.9 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1609, allocations: 4 kB / 444.9 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1609, allocations: 0 / 444.9 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1609, allocations: 3.938 kB / 444.9 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.1615, allocations: 378.5 kB / 445.3 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1615, allocations: 4 kB / 445.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.63e-05/0.1616, allocations: 23.98 kB / 445.3 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1616, allocations: 3.984 kB / 445.3 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.1616, allocations: 7.938 kB / 445.3 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1616, allocations: 4 kB / 445.3 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1616, allocations: 0 / 445.3 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.1619, allocations: 215.7 kB / 445.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.162, allocations: 85.02 kB / 445.6 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.162, allocations: 0 / 445.6 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.1621, allocations: 12.27 kB / 445.6 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.1621, allocations: 7.984 kB / 445.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1622, allocations: 4 kB / 445.7 MB, free: 8.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.697e-05/0.1623, allocations: 135.9 kB / 445.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1623, allocations: 0 / 445.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1625, allocations: 16 kB / 445.8 MB, free: 8.27 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 (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.001004/0.1635, allocations: 421.5 kB / 446.2 MB, free: 7.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.1638, allocations: 75.94 kB / 446.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1638, allocations: 0 / 446.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.164, allocations: 43.95 kB / 446.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.1644, allocations: 27.92 kB / 446.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.1649, allocations: 248.1 kB / 446.6 MB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.1652, allocations: 0.7043 MB / 447.3 MB, free: 6.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.86e-05/0.1653, allocations: 8 kB / 447.3 MB, free: 6.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.1653, allocations: 11.44 kB / 447.3 MB, free: 6.719 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1653, allocations: 0 / 447.3 MB, free: 6.719 MB / 382.1 MB Notification: Performance of Templates: time 0.003657/0.169, allocations: 1.163 MB / 448.5 MB, free: 5.555 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches