Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001773/0.001773, allocations: 113.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002152/0.002153, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.218/2.218, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5502/0.5521, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.004753/0.5569, allocations: 1.472 MB / 411.4 MB, free: 112 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003399/0.5573, allocations: 31.91 kB / 411.4 MB, free: 80 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.5575, allocations: 3.938 kB / 411.4 MB, free: 76 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.463e-05/0.5576, allocations: 0 / 411.4 MB, free: 76 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.748e-05/0.5577, allocations: 3.938 kB / 411.4 MB, free: 72 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.5582, allocations: 27.91 kB / 411.5 MB, free: 44 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.5583, allocations: 35.97 kB / 411.5 MB, free: 8 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.5586, allocations: 12.05 kB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.944e-05/0.5587, allocations: 19.81 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.565e-05/0.5588, allocations: 19.92 kB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.5588, allocations: 0 / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.5588, allocations: 4 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.5589, allocations: 19.91 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.5589, allocations: 15.94 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.5591, allocations: 39.81 kB / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5591, allocations: 0 / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5592, allocations: 0 / 411.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.5592, allocations: 4 kB / 411.6 MB, free: 15.88 MB / 334.1 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.0007816/0.56, allocations: 359.2 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.404e-05/0.56, allocations: 8.031 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.112e-05/0.5601, allocations: 8.844 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.5605, allocations: 172.4 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/0.5606, allocations: 12.38 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.5606, allocations: 384 / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000832/0.5614, allocations: 163.7 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.5615, allocations: 4.172 kB / 412.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.5615, allocations: 3.938 kB / 412.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.5615, allocations: 0 / 412.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.5619, allocations: 47.95 kB / 412.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.5622, allocations: 161.6 kB / 412.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.5627, allocations: 86.45 kB / 412.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.5629, allocations: 40.91 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.563, allocations: 0 / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.549e-05/0.563, allocations: 34.55 kB / 412.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.164e-06/0.5631, allocations: 0 / 412.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0008321/0.5639, allocations: 125.4 kB / 412.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.61e-05/0.564, allocations: 55.41 kB / 412.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.5642, allocations: 117.8 kB / 413 MB, free: 14.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.5642, allocations: 29.7 kB / 413 MB, free: 14.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.5642, allocations: 80.14 kB / 413.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.5643, allocations: 4 kB / 413.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.5643, allocations: 17.7 kB / 413.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5645, allocations: 318.8 kB / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.5646, allocations: 4 kB / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/0.5646, allocations: 35.42 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.762e-05/0.5647, allocations: 35.38 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5647, allocations: 0 / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001388/0.5649, allocations: 61.53 kB / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.5649, allocations: 8.125 kB / 413.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5649, allocations: 3.938 kB / 413.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.5649, allocations: 4 kB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.565, allocations: 11.94 kB / 413.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.5651, allocations: 4 kB / 413.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.5651, allocations: 0 / 413.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.5651, allocations: 4 kB / 413.6 MB, free: 13.64 MB / 334.1 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 ($CLKPRE.ramp.counter,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.5653, allocations: 113.8 kB / 413.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/0.5657, allocations: 89.62 kB / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.5658, allocations: 11.84 kB / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.5658, allocations: 0 / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.5659, allocations: 3.938 kB / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5659, allocations: 0 / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.5661, allocations: 165.6 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5661, allocations: 4 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.5662, allocations: 15.97 kB / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.5663, allocations: 0 / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.5663, allocations: 4.062 kB / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.5663, allocations: 7.938 kB / 414 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5663, allocations: 8 kB / 414 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.5668, allocations: 113 kB / 414.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.5669, allocations: 82.38 kB / 414.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.5669, allocations: 3.938 kB / 414.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.567, allocations: 7.984 kB / 414.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-06/0.567, allocations: 0 / 414.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.5671, allocations: 4 kB / 414.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.672e-05/0.5671, allocations: 87.27 kB / 414.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.964e-06/0.5672, allocations: 4 kB / 414.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.5675, allocations: 7.938 kB / 414.3 MB, free: 12.81 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001711/0.5677, allocations: 95.25 kB / 414.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.568, allocations: 39.97 kB / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.568, allocations: 0 / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.667e-06/0.568, allocations: 0 / 414.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.5686, allocations: 50.16 kB / 414.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006719/0.5693, allocations: 151.5 kB / 414.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.5697, allocations: 0.6846 MB / 415.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.5698, allocations: 15.42 kB / 415.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5698, allocations: 0 / 415.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of Templates: time 0.003737/0.5735, allocations: 0.7018 MB / 416.1 MB, free: 11.02 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches