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.000941/0.000941, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001085/0.001085, allocations: 161.7 kB / 24.82 MB, free: 8.922 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 1.108/1.108, allocations: 177 MB / 205.1 MB, free: 5.496 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.843e-06/1.843e-06, allocations: 0 / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.769e-05, allocations: 5.266 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003434/0.003462, allocations: 1.521 MB / 274.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002268/0.003689, allocations: 31.84 kB / 274.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.003762, allocations: 4 kB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.003794, allocations: 3.938 kB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.003844, allocations: 0 / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.004117, allocations: 35.83 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.246e-05/0.004209, allocations: 39.86 kB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.627e-05/0.004305, allocations: 7.984 kB / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.766e-05/0.004393, allocations: 23.97 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.004436, allocations: 11.92 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.004458, allocations: 8 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.004469, allocations: 4 kB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.004491, allocations: 8 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.00452, allocations: 7.984 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.973e-05/0.00462, allocations: 31.89 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004622, allocations: 0 / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004623, allocations: 0 / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.004627, allocations: 0 / 275.1 MB, free: 15.48 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.0004116/0.005039, allocations: 380.6 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.005085, allocations: 11.98 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.005121, allocations: 8.891 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.005273, allocations: 136.4 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.005292, allocations: 4.375 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.005302, allocations: 4.375 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.005541, allocations: 110.2 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.005549, allocations: 192 / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.005557, allocations: 384 / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.005566, allocations: 8.312 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.005597, allocations: 11.92 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.005707, allocations: 105.2 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.048e-05/0.005787, allocations: 35.09 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.005818, allocations: 15.72 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.005829, allocations: 3.984 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.005854, allocations: 37.39 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.005855, allocations: 0 / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001434/0.005999, allocations: 57.61 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.006045, allocations: 55.41 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/0.006131, allocations: 165.9 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.006142, allocations: 25.7 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.006195, allocations: 138.9 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.006207, allocations: 3.953 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.006236, allocations: 19.38 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.00638, allocations: 0.4922 MB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-06/0.006386, allocations: 0 / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.735e-06/0.006394, allocations: 4 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/0.006421, allocations: 15.61 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006423, allocations: 0 / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.857e-05/0.006482, allocations: 33.7 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.006497, allocations: 15.22 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.006502, allocations: 0 / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.006514, allocations: 0 / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.006561, allocations: 7.984 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.006564, allocations: 320 / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.266e-05/0.006576, allocations: 3.938 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.006582, allocations: 3.938 kB / 277 MB, free: 13.39 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 7.814e-05/0.00666, allocations: 160.6 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.006737, allocations: 49.58 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.006768, allocations: 8 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.00677, allocations: 4 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.006773, allocations: 4 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.006776, allocations: 0 / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.878e-05/0.006855, allocations: 105.2 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006856, allocations: 0 / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.00692, allocations: 11.98 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.006923, allocations: 0 / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.006927, allocations: 4 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.00693, allocations: 3.984 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006931, allocations: 0 / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.995e-05/0.006991, allocations: 76.31 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-06/0.007001, allocations: 11.95 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.007014, allocations: 0 / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.735e-05/0.007041, allocations: 4 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-06/0.007045, allocations: 0 / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.007049, allocations: 0 / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.996e-05/0.007099, allocations: 127.2 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007099, allocations: 0 / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001963/0.007295, allocations: 4 kB / 277.5 MB, free: 12.76 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 9.624e-05/0.007392, allocations: 99.25 kB / 277.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.537e-05/0.007467, allocations: 27.66 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007468, allocations: 0 / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.007469, allocations: 0 / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.007707, allocations: 32.5 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.008003, allocations: 128.8 kB / 277.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.058e-05/0.008044, allocations: 63.34 kB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.936e-05/0.008063, allocations: 4.312 kB / 277.9 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.144e-05/0.008125, allocations: 74.2 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.008126, allocations: 0 / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of Templates: time 0.002586/0.01071, allocations: 0.5917 MB / 278.5 MB, free: 11.7 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 -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.8261004919186234]