Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 177.2 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.791/1.791, allocations: 223.3 MB / 241.4 MB, free: 11.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008225/0.0008225, allocations: 98.08 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003221, allocations: 15.94 kB / 352.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2578, allocations: 50.39 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.3649, allocations: 76.56 MB / 479.3 MB, free: 3.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/0.3654, allocations: 75.95 kB / 479.4 MB, free: 3.707 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003376/0.3688, allocations: 1.103 MB / 480.5 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.135e-06/0.3688, allocations: 3.938 kB / 480.5 MB, free: 2.609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.3688, allocations: 0 / 480.5 MB, free: 2.609 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.0004505/0.3693, allocations: 355.4 kB / 480.8 MB, free: 2.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.3693, allocations: 8.031 kB / 480.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.3694, allocations: 8.844 kB / 480.9 MB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.3696, allocations: 180.3 kB / 481 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3696, allocations: 4.375 kB / 481 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.3696, allocations: 4.359 kB / 481 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.3701, allocations: 143.8 kB / 481.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3701, allocations: 192 / 481.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.3701, allocations: 7.938 kB / 481.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3702, allocations: 0 / 481.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.3704, allocations: 55.89 kB / 481.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.3706, allocations: 157.7 kB / 481.4 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.3709, allocations: 94.52 kB / 481.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.371, allocations: 44.91 kB / 481.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.371, allocations: 4 kB / 481.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.3711, allocations: 30.56 kB / 481.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3711, allocations: 0 / 481.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003948/0.3715, allocations: 121.4 kB / 481.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.3715, allocations: 59.34 kB / 481.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3716, allocations: 105.8 kB / 481.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.3717, allocations: 25.7 kB / 481.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.3717, allocations: 84.14 kB / 481.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.101e-05/0.3717, allocations: 3.984 kB / 482 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.3717, allocations: 4 kB / 482 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3719, allocations: 318.8 kB / 482.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.3719, allocations: 0 / 482.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.769e-05/0.3719, allocations: 27.61 kB / 482.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.057e-05/0.372, allocations: 39.38 kB / 482.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.372, allocations: 0 / 482.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.985e-05/0.3721, allocations: 57.56 kB / 482.4 MB, free: 468 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3721, allocations: 4 kB / 482.4 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3721, allocations: 7.938 kB / 482.4 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3721, allocations: 96 / 482.4 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.3722, allocations: 7.984 kB / 482.4 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3722, allocations: 4 kB / 482.4 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.134e-05/0.3723, allocations: 8.031 kB / 482.4 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3723, allocations: 8 kB / 482.4 MB, free: 428 kB / 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: 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 8.174e-05/0.3724, allocations: 105.8 kB / 482.5 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.3725, allocations: 85.59 kB / 482.6 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.3726, allocations: 23.83 kB / 482.6 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3726, allocations: 3.938 kB / 482.6 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3726, allocations: 0 / 482.6 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3726, allocations: 0 / 482.6 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.3728, allocations: 161.7 kB / 482.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3728, allocations: 0 / 482.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/0.3728, allocations: 12 kB / 482.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3729, allocations: 0 / 482.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.3729, allocations: 3.938 kB / 482.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3729, allocations: 7.984 kB / 482.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3729, allocations: 4 kB / 482.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.3731, allocations: 112.9 kB / 482.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.3732, allocations: 89.05 kB / 483 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3732, allocations: 3.938 kB / 483 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.268e-05/0.3733, allocations: 7.984 kB / 483 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-06/0.3733, allocations: 7.938 kB / 483 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.3733, allocations: 0 / 483 MB, free: 15.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.821e-05/0.3733, allocations: 83.28 kB / 483.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3733, allocations: 0 / 483.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001822/0.3735, allocations: 4 kB / 483.1 MB, free: 15.61 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 0.0001567/0.3737, allocations: 103.2 kB / 483.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.3739, allocations: 35.92 kB / 483.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.3739, allocations: 4 kB / 483.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.3739, allocations: 4 kB / 483.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.3743, allocations: 36.22 kB / 483.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.3746, allocations: 128.7 kB / 483.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.3749, allocations: 0.6809 MB / 484.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.755e-05/0.375, allocations: 3.984 kB / 484.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.375, allocations: 7.438 kB / 484.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.375, allocations: 4 kB / 484.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Templates: time 0.002225/0.3772, allocations: 373.5 kB / 484.5 MB, free: 14.19 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches