Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009598/0.0009598, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.414/1.414, allocations: 221.3 MB / 235.5 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008189/0.0008189, allocations: 94.38 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.354e-05/2.357e-05, allocations: 0 / 343.8 MB, free: 4.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 50.42 MB / 394.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.286/0.3873, allocations: 76.02 MB / 470.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.3876, allocations: 71.95 kB / 470.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002255/0.3898, allocations: 0.8532 MB / 471.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3899, allocations: 4 kB / 471.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.3899, allocations: 0 / 471.2 MB, free: 10.63 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.0003611/0.3902, allocations: 335.2 kB / 471.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3903, allocations: 12.03 kB / 471.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.3903, allocations: 11.86 kB / 471.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.3905, allocations: 175 kB / 471.7 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3905, allocations: 4 kB / 471.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.3905, allocations: 4 kB / 471.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.3908, allocations: 104.1 kB / 471.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.3908, allocations: 0 / 471.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3908, allocations: 0 / 471.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3908, allocations: 4 kB / 471.8 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.29e-05/0.3909, allocations: 23.89 kB / 471.9 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001282/0.391, allocations: 161.6 kB / 472 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.3911, allocations: 46.56 kB / 472.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.3912, allocations: 20.89 kB / 472.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.3912, allocations: 0 / 472.1 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3912, allocations: 38.56 kB / 472.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3912, allocations: 0 / 472.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001388/0.3914, allocations: 61.66 kB / 472.2 MB, free: 9.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.3914, allocations: 59.41 kB / 472.2 MB, free: 9.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.3915, allocations: 92.98 kB / 472.3 MB, free: 9.312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3915, allocations: 37.64 kB / 472.4 MB, free: 9.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/0.3915, allocations: 80.14 kB / 472.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.769e-06/0.3916, allocations: 0 / 472.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.3916, allocations: 4 kB / 472.4 MB, free: 9.184 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3917, allocations: 326.8 kB / 472.8 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/0.3917, allocations: 0 / 472.8 MB, free: 8.855 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.577e-05/0.3917, allocations: 31.44 kB / 472.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/0.3918, allocations: 11.94 kB / 472.8 MB, free: 8.801 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3918, allocations: 4 kB / 472.8 MB, free: 8.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.826e-05/0.3918, allocations: 61.53 kB / 472.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3919, allocations: 5.094 kB / 472.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3919, allocations: 4 kB / 472.9 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3919, allocations: 0 / 472.9 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/0.3919, allocations: 11.98 kB / 472.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.392, allocations: 0 / 472.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.392, allocations: 4 kB / 472.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.392, allocations: 128 / 472.9 MB, free: 8.707 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.905e-05/0.3921, allocations: 127.2 kB / 473 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.3921, allocations: 45.69 kB / 473.1 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.3922, allocations: 12.03 kB / 473.1 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3922, allocations: 4.078 kB / 473.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3922, allocations: 0 / 473.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.3922, allocations: 3.938 kB / 473.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.838e-05/0.3923, allocations: 169.5 kB / 473.3 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3923, allocations: 0 / 473.3 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3924, allocations: 15.98 kB / 473.3 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3924, allocations: 4 kB / 473.3 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.3925, allocations: 4 kB / 473.3 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3925, allocations: 0 / 473.3 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3925, allocations: 4 kB / 473.3 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.3926, allocations: 85 kB / 473.4 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.3926, allocations: 77.11 kB / 473.4 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.3926, allocations: 4 kB / 473.4 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.3927, allocations: 7.984 kB / 473.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-06/0.3927, allocations: 4 kB / 473.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.3927, allocations: 0 / 473.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.79e-05/0.3928, allocations: 87.28 kB / 473.5 MB, free: 7.969 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3928, allocations: 0 / 473.5 MB, free: 7.969 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.393, allocations: 4 kB / 473.5 MB, free: 7.965 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.0001033/0.3931, allocations: 103.2 kB / 473.6 MB, free: 7.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.38e-05/0.3932, allocations: 23.94 kB / 473.7 MB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3932, allocations: 256 / 473.7 MB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.3932, allocations: 7.938 kB / 473.7 MB, free: 7.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.3934, allocations: 31.97 kB / 473.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.3936, allocations: 72.86 kB / 473.8 MB, free: 7.695 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.3938, allocations: 0.6848 MB / 474.5 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.751e-05/0.3938, allocations: 3.938 kB / 474.5 MB, free: 6.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.3939, allocations: 11.44 kB / 474.5 MB, free: 6.973 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3939, allocations: 0 / 474.5 MB, free: 6.973 MB / 346.7 MB Notification: Performance of Templates: time 0.002028/0.3959, allocations: 481 kB / 474.9 MB, free: 6.512 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches