Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.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.CombiTable1D.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009906/0.000991, allocations: 102.6 kB / 16.02 MB, free: 76 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.0009528/0.0009529, allocations: 184 kB / 16.92 MB, free: 6.688 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.141/2.141, allocations: 205.4 MB / 223.1 MB, free: 5.793 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.4813/0.4813, allocations: 43.58 MB / 315 MB, free: 8.742 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.0005447/0.0005445, allocations: 12 kB / 384.6 MB, free: 7.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1601, allocations: 58.88 MB / 443.5 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.00201/0.1621, allocations: 1.271 MB / 444.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006648/0.1628, allocations: 315.7 kB / 445 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.1629, allocations: 4 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1632, allocations: 103.8 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.1634, allocations: 71.78 kB / 445.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.1637, allocations: 87.89 kB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1638, allocations: 71.75 kB / 445.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1639, allocations: 19.97 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.899e-05/0.164, allocations: 27.91 kB / 445.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1641, allocations: 59.81 kB / 445.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1641, allocations: 4 kB / 445.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.1642, allocations: 31.92 kB / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.1643, allocations: 27.92 kB / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.1644, allocations: 53.44 kB / 445.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.1645, allocations: 95.92 kB / 445.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1645, allocations: 0 / 445.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1646, allocations: 0 / 445.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1646, allocations: 0 / 445.7 MB, free: 10.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004836/0.1651, allocations: 395.1 kB / 446.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1651, allocations: 11.97 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.1651, allocations: 12.75 kB / 446.1 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1654, allocations: 212 kB / 446.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1654, allocations: 384 / 446.3 MB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.1654, allocations: 4.375 kB / 446.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1656, allocations: 49.81 kB / 446.3 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1656, allocations: 0 / 446.3 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1656, allocations: 0 / 446.3 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1656, allocations: 0 / 446.3 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.972e-05/0.1657, allocations: 39.97 kB / 446.4 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.1661, allocations: 292.7 kB / 446.7 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1663, allocations: 50.56 kB / 446.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.1664, allocations: 20.94 kB / 446.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1664, allocations: 7.938 kB / 446.8 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1665, allocations: 30.56 kB / 446.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1665, allocations: 0 / 446.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005986/0.1671, allocations: 169.2 kB / 446.9 MB, free: 9.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.1671, allocations: 55.41 kB / 447 MB, free: 8.941 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1674, allocations: 238.7 kB / 447.2 MB, free: 8.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1674, allocations: 25.7 kB / 447.3 MB, free: 8.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.1675, allocations: 116 kB / 447.4 MB, free: 8.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.1675, allocations: 19.8 kB / 447.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.1675, allocations: 9.719 kB / 447.4 MB, free: 8.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1677, allocations: 330.8 kB / 447.7 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.456e-05/0.1677, allocations: 23.98 kB / 447.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.61e-05/0.1678, allocations: 27.92 kB / 447.8 MB, free: 8.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.168, allocations: 68.81 kB / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.168, allocations: 0 / 447.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001809/0.1682, allocations: 85.58 kB / 447.9 MB, free: 7.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1682, allocations: 12 kB / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1682, allocations: 0 / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1682, allocations: 0 / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.1683, allocations: 15.98 kB / 448 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1683, allocations: 0 / 448 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.1684, allocations: 16.17 kB / 448 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1684, allocations: 8 kB / 448 MB, free: 7.918 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 (5): * Single equations (assignments): 5 * 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.0001078/0.1685, allocations: 137.7 kB / 448.1 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.1685, allocations: 11.81 kB / 448.1 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.1688, allocations: 110.7 kB / 448.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1688, allocations: 0 / 448.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1688, allocations: 0 / 448.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1688, allocations: 0 / 448.2 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.1693, allocations: 378.4 kB / 448.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1693, allocations: 288 / 448.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.1693, allocations: 15.98 kB / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1693, allocations: 0 / 448.6 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.1694, allocations: 4 kB / 448.6 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1694, allocations: 7.938 kB / 448.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1694, allocations: 0 / 448.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.1696, allocations: 199.2 kB / 448.8 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.1697, allocations: 85.02 kB / 448.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1697, allocations: 8 kB / 448.9 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1698, allocations: 15.92 kB / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.1698, allocations: 0 / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1698, allocations: 0 / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.17, allocations: 196.2 kB / 449.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.17, allocations: 0 / 449.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1702, allocations: 16 kB / 449.1 MB, free: 6.645 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 (5): * Single equations (assignments): 5 * 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.0009301/0.1712, allocations: 401.4 kB / 449.5 MB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1714, allocations: 59.97 kB / 449.6 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1714, allocations: 0 / 449.6 MB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.1715, allocations: 39.91 kB / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1718, allocations: 15.94 kB / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.1723, allocations: 277.5 kB / 449.9 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1726, allocations: 0.7083 MB / 450.6 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.02e-05/0.1727, allocations: 19.91 kB / 450.6 MB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.1727, allocations: 11.44 kB / 450.7 MB, free: 5.102 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1727, allocations: 0 / 450.7 MB, free: 5.102 MB / 382.1 MB Notification: Performance of Templates: time 0.003506/0.1763, allocations: 1.067 MB / 451.7 MB, free: 4.035 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches