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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009242/0.0009242, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 165.3 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9756/0.9756, allocations: 177 MB / 205.2 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.657e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002131/0.002147, allocations: 1.557 MB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002219/0.002369, allocations: 43.83 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.002431, allocations: 0 / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.00246, allocations: 3.938 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.72e-05/0.002508, allocations: 7.938 kB / 275 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.002735, allocations: 23.92 kB / 275.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.741e-05/0.002812, allocations: 43.84 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.243e-05/0.002885, allocations: 7.984 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.662e-05/0.002951, allocations: 19.98 kB / 275.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.187e-05/0.002983, allocations: 11.98 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.003003, allocations: 7.984 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-06/0.003011, allocations: 4 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.003032, allocations: 11.92 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.003051, allocations: 8 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.511e-05/0.003126, allocations: 31.89 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003127, allocations: 0 / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003128, allocations: 4 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.003132, allocations: 0 / 275.2 MB, free: 15.39 MB / 266.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.0002963/0.003428, allocations: 248.9 kB / 275.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.003457, allocations: 15.98 kB / 275.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.003484, allocations: 12.92 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.003609, allocations: 121.7 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.003622, allocations: 384 / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.00363, allocations: 4.375 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.003797, allocations: 112.5 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.003804, allocations: 192 / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.00381, allocations: 4.312 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.003813, allocations: 384 / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.074e-05/0.003834, allocations: 15.94 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.733e-05/0.003891, allocations: 61.02 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.116e-05/0.003943, allocations: 30.56 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.003962, allocations: 16.84 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.003969, allocations: 0 / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.003988, allocations: 34.5 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.003989, allocations: 8 kB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.602e-05/0.004075, allocations: 49.67 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.004111, allocations: 51.41 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.004231, allocations: 110.9 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.004239, allocations: 29.7 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.743e-05/0.004257, allocations: 80.14 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.118e-05/0.004268, allocations: 3.953 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.004289, allocations: 21.7 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.004361, allocations: 314.8 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-06/0.004366, allocations: 4 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.004373, allocations: 11.92 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.734e-05/0.00439, allocations: 8.859 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.004392, allocations: 4 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.675e-05/0.004429, allocations: 33.7 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.004438, allocations: 4 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.004442, allocations: 0 / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/0.004451, allocations: 0 / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.13e-05/0.004483, allocations: 7.984 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.00449, allocations: 4.062 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-06/0.004499, allocations: 96 / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-06/0.004501, allocations: 4 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 5.386e-05/0.004555, allocations: 117.7 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.004587, allocations: 41.62 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.004612, allocations: 12 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.004614, allocations: 0 / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.004616, allocations: 0 / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.004621, allocations: 0 / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.855e-05/0.004669, allocations: 73.81 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.00467, allocations: 0 / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.004713, allocations: 11.98 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.004714, allocations: 8 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.00472, allocations: 4 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.004721, allocations: 0 / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.004722, allocations: 0 / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.281e-05/0.004765, allocations: 61 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.004772, allocations: 4 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.004783, allocations: 0 / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.605e-05/0.004799, allocations: 4 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-06/0.004802, allocations: 0 / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.004806, allocations: 3.984 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.231e-05/0.004818, allocations: 8.859 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.004818, allocations: 4 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.191e-05/0.00491, allocations: 8 kB / 277 MB, free: 13.42 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.97e-05/0.00497, allocations: 76.42 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.247e-05/0.005022, allocations: 20.78 kB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.005024, allocations: 0 / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.005025, allocations: 0 / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.005146, allocations: 25.73 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001962/0.005342, allocations: 131.1 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.448e-05/0.005367, allocations: 59.42 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.415e-05/0.005381, allocations: 3.984 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.005427, allocations: 51.38 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of SimCode: time 3.8e-07/0.005427, allocations: 0 / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of Templates: time 0.002053/0.00748, allocations: 0.6026 MB / 277.9 MB, free: 12.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.572918059770018]