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/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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009113/0.0009114, allocations: 91.58 kB / 292.1 MB, free: 5.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.142e-05, allocations: 4 kB / 350.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 51.48 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/0.4801, allocations: 76.83 MB / 478.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4804, allocations: 66.08 kB / 478.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002441/0.4828, allocations: 0.8603 MB / 479.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4829, allocations: 0.5 kB / 479.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.4829, allocations: 4 kB / 479.8 MB, free: 11.77 MB / 346.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.0003791/0.4833, allocations: 335.5 kB / 480.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.4833, allocations: 12.03 kB / 480.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.4834, allocations: 6.219 kB / 480.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.4836, allocations: 174.6 kB / 480.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.4836, allocations: 0.8594 kB / 480.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.4837, allocations: 5.406 kB / 480.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.4839, allocations: 109.9 kB / 480.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.484, allocations: 0.75 kB / 480.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.484, allocations: 3.5 kB / 480.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.484, allocations: 0 / 480.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.972e-05/0.4841, allocations: 15.67 kB / 480.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.4842, allocations: 167.9 kB / 480.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.4844, allocations: 49.94 kB / 480.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.4844, allocations: 20.64 kB / 480.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.4844, allocations: 1.625 kB / 480.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.4845, allocations: 37.69 kB / 480.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.878e-06/0.4845, allocations: 1.172 kB / 480.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001904/0.4847, allocations: 60.89 kB / 480.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.4848, allocations: 54.09 kB / 480.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/0.4849, allocations: 102.3 kB / 480.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.4849, allocations: 29.7 kB / 480.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.4849, allocations: 84.02 kB / 481 MB, free: 10.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.4849, allocations: 0 / 481 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.4849, allocations: 0 / 481 MB, free: 10.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.485, allocations: 318.5 kB / 481.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.4851, allocations: 4 kB / 481.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.127e-05/0.4851, allocations: 35.42 kB / 481.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/0.4851, allocations: 6.75 kB / 481.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4851, allocations: 0 / 481.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.515e-05/0.4852, allocations: 71.09 kB / 481.5 MB, free: 9.984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4852, allocations: 6.281 kB / 481.5 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4853, allocations: 4 kB / 481.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4853, allocations: 3.953 kB / 481.5 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.4854, allocations: 9 kB / 481.5 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4854, allocations: 0 / 481.5 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.4854, allocations: 0 / 481.5 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.4854, allocations: 4.562 kB / 481.5 MB, free: 9.961 MB / 346.7 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 (ramp.counter,$CLKPRE.ramp.counter) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/0.4855, allocations: 120 kB / 481.6 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.009e-05/0.4856, allocations: 52.77 kB / 481.7 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.4856, allocations: 15.23 kB / 481.7 MB, free: 9.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4856, allocations: 3.953 kB / 481.7 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4856, allocations: 0.5 kB / 481.7 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.4857, allocations: 1.031 kB / 481.7 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.4858, allocations: 162.4 kB / 481.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4858, allocations: 0 / 481.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.4859, allocations: 16.98 kB / 481.8 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4859, allocations: 0 / 481.8 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.4859, allocations: 6.984 kB / 481.9 MB, free: 9.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4859, allocations: 4 kB / 481.9 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4859, allocations: 3.953 kB / 481.9 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.486, allocations: 80 kB / 481.9 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.4861, allocations: 77.11 kB / 482 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.4861, allocations: 3.75 kB / 482 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.4862, allocations: 14.23 kB / 482 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-06/0.4862, allocations: 0 / 482 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.4862, allocations: 3.984 kB / 482 MB, free: 9.348 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.421e-05/0.4863, allocations: 96.12 kB / 482.1 MB, free: 9.258 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4863, allocations: 0 / 482.1 MB, free: 9.258 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002042/0.4865, allocations: 4 kB / 482.1 MB, free: 9.254 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001486/0.4866, allocations: 97.81 kB / 482.2 MB, free: 9.148 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.4868, allocations: 26.72 kB / 482.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4868, allocations: 0 / 482.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.4868, allocations: 0 / 482.3 MB, free: 9.129 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.4871, allocations: 30.14 kB / 482.3 MB, free: 9.105 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.4874, allocations: 78.56 kB / 482.4 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.4876, allocations: 0.6848 MB / 483 MB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.969e-05/0.4876, allocations: 3.906 kB / 483 MB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.4876, allocations: 15.42 kB / 483.1 MB, free: 8.285 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4876, allocations: 0 / 483.1 MB, free: 8.285 MB / 346.7 MB Notification: Performance of Templates: time 0.002559/0.4902, allocations: 480.8 kB / 483.5 MB, free: 7.863 MB / 346.7 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches