Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2592/0.2592, allocations: 46.11 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 81.11 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1643, allocations: 62.46 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00344/0.1678, allocations: 1.685 MB / 481.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1696, allocations: 1.002 MB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.1697, allocations: 0 / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.1701, allocations: 67.72 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.1704, allocations: 103.5 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.1706, allocations: 71.75 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.1708, allocations: 115.6 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.423e-05/0.1709, allocations: 4.234 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.977e-05/0.171, allocations: 43.78 kB / 483.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.808e-05/0.1711, allocations: 47.77 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1711, allocations: 4 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.002e-05/0.1712, allocations: 31.98 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.1713, allocations: 19.92 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.1713, allocations: 39.72 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1715, allocations: 103.9 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1716, allocations: 4 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1716, allocations: 0 / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1716, allocations: 0 / 483.5 MB, free: 1.82 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005506/0.1721, allocations: 410.9 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1722, allocations: 12.03 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.1722, allocations: 12.84 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.1725, allocations: 208.7 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1725, allocations: 384 / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.1725, allocations: 8.125 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1727, allocations: 49.67 kB / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1727, allocations: 0 / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1727, allocations: 4 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1727, allocations: 0 / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.426e-05/0.1728, allocations: 15.92 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.1731, allocations: 185.7 kB / 484.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1733, allocations: 54.61 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.1733, allocations: 20.8 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.1734, allocations: 0 / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.1736, allocations: 71.38 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.1736, allocations: 3.938 kB / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003459/0.1739, allocations: 97.48 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.174, allocations: 55.41 kB / 484.6 MB, free: 464 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.1743, allocations: 194.4 kB / 484.8 MB, free: 260 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1743, allocations: 25.7 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.1744, allocations: 104.1 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/0.1744, allocations: 11.89 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.1745, allocations: 17.72 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.1747, allocations: 326.8 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.004e-05/0.1747, allocations: 15.98 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.542e-05/0.1748, allocations: 25.72 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1749, allocations: 49.64 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1749, allocations: 0 / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000203/0.1751, allocations: 85.38 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1751, allocations: 11.92 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1752, allocations: 4 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1752, allocations: 4.031 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.1753, allocations: 8 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1753, allocations: 0 / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.1753, allocations: 4 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1753, allocations: 0 / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001184/0.1755, allocations: 133.8 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.1755, allocations: 11.81 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.1755, allocations: 20.92 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1756, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1756, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1756, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.1758, allocations: 189.5 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1758, allocations: 320 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.1758, allocations: 15.92 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1758, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1758, allocations: 4 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1758, allocations: 0 / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1758, allocations: 0 / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.176, allocations: 116.9 kB / 486 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.1761, allocations: 85.02 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1761, allocations: 0 / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/0.1762, allocations: 4 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.1762, allocations: 3.984 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1762, allocations: 4 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.1764, allocations: 148.2 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1764, allocations: 0 / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.1766, allocations: 16 kB / 486.2 MB, free: 14.7 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001577/0.1782, allocations: 412.3 kB / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.1784, allocations: 43.98 kB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1784, allocations: 0 / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.619e-05/0.1785, allocations: 23.92 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.1788, allocations: 34.84 kB / 486.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.1792, allocations: 214 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.1796, allocations: 0.701 MB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.97e-05/0.1797, allocations: 12.56 kB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.1797, allocations: 19.42 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1797, allocations: 0 / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of Templates: time 0.004888/0.1846, allocations: 1.499 MB / 489.2 MB, free: 11.84 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches