Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006234/0.006234, allocations: 109.6 kB / 21.98 MB, free: 5.184 MB / 14.72 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.001578/0.001578, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.627/1.627, allocations: 230.6 MB / 259 MB, free: 8.031 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00292/0.00292, allocations: 67.88 kB / 379.8 MB, free: 2.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3782, allocations: 53.37 MB / 433.2 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.004656/0.3828, allocations: 1.489 MB / 434.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003531/0.3832, allocations: 39.89 kB / 434.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.3833, allocations: 3.938 kB / 434.7 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.694e-05/0.3833, allocations: 4 kB / 434.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/0.3834, allocations: 3.938 kB / 434.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.3838, allocations: 23.48 kB / 434.7 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.3839, allocations: 39.91 kB / 434.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.384, allocations: 7.984 kB / 434.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.3841, allocations: 15.94 kB / 434.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.3842, allocations: 23.84 kB / 434.8 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.3842, allocations: 4 kB / 434.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.665e-05/0.3842, allocations: 4 kB / 434.8 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.3843, allocations: 11.88 kB / 434.8 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.3843, allocations: 27.91 kB / 434.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.3845, allocations: 37.38 kB / 434.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3845, allocations: 0 / 434.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.3845, allocations: 0 / 434.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3845, allocations: 0 / 434.9 MB, free: 5.41 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.0007008/0.3852, allocations: 282.3 kB / 435.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.3853, allocations: 8.031 kB / 435.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.3853, allocations: 4.891 kB / 435.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.3856, allocations: 118.5 kB / 435.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.3857, allocations: 8.375 kB / 435.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3857, allocations: 4.375 kB / 435.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007494/0.3864, allocations: 159.7 kB / 435.5 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3865, allocations: 4.172 kB / 435.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.3865, allocations: 7.922 kB / 435.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3865, allocations: 0 / 435.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.3868, allocations: 47.95 kB / 435.5 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.387, allocations: 136.7 kB / 435.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.3874, allocations: 86.44 kB / 435.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.3876, allocations: 36.91 kB / 435.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3876, allocations: 0 / 435.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.3877, allocations: 34.56 kB / 435.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.3877, allocations: 0 / 435.8 MB, free: 4.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006329/0.3883, allocations: 121.5 kB / 435.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.3884, allocations: 59.28 kB / 436 MB, free: 4.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3885, allocations: 105.8 kB / 436.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3885, allocations: 29.7 kB / 436.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.3886, allocations: 84.14 kB / 436.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.3886, allocations: 3.953 kB / 436.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3887, allocations: 17.72 kB / 436.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3888, allocations: 322.8 kB / 436.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.3889, allocations: 4 kB / 436.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.3889, allocations: 31.42 kB / 436.6 MB, free: 3.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.636e-05/0.389, allocations: 39.38 kB / 436.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.389, allocations: 0 / 436.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001359/0.3891, allocations: 57.62 kB / 436.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.3891, allocations: 4 kB / 436.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3892, allocations: 8.062 kB / 436.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.3892, allocations: 4 kB / 436.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3893, allocations: 11.94 kB / 436.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3893, allocations: 320 / 436.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.673e-05/0.3893, allocations: 8 kB / 436.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3893, allocations: 8.062 kB / 436.7 MB, free: 3.375 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 0.0001297/0.3895, allocations: 109.8 kB / 436.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/0.3899, allocations: 93.58 kB / 436.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.3899, allocations: 7.938 kB / 436.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3899, allocations: 4 kB / 436.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3899, allocations: 0 / 436.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3899, allocations: 3.938 kB / 436.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.3901, allocations: 132.7 kB / 437.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3901, allocations: 0 / 437.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.3903, allocations: 23.97 kB / 437.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3903, allocations: 0 / 437.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3903, allocations: 3.938 kB / 437.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3903, allocations: 0 / 437.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3903, allocations: 3.938 kB / 437.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.3908, allocations: 121.2 kB / 437.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.3908, allocations: 0 / 437.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.3909, allocations: 7.938 kB / 437.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.043e-05/0.391, allocations: 11.98 kB / 437.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-06/0.391, allocations: 0 / 437.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.391, allocations: 0 / 437.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.198e-05/0.3911, allocations: 95.25 kB / 437.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3911, allocations: 0 / 437.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003413/0.3914, allocations: 4 kB / 437.3 MB, free: 2.68 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.0001661/0.3916, allocations: 102 kB / 437.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.3919, allocations: 36.16 kB / 437.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.3919, allocations: 8.062 kB / 437.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.3919, allocations: 0 / 437.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.3924, allocations: 48.53 kB / 437.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006573/0.3931, allocations: 155.3 kB / 437.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.3935, allocations: 0.6846 MB / 438.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.3936, allocations: 7.438 kB / 438.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3936, allocations: 0 / 438.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of Templates: time 0.003559/0.3971, allocations: 0.6988 MB / 439.1 MB, free: 0.8906 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 7.514872930012643]