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.001443/0.001443, allocations: 177.6 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.0008223/0.0008224, allocations: 91.47 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.669e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09563, allocations: 50.42 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.292/0.3877, allocations: 75.35 MB / 462.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.388, allocations: 75.95 kB / 462.9 MB, free: 3.434 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002238/0.3902, allocations: 0.858 MB / 463.7 MB, free: 2.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3902, allocations: 0 / 463.7 MB, free: 2.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3902, allocations: 0 / 463.7 MB, free: 2.582 MB / 330.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.0003623/0.3906, allocations: 339.2 kB / 464.1 MB, free: 2.207 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3906, allocations: 8.031 kB / 464.1 MB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.3907, allocations: 11.86 kB / 464.1 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3908, allocations: 167.1 kB / 464.3 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3909, allocations: 0 / 464.3 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.3909, allocations: 8 kB / 464.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.538e-05/0.391, allocations: 20.8 kB / 464.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3912, allocations: 100.1 kB / 464.4 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.3912, allocations: 0 / 464.4 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.3912, allocations: 0 / 464.4 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3912, allocations: 3.953 kB / 464.4 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.3913, allocations: 146.2 kB / 464.5 MB, free: 1.664 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.049e-05/0.3914, allocations: 46.5 kB / 464.6 MB, free: 1.609 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.3915, allocations: 28.88 kB / 464.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.3915, allocations: 0 / 464.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.3915, allocations: 34.5 kB / 464.6 MB, free: 1.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.3915, allocations: 0 / 464.6 MB, free: 1.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001302/0.3916, allocations: 53.73 kB / 464.7 MB, free: 1.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.3917, allocations: 59.41 kB / 464.8 MB, free: 1.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.655e-05/0.3918, allocations: 105 kB / 464.9 MB, free: 1.301 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.3918, allocations: 25.7 kB / 464.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.3918, allocations: 84.14 kB / 465 MB, free: 1.184 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.3918, allocations: 0 / 465 MB, free: 1.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.3918, allocations: 0 / 465 MB, free: 1.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.3919, allocations: 326.8 kB / 465.3 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.3919, allocations: 3.938 kB / 465.3 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.392, allocations: 31.44 kB / 465.3 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.71e-05/0.392, allocations: 8 kB / 465.3 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.392, allocations: 0 / 465.3 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.847e-05/0.3921, allocations: 58.28 kB / 465.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.3921, allocations: 8.125 kB / 465.4 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3921, allocations: 4 kB / 465.4 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.3921, allocations: 0 / 465.4 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/0.3922, allocations: 8 kB / 465.4 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.3922, allocations: 0 / 465.4 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.3922, allocations: 0 / 465.4 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3922, allocations: 7.984 kB / 465.4 MB, free: 0.7109 MB / 330.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.414e-05/0.3923, allocations: 120.8 kB / 465.5 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.3924, allocations: 49.69 kB / 465.6 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.3924, allocations: 8.344 kB / 465.6 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3924, allocations: 4 kB / 465.6 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3924, allocations: 0 / 465.6 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3924, allocations: 3.938 kB / 465.6 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.118e-05/0.3925, allocations: 142.1 kB / 465.7 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3925, allocations: 0 / 465.7 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.952e-05/0.3926, allocations: 19.98 kB / 465.7 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3926, allocations: 0 / 465.7 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.3926, allocations: 3.984 kB / 465.8 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3926, allocations: 4 kB / 465.8 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3926, allocations: 0 / 465.8 MB, free: 316 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.347e-05/0.3927, allocations: 81.06 kB / 465.8 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.3928, allocations: 81.06 kB / 465.9 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3928, allocations: 0 / 465.9 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/0.3929, allocations: 11.98 kB / 465.9 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-06/0.3929, allocations: 0 / 465.9 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3929, allocations: 0 / 465.9 MB, free: 104 kB / 330.7 MB Notification: Performance of sorting global known variables: time 3.224e-05/0.3929, allocations: 87.27 kB / 466 MB, free: 16 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3929, allocations: 0 / 466 MB, free: 16 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.3931, allocations: 12 kB / 466 MB, free: 4 kB / 330.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.000106/0.3932, allocations: 95.25 kB / 466.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.343e-05/0.3933, allocations: 19.94 kB / 466.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3933, allocations: 0 / 466.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.3933, allocations: 0 / 466.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.3935, allocations: 20.22 kB / 466.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.3937, allocations: 78.45 kB / 466.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.3939, allocations: 0.6885 MB / 466.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.075e-05/0.394, allocations: 8.031 kB / 466.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.394, allocations: 7.438 kB / 466.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.394, allocations: 3.938 kB / 466.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of Templates: time 0.001843/0.3958, allocations: 455.7 kB / 467.4 MB, free: 14.6 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