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.002623/0.002623, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002031/0.002031, allocations: 160.8 kB / 24.27 MB, free: 156 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.57/1.57, allocations: 177 MB / 204.5 MB, free: 5.641 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.783e-06/1.783e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.893e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003521/0.00355, allocations: 1.486 MB / 273.7 MB, free: 328 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002239/0.003773, allocations: 31.91 kB / 273.7 MB, free: 296 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.003842, allocations: 3.938 kB / 273.7 MB, free: 292 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.00387, allocations: 3.938 kB / 273.7 MB, free: 288 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.003935, allocations: 7.938 kB / 273.7 MB, free: 280 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.00422, allocations: 23.91 kB / 273.8 MB, free: 256 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.004335, allocations: 39.91 kB / 273.8 MB, free: 216 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.785e-05/0.004433, allocations: 11.98 kB / 273.8 MB, free: 204 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.701e-05/0.00452, allocations: 19.98 kB / 273.8 MB, free: 184 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.933e-05/0.004559, allocations: 11.92 kB / 273.9 MB, free: 172 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.004582, allocations: 8 kB / 273.9 MB, free: 164 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.004595, allocations: 4 kB / 273.9 MB, free: 160 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.004617, allocations: 7.984 kB / 273.9 MB, free: 152 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.004658, allocations: 19.86 kB / 273.9 MB, free: 132 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.00478, allocations: 35.94 kB / 273.9 MB, free: 96 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004783, allocations: 0 / 273.9 MB, free: 96 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004783, allocations: 0 / 273.9 MB, free: 96 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.004788, allocations: 0 / 273.9 MB, free: 96 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.0006066/0.005394, allocations: 380.2 kB / 274.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.005436, allocations: 11.98 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.005486, allocations: 12.89 kB / 274.3 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.005697, allocations: 128.5 kB / 274.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.005721, allocations: 4.375 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.005732, allocations: 384 / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.006209, allocations: 141.4 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.006219, allocations: 192 / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.006231, allocations: 4.359 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.006236, allocations: 384 / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.006402, allocations: 39.92 kB / 274.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.00657, allocations: 120.6 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.006832, allocations: 78.95 kB / 274.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.006951, allocations: 43.73 kB / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.006966, allocations: 0 / 274.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.007005, allocations: 33.39 kB / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.007005, allocations: 0 / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003953/0.007401, allocations: 93.59 kB / 275 MB, free: 14.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.00747, allocations: 55.41 kB / 275.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.007623, allocations: 173.9 kB / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.007646, allocations: 25.7 kB / 275.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.007733, allocations: 134.9 kB / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.007749, allocations: 7.953 kB / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.007792, allocations: 23.36 kB / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002752/0.008067, allocations: 0.4883 MB / 275.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.008082, allocations: 4 kB / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-06/0.008089, allocations: 0 / 275.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.008118, allocations: 11.69 kB / 275.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.00812, allocations: 0 / 275.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.517e-05/0.008195, allocations: 45.62 kB / 276 MB, free: 13.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.008212, allocations: 12.09 kB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.008216, allocations: 0 / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.008233, allocations: 0 / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.008289, allocations: 4 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.008296, allocations: 320 / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.008312, allocations: 3.938 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-06/0.008315, allocations: 0 / 276 MB, free: 13.83 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 0.0001336/0.008448, allocations: 160.6 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.008661, allocations: 77.61 kB / 276.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.008692, allocations: 8 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.008694, allocations: 4 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.008698, allocations: 0 / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.008703, allocations: 3.938 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.008819, allocations: 120.6 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.008821, allocations: 3.938 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/0.008904, allocations: 11.98 kB / 276.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.008906, allocations: 0 / 276.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.008914, allocations: 0 / 276.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.008916, allocations: 0 / 276.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.008924, allocations: 3.984 kB / 276.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.009181, allocations: 116.3 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.009192, allocations: 7.953 kB / 276.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.009213, allocations: 8 kB / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.922e-05/0.009252, allocations: 0 / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-06/0.009259, allocations: 4 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.009268, allocations: 4.281 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.583e-05/0.009353, allocations: 135.1 kB / 276.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009353, allocations: 0 / 276.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.009529, allocations: 4 kB / 276.6 MB, free: 13.09 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.0001399/0.009669, allocations: 103.1 kB / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.009865, allocations: 43.64 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.009867, allocations: 0 / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.009868, allocations: 0 / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.0102, allocations: 33.42 kB / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.01059, allocations: 136.7 kB / 276.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.893e-05/0.01067, allocations: 67.25 kB / 277 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.456e-05/0.0107, allocations: 4.25 kB / 277 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.01073, allocations: 8.5 kB / 277 MB, free: 12.64 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01073, allocations: 4.062 kB / 277 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Templates: time 0.003501/0.01423, allocations: 0.5626 MB / 277.6 MB, free: 12.08 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","/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.546527532977052]