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.001796/0.001796, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002308/0.002308, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.5/1.5, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.961e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002968/0.002997, allocations: 1.493 MB / 273.7 MB, free: 312 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002093/0.003207, allocations: 39.89 kB / 273.7 MB, free: 272 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.003278, allocations: 3.938 kB / 273.7 MB, free: 268 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.003307, allocations: 7.938 kB / 273.7 MB, free: 260 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.917e-05/0.003356, allocations: 3.938 kB / 273.7 MB, free: 256 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.003617, allocations: 27.92 kB / 273.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.00372, allocations: 35.91 kB / 273.8 MB, free: 192 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.003814, allocations: 11.98 kB / 273.8 MB, free: 180 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.627e-05/0.00389, allocations: 19.98 kB / 273.8 MB, free: 160 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.003931, allocations: 15.92 kB / 273.9 MB, free: 144 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.003954, allocations: 4 kB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.003966, allocations: 4 kB / 273.9 MB, free: 136 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.004, allocations: 15.91 kB / 273.9 MB, free: 120 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.004048, allocations: 11.94 kB / 273.9 MB, free: 108 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.004177, allocations: 35.94 kB / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.00418, allocations: 0 / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004181, allocations: 8 kB / 273.9 MB, free: 64 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004185, allocations: 0 / 273.9 MB, free: 64 kB / 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.0006894/0.004875, allocations: 282.2 kB / 274.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.004925, allocations: 11.98 kB / 274.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.004985, allocations: 12.89 kB / 274.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.005257, allocations: 117.7 kB / 274.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.005283, allocations: 4.375 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.005299, allocations: 4.375 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007394/0.006038, allocations: 159.7 kB / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.006047, allocations: 192 / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.006059, allocations: 384 / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.006064, allocations: 384 / 274.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003386/0.006403, allocations: 55.88 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.006585, allocations: 109.2 kB / 274.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.007016, allocations: 82.44 kB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.007223, allocations: 36.91 kB / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.007239, allocations: 4 kB / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.007283, allocations: 30.56 kB / 274.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.007284, allocations: 4 kB / 274.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0007479/0.008032, allocations: 121.7 kB / 274.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.38e-05/0.008126, allocations: 59.41 kB / 275 MB, free: 14.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.008286, allocations: 109.8 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.008308, allocations: 25.7 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.008367, allocations: 84.14 kB / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.008382, allocations: 3.953 kB / 275.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.008417, allocations: 13.72 kB / 275.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004175/0.008834, allocations: 314.8 kB / 275.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.008852, allocations: 11.98 kB / 275.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.008858, allocations: 4 kB / 275.6 MB, free: 14.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.657e-05/0.008884, allocations: 8.859 kB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008886, allocations: 0 / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.479e-05/0.008971, allocations: 49.64 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.008985, allocations: 4 kB / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.00899, allocations: 0 / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.009003, allocations: 0 / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.167e-05/0.009055, allocations: 4 kB / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.009059, allocations: 320 / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.009076, allocations: 12.02 kB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-06/0.009078, allocations: 0 / 275.6 MB, free: 14.18 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 9.903e-05/0.009177, allocations: 113.8 kB / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/0.009488, allocations: 85.59 kB / 275.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.009519, allocations: 12 kB / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.009521, allocations: 0 / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.009527, allocations: 3.984 kB / 275.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.009533, allocations: 7.875 kB / 275.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.803e-05/0.009631, allocations: 97.33 kB / 276 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.009632, allocations: 0 / 276 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.009741, allocations: 23.97 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.009743, allocations: 4 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.00975, allocations: 0 / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.009752, allocations: 0 / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/0.009756, allocations: 3.984 kB / 276 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.01017, allocations: 113 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.01018, allocations: 11.95 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.01021, allocations: 0 / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.01033, allocations: 7.984 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-06/0.01033, allocations: 4 kB / 276.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.01034, allocations: 0 / 276.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.644e-05/0.01044, allocations: 95.2 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01044, allocations: 0 / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.01063, allocations: 7.938 kB / 276.2 MB, free: 13.53 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 0.000152/0.01078, allocations: 99.19 kB / 276.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.01099, allocations: 31.97 kB / 276.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.011, allocations: 0 / 276.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.011, allocations: 0 / 276.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.01139, allocations: 45.39 kB / 276.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.01185, allocations: 135 kB / 276.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.579e-05/0.01193, allocations: 71.31 kB / 276.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.473e-05/0.01195, allocations: 256 / 276.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.01199, allocations: 16.48 kB / 276.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01199, allocations: 0 / 276.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of Templates: time 0.003375/0.01537, allocations: 0.5675 MB / 277.2 MB, free: 12.52 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.22372885805089]