Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3933, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003415/0.3967, allocations: 1.485 MB / 433.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000235/0.3969, allocations: 35.84 kB / 433.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.711e-05/0.397, allocations: 4 kB / 433.9 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.397, allocations: 7.922 kB / 433.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.3971, allocations: 0 / 433.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.3974, allocations: 31.84 kB / 433.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.3975, allocations: 35.92 kB / 433.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.3976, allocations: 7.984 kB / 433.9 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.3977, allocations: 15.94 kB / 434 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.3978, allocations: 23.91 kB / 434 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.3978, allocations: 4 kB / 434 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.583e-05/0.3978, allocations: 8 kB / 434 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.3978, allocations: 11.92 kB / 434 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.3979, allocations: 11.94 kB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.398, allocations: 42.81 kB / 434.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.398, allocations: 0 / 434.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.398, allocations: 0 / 434.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.398, allocations: 0 / 434.1 MB, free: 4.996 MB / 334.1 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.0006221/0.3986, allocations: 282 kB / 434.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.3987, allocations: 8.031 kB / 434.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3987, allocations: 8.891 kB / 434.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.399, allocations: 122.5 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.399, allocations: 8.312 kB / 434.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.399, allocations: 4.312 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006277/0.3996, allocations: 151.8 kB / 434.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3996, allocations: 192 / 434.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3997, allocations: 3.938 kB / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3997, allocations: 0 / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.3999, allocations: 55.88 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.4001, allocations: 109.2 kB / 434.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.4004, allocations: 86.5 kB / 434.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4006, allocations: 36.91 kB / 434.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.4006, allocations: 0 / 434.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.4006, allocations: 30.56 kB / 434.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.4006, allocations: 0 / 434.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005282/0.4011, allocations: 129.5 kB / 435.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.4012, allocations: 55.41 kB / 435.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.4013, allocations: 105.8 kB / 435.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.4013, allocations: 25.7 kB / 435.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.4014, allocations: 84.14 kB / 435.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.4014, allocations: 7.953 kB / 435.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.4014, allocations: 17.72 kB / 435.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4016, allocations: 318.8 kB / 435.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.4016, allocations: 8 kB / 435.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.4017, allocations: 27.44 kB / 435.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.36e-05/0.4017, allocations: 35.38 kB / 435.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4017, allocations: 0 / 435.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001072/0.4018, allocations: 73.5 kB / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4018, allocations: 4 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4019, allocations: 4 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4019, allocations: 3.938 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.345e-05/0.4019, allocations: 11.98 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.402, allocations: 320 / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.402, allocations: 7.938 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.402, allocations: 0 / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (5): * Single equations (assignments): 5 * 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.817e-05/0.4021, allocations: 114 kB / 436 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/0.4024, allocations: 93.53 kB / 436 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.4024, allocations: 15.98 kB / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4024, allocations: 3.938 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4024, allocations: 0 / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4024, allocations: 0 / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.86e-05/0.4025, allocations: 105.3 kB / 436.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4025, allocations: 0 / 436.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.835e-05/0.4026, allocations: 15.98 kB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4026, allocations: 0 / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.4026, allocations: 0 / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4026, allocations: 0 / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4026, allocations: 7.938 kB / 436.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.403, allocations: 117 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.403, allocations: 7.938 kB / 436.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.403, allocations: 0 / 436.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.4031, allocations: 7.984 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-06/0.4031, allocations: 3.938 kB / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.4031, allocations: 7.984 kB / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.901e-05/0.4031, allocations: 87.27 kB / 436.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4031, allocations: 0 / 436.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001848/0.4033, allocations: 4 kB / 436.4 MB, free: 2.355 MB / 334.1 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.0001172/0.4034, allocations: 99.25 kB / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.4037, allocations: 47.89 kB / 436.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4037, allocations: 0 / 436.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.4037, allocations: 0 / 436.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.404, allocations: 44.12 kB / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.4045, allocations: 129.5 kB / 436.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.4045, allocations: 71.33 kB / 436.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.662e-05/0.4046, allocations: 8.672 kB / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.4046, allocations: 7.438 kB / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4046, allocations: 7.875 kB / 436.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of Templates: time 0.003287/0.4079, allocations: 0.6087 MB / 437.4 MB, free: 1.297 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.863676539011067]