Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 145.2 kB / 24.89 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9196/0.9196, allocations: 173.4 MB / 201.5 MB, free: 9.188 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 268.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.374e-05, allocations: 2.312 kB / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.00177/0.001784, allocations: 1.502 MB / 270 MB, free: 4.664 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001594/0.001943, allocations: 39.84 kB / 270 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.001999, allocations: 7.938 kB / 270 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.002023, allocations: 4 kB / 270 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.002065, allocations: 7.922 kB / 270 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.002261, allocations: 27.91 kB / 270.1 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.002336, allocations: 35.86 kB / 270.1 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.283e-05/0.002409, allocations: 11.97 kB / 270.1 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.882e-05/0.002478, allocations: 19.98 kB / 270.1 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.428e-05/0.002512, allocations: 15.92 kB / 270.1 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.002531, allocations: 4 kB / 270.2 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.002539, allocations: 4 kB / 270.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.002555, allocations: 4 kB / 270.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.002576, allocations: 19.97 kB / 270.2 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.492e-05/0.00265, allocations: 31.84 kB / 270.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.002652, allocations: 0 / 270.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.9e-07/0.002652, allocations: 0 / 270.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.002655, allocations: 0 / 270.2 MB, free: 4.434 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.0002572/0.002912, allocations: 252.9 kB / 270.5 MB, free: 4.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.002941, allocations: 8.922 kB / 270.5 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.002967, allocations: 4.938 kB / 270.5 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.003077, allocations: 129.7 kB / 270.6 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.00309, allocations: 4.312 kB / 270.6 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.003099, allocations: 8.375 kB / 270.6 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.003257, allocations: 108.5 kB / 270.7 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.539e-06/0.003261, allocations: 192 / 270.7 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-06/0.003267, allocations: 384 / 270.7 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.003271, allocations: 4.375 kB / 270.7 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.07e-05/0.003292, allocations: 11.94 kB / 270.7 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.628e-05/0.003348, allocations: 57.03 kB / 270.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.439e-05/0.003403, allocations: 38.48 kB / 270.8 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.003421, allocations: 16.86 kB / 270.8 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.003429, allocations: 3.984 kB / 270.8 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.003448, allocations: 34.56 kB / 270.9 MB, free: 3.664 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.003449, allocations: 0 / 270.9 MB, free: 3.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.29e-05/0.003532, allocations: 45.69 kB / 270.9 MB, free: 3.613 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.003572, allocations: 63.33 kB / 271 MB, free: 3.539 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.578e-05/0.003618, allocations: 106.7 kB / 271.1 MB, free: 3.422 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.003627, allocations: 25.7 kB / 271.1 MB, free: 3.391 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.98e-05/0.003647, allocations: 84.12 kB / 271.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.813e-06/0.003653, allocations: 0 / 271.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.003673, allocations: 21.72 kB / 271.2 MB, free: 3.277 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.003741, allocations: 318.8 kB / 271.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-06/0.003744, allocations: 4 kB / 271.5 MB, free: 2.953 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-06/0.003747, allocations: 0 / 271.5 MB, free: 2.953 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.625e-05/0.003764, allocations: 12.84 kB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.003765, allocations: 0 / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.927e-05/0.003794, allocations: 33.7 kB / 271.6 MB, free: 2.898 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.003803, allocations: 7.938 kB / 271.6 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.003806, allocations: 0 / 271.6 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.003814, allocations: 96 / 271.6 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.047e-05/0.003845, allocations: 8 kB / 271.6 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.003847, allocations: 0 / 271.6 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.467e-06/0.003857, allocations: 7.922 kB / 271.6 MB, free: 2.875 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.00386, allocations: 4 kB / 271.6 MB, free: 2.871 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 4.646e-05/0.003907, allocations: 109.8 kB / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.003936, allocations: 41.69 kB / 271.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.003955, allocations: 8 kB / 271.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.003958, allocations: 4 kB / 271.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.003959, allocations: 0 / 271.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.003961, allocations: 0 / 271.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.206e-05/0.004003, allocations: 77.78 kB / 271.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.004004, allocations: 0 / 271.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.004038, allocations: 15.92 kB / 271.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.00404, allocations: 4 kB / 271.9 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-06/0.004045, allocations: 4 kB / 271.9 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.004045, allocations: 0 / 271.9 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.3e-07/0.004046, allocations: 0 / 271.9 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.931e-05/0.004075, allocations: 53.08 kB / 271.9 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-06/0.004083, allocations: 11.97 kB / 271.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.004092, allocations: 0 / 271.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.004107, allocations: 4 kB / 271.9 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-06/0.004109, allocations: 4 kB / 271.9 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.004111, allocations: 0 / 271.9 MB, free: 2.48 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.068e-05/0.004122, allocations: 12.84 kB / 271.9 MB, free: 2.465 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004122, allocations: 0 / 271.9 MB, free: 2.465 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.012e-05/0.004212, allocations: 8 kB / 272 MB, free: 2.457 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 6.794e-05/0.00428, allocations: 76.42 kB / 272 MB, free: 2.375 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.704e-05/0.004327, allocations: 20.78 kB / 272.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.004328, allocations: 0 / 272.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.004329, allocations: 64 / 272.1 MB, free: 2.352 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.00444, allocations: 33.02 kB / 272.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002012/0.004641, allocations: 119.1 kB / 272.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.637e-05/0.004667, allocations: 59.34 kB / 272.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.199e-05/0.004679, allocations: 0 / 272.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.004721, allocations: 63.3 kB / 272.3 MB, free: 2.039 MB / 250.7 MB Notification: Performance of SimCode: time 3.7e-07/0.004721, allocations: 0 / 272.3 MB, free: 2.039 MB / 250.7 MB Notification: Performance of Templates: time 0.001744/0.006465, allocations: 0.6031 MB / 272.9 MB, free: 1.441 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.419537113979459]