Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.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.001058/0.001058, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001555/0.001555, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 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.068/1.068, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.07705/0.07705, allocations: 12.75 MB / 273 MB, free: 140 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo) 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(Bodylight.Blocks.Signals.Components.AccumulatedResetValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue") translateModel(Bodylight.Blocks.Signals.Components.AccumulatedResetValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 347.3 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.649e-05, allocations: 8.422 kB / 347.3 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.AccumulatedResetValue): time 0.001927/0.001953, allocations: 1.35 MB / 348.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002002/0.002153, allocations: 31.83 kB / 348.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.002194, allocations: 3.938 kB / 348.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.00223, allocations: 4 kB / 348.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.945e-05/0.00228, allocations: 0 / 348.7 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.00242, allocations: 11.98 kB / 348.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.036e-05/0.00247, allocations: 4 kB / 348.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.002511, allocations: 0 / 348.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.74e-05/0.002549, allocations: 7.984 kB / 348.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.654e-05/0.002615, allocations: 11.92 kB / 348.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.002631, allocations: 4 kB / 348.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.00264, allocations: 0 / 348.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.00266, allocations: 0 / 348.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.002685, allocations: 0 / 348.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9e-05/0.002775, allocations: 19.86 kB / 348.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.002778, allocations: 0 / 348.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.00278, allocations: 0 / 348.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.002789, allocations: 4 kB / 348.7 MB, free: 15.39 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004721/0.003261, allocations: 356.1 kB / 349.1 MB, free: 15 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.003312, allocations: 11.98 kB / 349.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.003343, allocations: 4.938 kB / 349.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.658e-05/0.003419, allocations: 112.5 kB / 349.2 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.003432, allocations: 384 / 349.2 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.003453, allocations: 8.703 kB / 349.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.085e-05/0.003543, allocations: 42.25 kB / 349.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.003553, allocations: 192 / 349.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.00356, allocations: 384 / 349.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.003567, allocations: 4.375 kB / 349.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.003585, allocations: 15.8 kB / 349.3 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.003855, allocations: 228.4 kB / 349.5 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.683e-05/0.003912, allocations: 27.06 kB / 349.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.003929, allocations: 15.69 kB / 349.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.003944, allocations: 0 / 349.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.003968, allocations: 37.47 kB / 349.6 MB, free: 14.42 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.00397, allocations: 0 / 349.6 MB, free: 14.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001668/0.004136, allocations: 57.56 kB / 349.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.004179, allocations: 55.41 kB / 349.7 MB, free: 14.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.55e-05/0.004255, allocations: 157.9 kB / 349.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.004265, allocations: 25.7 kB / 349.9 MB, free: 14.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.00431, allocations: 138.8 kB / 350 MB, free: 13.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.004319, allocations: 3.953 kB / 350 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.004346, allocations: 23.38 kB / 350 MB, free: 13.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.004472, allocations: 0.4923 MB / 350.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.004493, allocations: 7.688 kB / 350.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.004528, allocations: 58.59 kB / 350.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.176e-05/0.00459, allocations: 66.31 kB / 350.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.004593, allocations: 4 kB / 350.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.757e-05/0.00467, allocations: 65.52 kB / 350.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.004685, allocations: 12.16 kB / 350.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.004691, allocations: 0 / 350.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.004703, allocations: 3.938 kB / 350.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.004758, allocations: 16 kB / 350.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.004762, allocations: 3.984 kB / 350.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.00478, allocations: 7.938 kB / 350.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.004785, allocations: 0 / 350.8 MB, free: 13.12 MB / 282.7 MB Warning: Assuming fixed start value for the following 3 variables: accumulated:VARIABLE(fixed = true stateSelect=StateSelect.always protected = true ) type: Real t:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real y:DISCRETE(flow=false fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t,t,$PRE.y,y,reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001221/0.004907, allocations: 156.6 kB / 350.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.004925, allocations: 15.89 kB / 350.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.004953, allocations: 7.688 kB / 350.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.004956, allocations: 3.938 kB / 350.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.004957, allocations: 0 / 350.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.004963, allocations: 3.984 kB / 350.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.518e-05/0.005058, allocations: 93.27 kB / 351 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.00506, allocations: 0 / 351 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.005092, allocations: 4.188 kB / 351 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005093, allocations: 3.938 kB / 351 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.005102, allocations: 0 / 351 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005103, allocations: 0 / 351 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.005106, allocations: 7.984 kB / 351 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.005257, allocations: 207.8 kB / 351.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.005264, allocations: 0 / 351.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.005275, allocations: 7.984 kB / 351.3 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.005308, allocations: 0 / 351.3 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.005321, allocations: 3.938 kB / 351.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.005325, allocations: 3.938 kB / 351.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.232e-05/0.005358, allocations: 123.2 kB / 351.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005358, allocations: 0 / 351.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001453/0.005503, allocations: 8 kB / 351.4 MB, free: 12.42 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (accumulated) * Number of discrete variables: 2 (t,y) * Number of discrete states: 1 (t) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.033e-05/0.005583, allocations: 99.36 kB / 351.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.834e-05/0.005652, allocations: 27.61 kB / 351.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.005653, allocations: 0 / 351.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-05/0.005671, allocations: 11.69 kB / 351.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.005812, allocations: 0 / 351.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.006062, allocations: 122.3 kB / 351.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.006104, allocations: 59.3 kB / 351.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.45e-05/0.006118, allocations: 320 / 351.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.006163, allocations: 74.2 kB / 351.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.006163, allocations: 0 / 351.8 MB, free: 11.97 MB / 282.7 MB Notification: Performance of Templates: time 0.002169/0.008332, allocations: 407.2 kB / 352.2 MB, free: 11.58 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.pipe >> ../files/Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.sim & (cd run_cvode && ../Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue_gbode.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue_gbode.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue_gbode.sim & (cd run_gbode && ../Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue_gbode.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue_ida.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue_ida.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue_ida.sim & (cd run_ida && ../Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Bodylight_Bodylight.Blocks.Signals.Components.AccumulatedResetValue_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8021283857524395]