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.00137/0.00137, allocations: 180.4 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.552/1.552, allocations: 223.3 MB / 241.4 MB, free: 9.957 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.0008513/0.0008513, allocations: 101.1 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005968/0.0005969, allocations: 11.94 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3238, allocations: 50.41 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.438, allocations: 76.12 MB / 478.9 MB, free: 4.203 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.4383, allocations: 76.48 kB / 478.9 MB, free: 4.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002394/0.4407, allocations: 0.8496 MB / 479.8 MB, free: 3.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4407, allocations: 0 / 479.8 MB, free: 3.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.4407, allocations: 0 / 479.8 MB, free: 3.285 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.0004273/0.4412, allocations: 352.4 kB / 480.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4412, allocations: 8.031 kB / 480.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.4413, allocations: 6.094 kB / 480.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.4414, allocations: 184.2 kB / 480.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.4415, allocations: 4.375 kB / 480.3 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.4415, allocations: 10.03 kB / 480.4 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.442, allocations: 163.8 kB / 480.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.442, allocations: 192 / 480.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4421, allocations: 3.938 kB / 480.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.4421, allocations: 0 / 480.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.4423, allocations: 55.88 kB / 480.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.4425, allocations: 161.7 kB / 480.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.4427, allocations: 86.5 kB / 480.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.4429, allocations: 40.89 kB / 480.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.4429, allocations: 4 kB / 480.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.4429, allocations: 34.56 kB / 480.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.4429, allocations: 0 / 480.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004365/0.4434, allocations: 129.4 kB / 481 MB, free: 1.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.4434, allocations: 51.41 kB / 481.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.4435, allocations: 105.8 kB / 481.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.4435, allocations: 25.7 kB / 481.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.4436, allocations: 96.12 kB / 481.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.4436, allocations: 0 / 481.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.4436, allocations: 0 / 481.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.4437, allocations: 314.8 kB / 481.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.4437, allocations: 4 kB / 481.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.4438, allocations: 31.42 kB / 481.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.847e-05/0.4438, allocations: 39.38 kB / 481.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4438, allocations: 0 / 481.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.094e-05/0.4439, allocations: 65.47 kB / 481.7 MB, free: 1.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.444, allocations: 7.938 kB / 481.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.444, allocations: 7.938 kB / 481.7 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.444, allocations: 128 / 481.7 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.4441, allocations: 12 kB / 481.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.4441, allocations: 0 / 481.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.4441, allocations: 15.88 kB / 481.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.4441, allocations: 0 / 481.8 MB, free: 1.062 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 () * Number of clocked states: 1 (ramp.counter) * 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 7.414e-05/0.4442, allocations: 113.8 kB / 481.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.4444, allocations: 93.58 kB / 482 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.4445, allocations: 7.844 kB / 482 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4445, allocations: 0 / 482 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4445, allocations: 4 kB / 482 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4445, allocations: 4 kB / 482 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.607e-05/0.4446, allocations: 161.6 kB / 482.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4446, allocations: 0 / 482.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-05/0.4447, allocations: 19.98 kB / 482.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4447, allocations: 0 / 482.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.4447, allocations: 3.938 kB / 482.2 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4447, allocations: 0 / 482.2 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4448, allocations: 0 / 482.2 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.4451, allocations: 128.9 kB / 482.3 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.4451, allocations: 77.11 kB / 482.4 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.4451, allocations: 8.062 kB / 482.4 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.4452, allocations: 11.98 kB / 482.4 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-06/0.4452, allocations: 0 / 482.4 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.4452, allocations: 0 / 482.4 MB, free: 340 kB / 346.7 MB Notification: Performance of sorting global known variables: time 4.455e-05/0.4453, allocations: 91.58 kB / 482.5 MB, free: 248 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4453, allocations: 0 / 482.5 MB, free: 248 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.4455, allocations: 4 kB / 482.5 MB, free: 244 kB / 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 () * Number of clocked states: 1 (ramp.counter) * 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.0001077/0.4456, allocations: 99.53 kB / 482.6 MB, free: 136 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.4458, allocations: 47.89 kB / 482.6 MB, free: 88 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4458, allocations: 4 kB / 482.6 MB, free: 84 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.4458, allocations: 0 / 482.6 MB, free: 84 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.4461, allocations: 43.98 kB / 482.7 MB, free: 40 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.4465, allocations: 141 kB / 482.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.4467, allocations: 0.6809 MB / 483.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.38e-05/0.4468, allocations: 0 / 483.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.4468, allocations: 15.42 kB / 483.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of SimCode: time 4e-07/0.4468, allocations: 0 / 483.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of Templates: time 0.002378/0.4492, allocations: 484.5 kB / 484 MB, free: 14.68 MB / 362.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/jenkins1/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