Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009701/0.0009702, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.186/1.186, allocations: 227.2 MB / 245 MB, free: 7.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008423/0.0008423, allocations: 99.44 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002009/0.000201, allocations: 7.984 kB / 357.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1842, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08429/0.2685, allocations: 77.34 MB / 486.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.2688, allocations: 75.95 kB / 486.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002997/0.2718, allocations: 1.163 MB / 488 MB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2718, allocations: 0 / 488 MB, free: 12.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.2718, allocations: 0 / 488 MB, free: 12.07 MB / 362.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.0003401/0.2722, allocations: 355.2 kB / 488.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2722, allocations: 12.03 kB / 488.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.2722, allocations: 3.906 kB / 488.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.2724, allocations: 171.1 kB / 488.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.2724, allocations: 4 kB / 488.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2724, allocations: 0 / 488.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.2728, allocations: 167.1 kB / 488.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2729, allocations: 0 / 488.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.2729, allocations: 0 / 488.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2729, allocations: 0 / 488.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.2731, allocations: 47.95 kB / 488.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.2732, allocations: 169.6 kB / 488.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.2735, allocations: 98.48 kB / 489 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.2735, allocations: 0 / 489 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.2735, allocations: 34.56 kB / 489 MB, free: 10.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.2735, allocations: 0 / 489 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003256/0.2739, allocations: 117.8 kB / 489.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2739, allocations: 59.39 kB / 489.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/0.274, allocations: 108.9 kB / 489.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.274, allocations: 25.7 kB / 489.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.2741, allocations: 80.14 kB / 489.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.2741, allocations: 7.938 kB / 489.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.2741, allocations: 0 / 489.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.2742, allocations: 322.8 kB / 489.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-06/0.2742, allocations: 0 / 489.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.2742, allocations: 27.44 kB / 489.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.704e-05/0.2743, allocations: 4 kB / 489.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2743, allocations: 0 / 489.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.465e-05/0.2743, allocations: 65.56 kB / 489.8 MB, free: 10 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2744, allocations: 8 kB / 489.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2744, allocations: 0 / 489.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2744, allocations: 3.953 kB / 489.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.829e-05/0.2744, allocations: 11.98 kB / 489.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2745, allocations: 0 / 489.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.2745, allocations: 3.938 kB / 489.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.2745, allocations: 4 kB / 489.9 MB, free: 9.969 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.791e-05/0.2746, allocations: 118 kB / 490 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.2748, allocations: 89.5 kB / 490.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.2748, allocations: 3.906 kB / 490.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2748, allocations: 0 / 490.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2748, allocations: 7.953 kB / 490.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2748, allocations: 0 / 490.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.457e-05/0.2749, allocations: 161.7 kB / 490.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2749, allocations: 0 / 490.2 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-05/0.275, allocations: 11.98 kB / 490.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.275, allocations: 8 kB / 490.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.275, allocations: 0 / 490.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.275, allocations: 3.938 kB / 490.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2751, allocations: 0 / 490.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.2753, allocations: 121 kB / 490.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.2753, allocations: 81.02 kB / 490.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2753, allocations: 0 / 490.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.174e-05/0.2754, allocations: 15.98 kB / 490.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-06/0.2754, allocations: 0 / 490.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.2754, allocations: 3.938 kB / 490.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.101e-05/0.2755, allocations: 83.28 kB / 490.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2755, allocations: 4 kB / 490.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.2756, allocations: 7.953 kB / 490.6 MB, free: 9.152 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked 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 9.561e-05/0.2757, allocations: 99.25 kB / 490.7 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.2759, allocations: 39.97 kB / 490.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2759, allocations: 0 / 490.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.2759, allocations: 3.938 kB / 490.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.2762, allocations: 42.14 kB / 490.7 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.2764, allocations: 132.5 kB / 490.9 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.2766, allocations: 0.6848 MB / 491.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.776e-05/0.2766, allocations: 0 / 491.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.2767, allocations: 11.44 kB / 491.6 MB, free: 8.086 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2767, allocations: 0 / 491.6 MB, free: 8.086 MB / 362.7 MB Notification: Performance of Templates: time 0.001899/0.2786, allocations: 364.4 kB / 491.9 MB, free: 7.742 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches