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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 202.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008957/0.0008957, allocations: 96.84 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.76e-05/1.761e-05, allocations: 4 kB / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09614/0.09618, allocations: 51.47 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3172/0.4134, allocations: 76.16 MB / 471.3 MB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.4137, allocations: 73.72 kB / 471.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002171/0.4159, allocations: 0.856 MB / 472.3 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4159, allocations: 4 kB / 472.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.4159, allocations: 3.125 kB / 472.3 MB, free: 14.52 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.0003112/0.4162, allocations: 333 kB / 472.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4163, allocations: 13.25 kB / 472.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.4163, allocations: 5.812 kB / 472.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.4164, allocations: 175.4 kB / 472.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.4165, allocations: 4.328 kB / 472.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.4165, allocations: 0 / 472.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.119e-05/0.4166, allocations: 16.7 kB / 472.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.4167, allocations: 108.8 kB / 472.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4168, allocations: 4 kB / 472.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.4168, allocations: 0 / 472.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.4168, allocations: 0 / 472.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.4169, allocations: 141.2 kB / 473 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.417, allocations: 51.42 kB / 473.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.417, allocations: 20.2 kB / 473.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.417, allocations: 5.297 kB / 473.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.4171, allocations: 37.73 kB / 473.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.4171, allocations: 0 / 473.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001405/0.4172, allocations: 52.69 kB / 473.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.4173, allocations: 51.41 kB / 473.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.898e-05/0.4173, allocations: 102.5 kB / 473.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.4173, allocations: 27.25 kB / 473.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.633e-05/0.4173, allocations: 84.14 kB / 473.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.4174, allocations: 4.453 kB / 473.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.4174, allocations: 0 / 473.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.348e-05/0.4174, allocations: 312.1 kB / 473.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.4174, allocations: 7.812 kB / 473.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.4175, allocations: 31.38 kB / 473.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.69e-05/0.4175, allocations: 8.844 kB / 473.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.4175, allocations: 0 / 473.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.263e-05/0.4176, allocations: 56.12 kB / 473.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.4176, allocations: 9.547 kB / 473.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4176, allocations: 4.125 kB / 473.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4176, allocations: 4 kB / 473.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.74e-05/0.4177, allocations: 4.562 kB / 473.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.4177, allocations: 9.641 kB / 473.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.4177, allocations: 0 / 473.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.4177, allocations: 4 kB / 473.9 MB, free: 12.8 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 4.16e-05/0.4177, allocations: 112.5 kB / 474 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.4178, allocations: 48.34 kB / 474.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.4178, allocations: 17.28 kB / 474.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.4178, allocations: 4 kB / 474.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4179, allocations: 1.875 kB / 474.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4179, allocations: 5.219 kB / 474.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.939e-05/0.4179, allocations: 140.2 kB / 474.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4179, allocations: 1.172 kB / 474.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.418, allocations: 17.11 kB / 474.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.418, allocations: 0 / 474.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.418, allocations: 0 / 474.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.4181, allocations: 0 / 474.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4181, allocations: 1.453 kB / 474.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.912e-05/0.4181, allocations: 84.58 kB / 474.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.4182, allocations: 82.47 kB / 474.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.4182, allocations: 0 / 474.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.4183, allocations: 7.141 kB / 474.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-06/0.4183, allocations: 1.688 kB / 474.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.4183, allocations: 4 kB / 474.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.228e-05/0.4183, allocations: 84.02 kB / 474.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4183, allocations: 0 / 474.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000178/0.4185, allocations: 4 kB / 474.5 MB, free: 12.18 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 7.992e-05/0.4186, allocations: 99.25 kB / 474.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.869e-05/0.4187, allocations: 28.67 kB / 474.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4187, allocations: 1.781 kB / 474.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.4187, allocations: 0 / 474.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.4189, allocations: 22.38 kB / 474.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001944/0.4191, allocations: 69.06 kB / 474.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.4192, allocations: 0.6995 MB / 475.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.885e-05/0.4192, allocations: 3.906 kB / 475.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.4193, allocations: 12.75 kB / 475.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4193, allocations: 0 / 475.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of Templates: time 0.00211/0.4214, allocations: 451.9 kB / 475.9 MB, free: 10.98 MB / 346.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches