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.0009663/0.0009663, allocations: 85.91 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001109/0.001109, allocations: 157.7 kB / 25.61 MB, free: 8.094 MB / 18.57 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 0.9784/0.9784, allocations: 177 MB / 205.9 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] 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 1.082e-06/1.082e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.032e-05, allocations: 4.703 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001965/0.001985, allocations: 1.511 MB / 275.6 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001779/0.002163, allocations: 42.38 kB / 275.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.002232, allocations: 0 / 275.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.002258, allocations: 3.938 kB / 275.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.829e-05/0.002306, allocations: 7.922 kB / 275.7 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.002566, allocations: 27.91 kB / 275.7 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.74e-05/0.002654, allocations: 39.86 kB / 275.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.972e-05/0.002733, allocations: 12.59 kB / 275.8 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.196e-05/0.002795, allocations: 20.92 kB / 275.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.813e-05/0.002833, allocations: 15.92 kB / 275.8 MB, free: 2.602 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.002854, allocations: 4 kB / 275.8 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-06/0.002863, allocations: 5.188 kB / 275.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.002885, allocations: 4 kB / 275.8 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.002913, allocations: 19.91 kB / 275.8 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.502e-05/0.003008, allocations: 25.19 kB / 275.9 MB, free: 2.547 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.00301, allocations: 0 / 275.9 MB, free: 2.547 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003011, allocations: 3.938 kB / 275.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.003015, allocations: 0.75 kB / 275.9 MB, free: 2.543 MB / 250.7 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.0003377/0.003352, allocations: 372.6 kB / 276.2 MB, free: 2.141 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.003389, allocations: 10.09 kB / 276.2 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.003415, allocations: 12.83 kB / 276.3 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.003548, allocations: 124.5 kB / 276.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.003565, allocations: 4.375 kB / 276.4 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.003573, allocations: 4.375 kB / 276.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.003744, allocations: 130.1 kB / 276.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.00375, allocations: 192 / 276.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.003757, allocations: 384 / 276.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.003761, allocations: 384 / 276.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.42e-05/0.003785, allocations: 11.92 kB / 276.5 MB, free: 1.809 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.893e-05/0.003864, allocations: 93.27 kB / 276.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.321e-05/0.003927, allocations: 47.03 kB / 276.7 MB, free: 1.633 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.003953, allocations: 23.69 kB / 276.7 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.00396, allocations: 4 kB / 276.7 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.003981, allocations: 33.39 kB / 276.7 MB, free: 1.559 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.003982, allocations: 0 / 276.7 MB, free: 1.559 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001134/0.004095, allocations: 49.69 kB / 276.8 MB, free: 1.504 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.004135, allocations: 55.41 kB / 276.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.675e-05/0.004202, allocations: 165.9 kB / 277 MB, free: 1.258 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.004212, allocations: 25.7 kB / 277 MB, free: 1.227 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.004249, allocations: 130.9 kB / 277.1 MB, free: 1.094 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.004259, allocations: 7.891 kB / 277.1 MB, free: 1.086 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.004285, allocations: 23.36 kB / 277.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.004401, allocations: 0.4883 MB / 277.7 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-06/0.004407, allocations: 8 kB / 277.7 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-06/0.004411, allocations: 0 / 277.7 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.934e-05/0.00443, allocations: 11.69 kB / 277.7 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.004432, allocations: 0 / 277.7 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.521e-05/0.004477, allocations: 41.69 kB / 277.7 MB, free: 496 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.004489, allocations: 4 kB / 277.7 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.004492, allocations: 3.938 kB / 277.7 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.0045, allocations: 0 / 277.7 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.373e-05/0.004533, allocations: 7.938 kB / 277.7 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.004536, allocations: 4.094 kB / 277.7 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-06/0.004545, allocations: 4 kB / 277.7 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-06/0.004549, allocations: 3.938 kB / 277.7 MB, free: 468 kB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 6.907e-05/0.004618, allocations: 156.6 kB / 277.9 MB, free: 300 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.00466, allocations: 45.69 kB / 277.9 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/0.00468, allocations: 7.984 kB / 277.9 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.004682, allocations: 0 / 277.9 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.004683, allocations: 4 kB / 278 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.004686, allocations: 0 / 278 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.964e-05/0.004746, allocations: 109.2 kB / 278.1 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004747, allocations: 4.234 kB / 278.1 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.004786, allocations: 11.98 kB / 278.1 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.004787, allocations: 0 / 278.1 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.004793, allocations: 0 / 278.1 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.004794, allocations: 0 / 278.1 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.004797, allocations: 7.922 kB / 278.1 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.294e-05/0.00485, allocations: 68.38 kB / 278.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.004855, allocations: 4 kB / 278.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.004867, allocations: 0 / 278.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.749e-05/0.004884, allocations: 8 kB / 278.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-06/0.004887, allocations: 0 / 278.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.004891, allocations: 7.984 kB / 278.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.689e-05/0.004927, allocations: 135.5 kB / 278.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004927, allocations: 0 / 278.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001123/0.00504, allocations: 4 kB / 278.3 MB, free: 15.82 MB / 266.7 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 6.913e-05/0.005109, allocations: 91.25 kB / 278.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.604e-05/0.005175, allocations: 23.61 kB / 278.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.005176, allocations: 0 / 278.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.005177, allocations: 0 / 278.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.00535, allocations: 33.36 kB / 278.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002008/0.005551, allocations: 124.9 kB / 278.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.215e-05/0.005583, allocations: 63.2 kB / 278.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.244e-05/0.005595, allocations: 0 / 278.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.005645, allocations: 70.2 kB / 278.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.005646, allocations: 0 / 278.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Templates: time 0.002032/0.007678, allocations: 0.6024 MB / 279.3 MB, free: 14.78 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8843927229754627]