Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001558/0.001558, allocations: 112.3 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 197 kB / 21.45 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.617/1.617, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 59.91 kB / 373.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1524, allocations: 53.32 MB / 427.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003185/0.1556, allocations: 1.48 MB / 428.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002716/0.1558, allocations: 35.91 kB / 428.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.813e-05/0.1559, allocations: 3.938 kB / 428.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.129e-05/0.156, allocations: 0 / 428.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.1561, allocations: 3.938 kB / 428.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.1564, allocations: 35.91 kB / 428.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.1565, allocations: 39.91 kB / 428.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1567, allocations: 8 kB / 428.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.1567, allocations: 19.91 kB / 428.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.613e-05/0.1568, allocations: 15.92 kB / 428.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.1568, allocations: 7.938 kB / 428.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.1568, allocations: 4 kB / 428.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.1569, allocations: 7.984 kB / 428.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.1569, allocations: 15.88 kB / 428.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.1571, allocations: 43.81 kB / 428.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1571, allocations: 0 / 428.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1571, allocations: 4 kB / 428.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.1571, allocations: 0 / 428.9 MB, free: 2.746 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006855/0.1578, allocations: 362.1 kB / 429.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1579, allocations: 8.031 kB / 429.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.1579, allocations: 4.891 kB / 429.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.1583, allocations: 184.3 kB / 429.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.1583, allocations: 384 / 429.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1583, allocations: 4.375 kB / 429.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006352/0.1589, allocations: 171.7 kB / 429.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.159, allocations: 192 / 429.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.159, allocations: 3.938 kB / 429.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.159, allocations: 0 / 429.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.1592, allocations: 43.94 kB / 429.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.1594, allocations: 165.7 kB / 429.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.1598, allocations: 90.47 kB / 429.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.16, allocations: 32.88 kB / 429.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.16, allocations: 0 / 429.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.16, allocations: 30.56 kB / 430 MB, free: 1.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.16, allocations: 0 / 430 MB, free: 1.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005345/0.1605, allocations: 117.5 kB / 430.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.1606, allocations: 63.34 kB / 430.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.1607, allocations: 109.8 kB / 430.2 MB, free: 1.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1607, allocations: 25.7 kB / 430.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.1608, allocations: 88.08 kB / 430.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.1608, allocations: 7.953 kB / 430.4 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.1609, allocations: 13.72 kB / 430.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.161, allocations: 318.8 kB / 430.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.1611, allocations: 4 kB / 430.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.989e-05/0.1611, allocations: 31.44 kB / 430.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.794e-05/0.1612, allocations: 43.3 kB / 430.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1612, allocations: 0 / 430.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001005/0.1613, allocations: 61.67 kB / 430.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1613, allocations: 7.984 kB / 430.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1613, allocations: 3.938 kB / 430.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1613, allocations: 4 kB / 430.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/0.1614, allocations: 11.94 kB / 430.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1614, allocations: 0 / 430.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.1614, allocations: 0 / 430.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1614, allocations: 4 kB / 430.9 MB, free: 0.5195 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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.0001245/0.1616, allocations: 113.8 kB / 431 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.1619, allocations: 93.67 kB / 431.1 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.1619, allocations: 11.84 kB / 431.1 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1619, allocations: 0 / 431.1 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1619, allocations: 0 / 431.1 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1619, allocations: 0 / 431.1 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.1621, allocations: 165.7 kB / 431.2 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1621, allocations: 4 kB / 431.2 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-05/0.1622, allocations: 11.98 kB / 431.2 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.1622, allocations: 4.219 kB / 431.2 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1622, allocations: 3.938 kB / 431.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1622, allocations: 8 kB / 431.3 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1622, allocations: 0 / 431.3 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.1626, allocations: 117 kB / 431.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.1627, allocations: 81.11 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1627, allocations: 3.938 kB / 431.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.1628, allocations: 11.98 kB / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-06/0.1628, allocations: 0 / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1628, allocations: 4 kB / 431.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.95e-05/0.1629, allocations: 91.25 kB / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1629, allocations: 0 / 431.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001938/0.163, allocations: 8 kB / 431.6 MB, free: 15.69 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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001748/0.1632, allocations: 103.1 kB / 431.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.1635, allocations: 35.97 kB / 431.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1635, allocations: 0 / 431.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.1635, allocations: 0 / 431.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.1639, allocations: 56.11 kB / 431.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.1643, allocations: 133.5 kB / 431.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.1648, allocations: 0.6807 MB / 432.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.01e-05/0.1648, allocations: 0 / 432.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.1648, allocations: 11.44 kB / 432.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1648, allocations: 0 / 432.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of Templates: time 0.003841/0.1687, allocations: 0.5249 MB / 433.1 MB, free: 14.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.919684825465083]