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.0009066/0.0009066, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.00217, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007917/0.0007917, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001173/0.001965, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 1.004/1.004, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09078/1.094, allocations: 53.86 MB / 243.7 MB, free: 14.9 MB / 250.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.122e-06/1.122e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.894e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002267/0.002286, allocations: 1.572 MB / 246.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001086/0.002395, allocations: 31.84 kB / 246.6 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.002443, allocations: 8 kB / 246.6 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.002466, allocations: 3.938 kB / 246.6 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.386e-05/0.00249, allocations: 3.938 kB / 246.6 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.002638, allocations: 27.95 kB / 246.7 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.73e-05/0.002725, allocations: 39.86 kB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.906e-05/0.002804, allocations: 12 kB / 246.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.138e-05/0.002885, allocations: 27.89 kB / 246.7 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.974e-05/0.002925, allocations: 11.98 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.002948, allocations: 4 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.002959, allocations: 4 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.002977, allocations: 11.94 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.003003, allocations: 8 kB / 246.8 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.835e-05/0.003091, allocations: 27.86 kB / 246.8 MB, free: 11.83 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.003105, allocations: 0 / 246.8 MB, free: 11.83 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003106, allocations: 0 / 246.8 MB, free: 11.83 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.003122, allocations: 0 / 246.8 MB, free: 11.83 MB / 250.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.0003756/0.003498, allocations: 256.5 kB / 247.1 MB, free: 11.55 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.003527, allocations: 8.625 kB / 247.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.003553, allocations: 4.938 kB / 247.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.003687, allocations: 129.7 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.003705, allocations: 8.375 kB / 247.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/0.003715, allocations: 4.312 kB / 247.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.003906, allocations: 104.6 kB / 247.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.003913, allocations: 192 / 247.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.003919, allocations: 384 / 247.3 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.003923, allocations: 4.312 kB / 247.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/0.003952, allocations: 15.86 kB / 247.3 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.113e-05/0.004013, allocations: 61.05 kB / 247.4 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.333e-05/0.004076, allocations: 38.55 kB / 247.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.004099, allocations: 8.859 kB / 247.4 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.004105, allocations: 0 / 247.4 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.004126, allocations: 34.56 kB / 247.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.004127, allocations: 0 / 247.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001059/0.004232, allocations: 53.59 kB / 247.5 MB, free: 11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.004276, allocations: 59.41 kB / 247.6 MB, free: 10.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.085e-05/0.004336, allocations: 110.7 kB / 247.7 MB, free: 10.81 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.004346, allocations: 25.7 kB / 247.7 MB, free: 10.78 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.974e-05/0.004366, allocations: 80.14 kB / 247.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.004377, allocations: 7.953 kB / 247.8 MB, free: 10.69 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.004404, allocations: 17.72 kB / 247.8 MB, free: 10.67 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.004489, allocations: 326.8 kB / 248.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-06/0.004493, allocations: 0 / 248.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.004499, allocations: 0 / 248.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.725e-05/0.004516, allocations: 12.86 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.004518, allocations: 0 / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.442e-05/0.004562, allocations: 41.62 kB / 248.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.004574, allocations: 4 kB / 248.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004579, allocations: 0 / 248.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.004586, allocations: 8.094 kB / 248.2 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.234e-05/0.004629, allocations: 4 kB / 248.2 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.004632, allocations: 4 kB / 248.2 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.004642, allocations: 0 / 248.2 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-06/0.004645, allocations: 0 / 248.2 MB, free: 10.26 MB / 250.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.427e-05/0.004699, allocations: 109.8 kB / 248.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.004739, allocations: 41.69 kB / 248.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.004757, allocations: 11.94 kB / 248.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.004758, allocations: 3.938 kB / 248.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.004761, allocations: 3.984 kB / 248.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.004763, allocations: 8 kB / 248.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.065e-05/0.004814, allocations: 65.84 kB / 248.5 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.004815, allocations: 0 / 248.5 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.004871, allocations: 11.98 kB / 248.5 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.004878, allocations: 0 / 248.5 MB, free: 9.977 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.00488, allocations: 7.984 kB / 248.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-06/0.004884, allocations: 0 / 248.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.004885, allocations: 0 / 248.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.004885, allocations: 0 / 248.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.24e-05/0.004928, allocations: 61.84 kB / 248.5 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.00494, allocations: 0 / 248.5 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.004962, allocations: 11.98 kB / 248.5 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-06/0.004965, allocations: 0 / 248.5 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.004969, allocations: 4 kB / 248.6 MB, free: 9.875 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.293e-05/0.004982, allocations: 8.859 kB / 248.6 MB, free: 9.863 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004982, allocations: 3.938 kB / 248.6 MB, free: 9.859 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001403/0.005123, allocations: 4 kB / 248.6 MB, free: 9.855 MB / 250.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 7.306e-05/0.005196, allocations: 84.41 kB / 248.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.626e-05/0.005252, allocations: 12.86 kB / 248.7 MB, free: 9.746 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.005255, allocations: 0 / 248.7 MB, free: 9.746 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-07/0.005255, allocations: 4.062 kB / 248.7 MB, free: 9.742 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.005396, allocations: 28.73 kB / 248.7 MB, free: 9.715 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.005749, allocations: 134.9 kB / 248.8 MB, free: 9.559 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.057e-05/0.00578, allocations: 63.34 kB / 248.9 MB, free: 9.477 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.281e-05/0.005793, allocations: 0 / 248.9 MB, free: 9.477 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.005841, allocations: 59.36 kB / 248.9 MB, free: 9.418 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005841, allocations: 0 / 248.9 MB, free: 9.418 MB / 250.7 MB Notification: Performance of Templates: time 0.002134/0.007975, allocations: 0.6124 MB / 249.6 MB, free: 8.816 MB / 250.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 -emit_protected -ignoreHideResult -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.5668453332036734]