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.001995/0.001995, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002028/0.002028, allocations: 204.1 kB / 24.47 MB, free: 4.023 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.806/1.806, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.002023/0.002023, allocations: 71.83 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3336, allocations: 53.3 MB / 432.1 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003491/0.3371, allocations: 1.495 MB / 433.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002426/0.3373, allocations: 39.84 kB / 433.6 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.3374, allocations: 0 / 433.6 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.3374, allocations: 3.938 kB / 433.6 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.441e-05/0.3375, allocations: 3.938 kB / 433.6 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.3378, allocations: 23.97 kB / 433.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.3379, allocations: 43.84 kB / 433.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.338, allocations: 8 kB / 433.7 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/0.3381, allocations: 11.98 kB / 433.7 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.3381, allocations: 23.86 kB / 433.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.3382, allocations: 4 kB / 433.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.3382, allocations: 4 kB / 433.7 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.3382, allocations: 7.984 kB / 433.7 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.3382, allocations: 15.92 kB / 433.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.3384, allocations: 45.78 kB / 433.8 MB, free: 5.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3384, allocations: 0 / 433.8 MB, free: 5.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3384, allocations: 0 / 433.8 MB, free: 5.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.3384, allocations: 4 kB / 433.8 MB, free: 5.688 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.0007475/0.3391, allocations: 351.4 kB / 434.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3392, allocations: 12.03 kB / 434.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.3392, allocations: 8.891 kB / 434.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.3396, allocations: 180.3 kB / 434.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.3396, allocations: 4.359 kB / 434.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.3396, allocations: 4.375 kB / 434.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006917/0.3403, allocations: 167.7 kB / 434.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3403, allocations: 4.188 kB / 434.5 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3403, allocations: 3.938 kB / 434.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3403, allocations: 0 / 434.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.3406, allocations: 47.94 kB / 434.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.3408, allocations: 169.5 kB / 434.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.3411, allocations: 78.52 kB / 434.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.3413, allocations: 36.89 kB / 434.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.3413, allocations: 4 kB / 434.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3414, allocations: 34.5 kB / 434.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3414, allocations: 4 kB / 434.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.00051/0.3419, allocations: 109.5 kB / 435 MB, free: 4.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.342, allocations: 59.41 kB / 435 MB, free: 4.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.342, allocations: 105.8 kB / 435.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3421, allocations: 25.7 kB / 435.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.3421, allocations: 88.08 kB / 435.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3421, allocations: 15.94 kB / 435.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.3422, allocations: 17.72 kB / 435.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3423, allocations: 310.8 kB / 435.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.3424, allocations: 4 kB / 435.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.3424, allocations: 35.36 kB / 435.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.3424, allocations: 39.38 kB / 435.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3425, allocations: 0 / 435.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001006/0.3426, allocations: 61.62 kB / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3426, allocations: 4 kB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3426, allocations: 3.938 kB / 435.7 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3426, allocations: 8.125 kB / 435.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.3427, allocations: 8 kB / 435.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3427, allocations: 128 / 435.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.3427, allocations: 4 kB / 435.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.3427, allocations: 4 kB / 435.8 MB, free: 3.461 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.0001073/0.3428, allocations: 121.8 kB / 435.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.3431, allocations: 85.59 kB / 436 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.3431, allocations: 11.84 kB / 436 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3431, allocations: 240 / 436 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3431, allocations: 4 kB / 436 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3431, allocations: 3.938 kB / 436 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.3433, allocations: 169.6 kB / 436.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3433, allocations: 0 / 436.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/0.3434, allocations: 11.98 kB / 436.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3434, allocations: 0 / 436.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3434, allocations: 3.938 kB / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3434, allocations: 4 kB / 436.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3434, allocations: 0 / 436.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.3438, allocations: 121 kB / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.3438, allocations: 81.11 kB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.3438, allocations: 3.938 kB / 436.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.3439, allocations: 7.984 kB / 436.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-06/0.3439, allocations: 0 / 436.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.3439, allocations: 8 kB / 436.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.792e-05/0.344, allocations: 83.27 kB / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.344, allocations: 0 / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001878/0.3442, allocations: 8 kB / 436.5 MB, free: 2.641 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.0001372/0.3443, allocations: 103.2 kB / 436.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.3445, allocations: 39.89 kB / 436.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3445, allocations: 4 kB / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3445, allocations: 0 / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3449, allocations: 39.94 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.3453, allocations: 141.4 kB / 436.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.3457, allocations: 0.6848 MB / 437.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.384e-05/0.3457, allocations: 7.984 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.3458, allocations: 7.438 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3458, allocations: 0 / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of Templates: time 0.003194/0.349, allocations: 0.5388 MB / 438 MB, free: 1.02 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.168769916985184]