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.00166/0.00166, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.002282/0.002282, allocations: 213.4 kB / 23 MB, free: 5.609 MB / 14.72 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.734/1.734, allocations: 230.2 MB / 256.2 MB, free: 8.566 MB / 206.1 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 0.001957/0.001957, allocations: 63.89 kB / 376.5 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3994, allocations: 53.32 MB / 429.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002918/0.4023, allocations: 1.492 MB / 431.3 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002251/0.4025, allocations: 31.91 kB / 431.3 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.4026, allocations: 4 kB / 431.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.038e-05/0.4026, allocations: 3.938 kB / 431.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.283e-05/0.4026, allocations: 3.938 kB / 431.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.4029, allocations: 27.97 kB / 431.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.792e-05/0.403, allocations: 39.84 kB / 431.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.4031, allocations: 4 kB / 431.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.219e-05/0.4032, allocations: 19.97 kB / 431.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.4032, allocations: 23.86 kB / 431.4 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.4033, allocations: 4 kB / 431.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.4033, allocations: 8 kB / 431.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.4033, allocations: 4 kB / 431.5 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.4033, allocations: 15.92 kB / 431.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.4035, allocations: 45.3 kB / 431.5 MB, free: 5.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4035, allocations: 0 / 431.5 MB, free: 5.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4035, allocations: 0 / 431.5 MB, free: 5.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.4035, allocations: 0 / 431.5 MB, free: 5.848 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.0006104/0.4041, allocations: 359.1 kB / 431.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.4041, allocations: 8.031 kB / 431.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.4042, allocations: 12.89 kB / 431.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.4044, allocations: 176.3 kB / 432.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.4044, allocations: 4.375 kB / 432.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.4045, allocations: 4.359 kB / 432.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.405, allocations: 155.7 kB / 432.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.405, allocations: 192 / 432.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.4051, allocations: 3.938 kB / 432.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4051, allocations: 4 kB / 432.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.4053, allocations: 51.94 kB / 432.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.4055, allocations: 169.5 kB / 432.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.4058, allocations: 86.44 kB / 432.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.406, allocations: 36.91 kB / 432.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.406, allocations: 4 kB / 432.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.406, allocations: 34.56 kB / 432.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.406, allocations: 0 / 432.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004988/0.4065, allocations: 117.5 kB / 432.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.4066, allocations: 51.41 kB / 432.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.4067, allocations: 109.8 kB / 432.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.4067, allocations: 29.64 kB / 432.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.4067, allocations: 84.14 kB / 433 MB, free: 4.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.4067, allocations: 3.953 kB / 433 MB, free: 4.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.4068, allocations: 21.72 kB / 433 MB, free: 4.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4069, allocations: 318.8 kB / 433.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.4069, allocations: 4 kB / 433.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.407, allocations: 31.44 kB / 433.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.407, allocations: 43.36 kB / 433.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.407, allocations: 0 / 433.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.726e-05/0.4071, allocations: 57.64 kB / 433.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4072, allocations: 8 kB / 433.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.4072, allocations: 7.922 kB / 433.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4072, allocations: 0 / 433.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.4072, allocations: 8 kB / 433.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.4072, allocations: 8.375 kB / 433.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.4073, allocations: 4 kB / 433.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.4073, allocations: 0 / 433.5 MB, free: 3.621 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.391e-05/0.4074, allocations: 113.8 kB / 433.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002775/0.4076, allocations: 89.58 kB / 433.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.4077, allocations: 7.844 kB / 433.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4077, allocations: 4 kB / 433.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4077, allocations: 0 / 433.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4077, allocations: 4.172 kB / 433.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.4079, allocations: 165.7 kB / 433.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4079, allocations: 0 / 433.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-05/0.408, allocations: 15.98 kB / 433.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.408, allocations: 7.922 kB / 433.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.408, allocations: 7.922 kB / 433.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.408, allocations: 3.984 kB / 433.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.408, allocations: 0 / 433.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.4083, allocations: 117 kB / 434 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.4083, allocations: 81.11 kB / 434.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.4084, allocations: 7.938 kB / 434.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.475e-05/0.4084, allocations: 11.92 kB / 434.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-06/0.4084, allocations: 0 / 434.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.4084, allocations: 4.125 kB / 434.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.395e-05/0.4085, allocations: 87.28 kB / 434.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4085, allocations: 0 / 434.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001877/0.4087, allocations: 7.984 kB / 434.2 MB, free: 2.785 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.0002157/0.4089, allocations: 99.25 kB / 434.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.4091, allocations: 43.91 kB / 434.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4091, allocations: 0 / 434.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.4091, allocations: 0 / 434.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.4095, allocations: 43.92 kB / 434.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.4099, allocations: 144.8 kB / 434.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.4103, allocations: 0.6846 MB / 435.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.668e-05/0.4103, allocations: 4.25 kB / 435.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.4103, allocations: 11.44 kB / 435.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4103, allocations: 0 / 435.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of Templates: time 0.003151/0.4135, allocations: 0.5322 MB / 435.8 MB, free: 1.176 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] 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: 5.150514401495457]