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) 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) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009935/0.0009936, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.14/1.14, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001974/0.0001975, allocations: 8 kB / 307.7 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07489/0.0751, allocations: 51.52 MB / 359.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001283/0.07642, allocations: 1.199 MB / 360.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001363/0.07656, allocations: 31.92 kB / 360.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.07662, allocations: 4 kB / 360.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.07664, allocations: 3.938 kB / 360.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.645e-05/0.07668, allocations: 3.984 kB / 360.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.07688, allocations: 27.92 kB / 360.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.951e-05/0.07695, allocations: 27.92 kB / 360.5 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.113e-05/0.07703, allocations: 15.98 kB / 360.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.015e-05/0.07707, allocations: 15.92 kB / 360.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.305e-05/0.07711, allocations: 11.92 kB / 360.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.07713, allocations: 0 / 360.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.07715, allocations: 8 kB / 360.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.07717, allocations: 11.92 kB / 360.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.07722, allocations: 37.64 kB / 360.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.685e-05/0.0773, allocations: 39.8 kB / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.07731, allocations: 0 / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.07731, allocations: 0 / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.07732, allocations: 0 / 360.7 MB, free: 11.85 MB / 302.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.0003779/0.0777, allocations: 355.6 kB / 361 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.07774, allocations: 8.031 kB / 361 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.07777, allocations: 12.84 kB / 361.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.07791, allocations: 172.4 kB / 361.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.07793, allocations: 384 / 361.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.07794, allocations: 4.375 kB / 361.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.07845, allocations: 163.7 kB / 361.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-06/0.07846, allocations: 192 / 361.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.07847, allocations: 3.938 kB / 361.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.07848, allocations: 4 kB / 361.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.07872, allocations: 55.94 kB / 361.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.07884, allocations: 161.6 kB / 361.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.07914, allocations: 94.42 kB / 361.7 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.07928, allocations: 40.91 kB / 361.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.07929, allocations: 4 kB / 361.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.07932, allocations: 34.56 kB / 361.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.07932, allocations: 0 / 361.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004284/0.07976, allocations: 121.5 kB / 361.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.07981, allocations: 59.41 kB / 362 MB, free: 10.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.07987, allocations: 109.8 kB / 362.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.0799, allocations: 25.7 kB / 362.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.503e-05/0.07993, allocations: 84.08 kB / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.07994, allocations: 7.938 kB / 362.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.07997, allocations: 13.72 kB / 362.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.08006, allocations: 318.8 kB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.08007, allocations: 8 kB / 362.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/0.08011, allocations: 27.44 kB / 362.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.989e-05/0.08015, allocations: 43.36 kB / 362.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.08016, allocations: 0 / 362.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.936e-05/0.08024, allocations: 61.48 kB / 362.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.08025, allocations: 7.984 kB / 362.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.08026, allocations: 7.938 kB / 362.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.08028, allocations: 0 / 362.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.08032, allocations: 8 kB / 362.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.08034, allocations: 3.938 kB / 362.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.08036, allocations: 4.125 kB / 362.7 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.08037, allocations: 8 kB / 362.7 MB, free: 9.605 MB / 302.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 6.311e-05/0.08044, allocations: 117.9 kB / 362.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.08071, allocations: 97.53 kB / 362.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.08074, allocations: 7.844 kB / 362.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.08074, allocations: 0 / 362.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.08075, allocations: 0 / 362.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.08076, allocations: 4 kB / 362.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.592e-05/0.08086, allocations: 157.7 kB / 363 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.08087, allocations: 4 kB / 363.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.584e-05/0.08096, allocations: 15.98 kB / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.08097, allocations: 3.984 kB / 363.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.08098, allocations: 11.88 kB / 363.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.08099, allocations: 0 / 363.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.08099, allocations: 0 / 363.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.0813, allocations: 113.1 kB / 363.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.08135, allocations: 81.02 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.08137, allocations: 7.938 kB / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/0.08144, allocations: 19.92 kB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-06/0.08145, allocations: 288 / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.08146, allocations: 0 / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.772e-05/0.08151, allocations: 91.27 kB / 363.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08151, allocations: 0 / 363.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001636/0.08168, allocations: 4 kB / 363.4 MB, free: 8.773 MB / 302.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 7.78e-05/0.08176, allocations: 99.19 kB / 363.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.08195, allocations: 51.89 kB / 363.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.08196, allocations: 0 / 363.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.08196, allocations: 0 / 363.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.08229, allocations: 47.92 kB / 363.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.08257, allocations: 132.7 kB / 363.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.08277, allocations: 0.6812 MB / 364.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.432e-05/0.08279, allocations: 4 kB / 364.4 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.08281, allocations: 11.44 kB / 364.4 MB, free: 7.688 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.08282, allocations: 3.938 kB / 364.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of Templates: time 0.001883/0.08471, allocations: 490.6 kB / 364.9 MB, free: 7.211 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches