Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.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.001325/0.001325, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001092/0.001092, allocations: 169 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.069/1.069, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.06451/0.06451, allocations: 12.75 MB / 273 MB, free: 136 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.ContinuousMeanValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue") translateModel(Bodylight.Blocks.Signals.Components.ContinuousMeanValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 347.3 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.503e-05, allocations: 6.312 kB / 347.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.0009335/0.0009485, allocations: 0.6155 MB / 347.9 MB, free: 240 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001154/0.001064, allocations: 27.89 kB / 347.9 MB, free: 212 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.001086, allocations: 4 kB / 347.9 MB, free: 208 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.00111, allocations: 0 / 347.9 MB, free: 208 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.122e-05/0.001132, allocations: 0 / 347.9 MB, free: 208 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.001233, allocations: 0 / 347.9 MB, free: 208 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.315e-05/0.001286, allocations: 4 kB / 347.9 MB, free: 204 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.525e-05/0.001321, allocations: 3.984 kB / 347.9 MB, free: 200 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.31e-05/0.001354, allocations: 4 kB / 347.9 MB, free: 196 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.001406, allocations: 0 / 347.9 MB, free: 196 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.001418, allocations: 0 / 347.9 MB, free: 196 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-06/0.001425, allocations: 0 / 347.9 MB, free: 196 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.001441, allocations: 7.938 kB / 347.9 MB, free: 188 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.208e-05/0.001453, allocations: 8 kB / 347.9 MB, free: 180 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.211e-05/0.001505, allocations: 7.969 kB / 347.9 MB, free: 172 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.001507, allocations: 0 / 347.9 MB, free: 172 kB / 266.7 MB Notification: Performance of FrontEnd: time 4.1e-07/0.001507, allocations: 0 / 347.9 MB, free: 172 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.065e-06/0.00151, allocations: 3.938 kB / 348 MB, free: 168 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002752/0.001786, allocations: 352 kB / 348.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.001819, allocations: 15.98 kB / 348.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.063e-05/0.001839, allocations: 0.9375 kB / 348.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.55e-05/0.001915, allocations: 109 kB / 348.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.001923, allocations: 4.375 kB / 348.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.001937, allocations: 8.359 kB / 348.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.862e-05/0.001996, allocations: 34.25 kB / 348.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.002002, allocations: 192 / 348.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-06/0.002007, allocations: 384 / 348.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.002012, allocations: 384 / 348.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.057e-06/0.002021, allocations: 7.938 kB / 348.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.002211, allocations: 228.3 kB / 348.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.868e-05/0.00224, allocations: 27.05 kB / 348.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.288e-05/0.002252, allocations: 11.78 kB / 348.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.00226, allocations: 0 / 348.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.002278, allocations: 37.39 kB / 348.8 MB, free: 15.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.002279, allocations: 0 / 348.8 MB, free: 15.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001121/0.002391, allocations: 45.56 kB / 348.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.00242, allocations: 55.34 kB / 348.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.002498, allocations: 153.9 kB / 349 MB, free: 14.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.002512, allocations: 29.7 kB / 349 MB, free: 14.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.002555, allocations: 130.8 kB / 349.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.829e-06/0.002565, allocations: 7.969 kB / 349.2 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.002592, allocations: 23.33 kB / 349.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.002726, allocations: 492.1 kB / 349.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-06/0.002733, allocations: 8.125 kB / 349.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.002748, allocations: 15.38 kB / 349.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/0.002792, allocations: 35.3 kB / 349.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.002794, allocations: 0 / 349.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.775e-05/0.002841, allocations: 37.7 kB / 349.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.002854, allocations: 6.812 kB / 349.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.002861, allocations: 7.938 kB / 349.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.002873, allocations: 12.03 kB / 349.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.002935, allocations: 4 kB / 349.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.002939, allocations: 0 / 349.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.002952, allocations: 7.922 kB / 349.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.002959, allocations: 4 kB / 349.8 MB, free: 14.08 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: output y:VARIABLE(flow=false fixed = true stateSelect=StateSelect.always ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001075/0.003067, allocations: 163 kB / 350 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.003079, allocations: 0 / 350 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.003102, allocations: 7.156 kB / 350 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.003106, allocations: 3.938 kB / 350 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.003108, allocations: 0 / 350 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.003112, allocations: 4 kB / 350 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.848e-05/0.0032, allocations: 97.25 kB / 350.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.003201, allocations: 0 / 350.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.003234, allocations: 4 kB / 350.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.003235, allocations: 0 / 350.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.003244, allocations: 0 / 350.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-07/0.003245, allocations: 0 / 350.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.003245, allocations: 0 / 350.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.003386, allocations: 199.8 kB / 350.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.003391, allocations: 0 / 350.3 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-06/0.003399, allocations: 4.062 kB / 350.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.368e-05/0.003423, allocations: 0 / 350.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.003436, allocations: 4.172 kB / 350.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.003439, allocations: 7.938 kB / 350.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.984e-05/0.003479, allocations: 123.2 kB / 350.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003479, allocations: 0 / 350.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001353/0.003614, allocations: 7.984 kB / 350.4 MB, free: 13.41 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 7.095e-05/0.003685, allocations: 87.25 kB / 350.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.316e-05/0.003748, allocations: 19.62 kB / 350.5 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.00375, allocations: 4.125 kB / 350.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.003761, allocations: 11.69 kB / 350.6 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.003909, allocations: 7.984 kB / 350.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.004189, allocations: 122.3 kB / 350.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.966e-05/0.004228, allocations: 59.3 kB / 350.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.524e-05/0.004243, allocations: 3.984 kB / 350.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.004281, allocations: 66.2 kB / 350.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.004282, allocations: 0 / 350.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of Templates: time 0.001812/0.006094, allocations: 320.6 kB / 351.1 MB, free: 12.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe >> ../files/Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.sim & (cd run_cvode && ../Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_gbode.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_gbode.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_gbode.sim & (cd run_gbode && ../Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_gbode.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_ida.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_ida.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_ida.sim & (cd run_ida && ../Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.688173563685268]