Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Blocks.BooleanPulseN.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.001216/0.001216, allocations: 85.17 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.001425/0.001425, 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.05/1.05, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.05473/0.05473, allocations: 12.76 MB / 273 MB, free: 132 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.BooleanPulseN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.BooleanPulseN") translateModel(Bodylight.Blocks.BooleanPulseN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.BooleanPulseN") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 347.2 MB, free: 1.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.646e-05, allocations: 4.844 kB / 347.2 MB, free: 1.957 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Blocks.mo:1663:5-1664:39:writable] Warning: Parameter period has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Bodylight.Blocks.BooleanPulseN): time 0.001963/0.00199, allocations: 1.357 MB / 348.6 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00064/0.00263, allocations: 442.8 kB / 349 MB, free: 156 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.002657, allocations: 0 / 349 MB, free: 156 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.00269, allocations: 3.984 kB / 349 MB, free: 152 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.354e-05/0.002783, allocations: 8 kB / 349 MB, free: 144 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.002932, allocations: 11.92 kB / 349 MB, free: 132 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.292e-05/0.002995, allocations: 27.86 kB / 349.1 MB, free: 104 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.003038, allocations: 7.984 kB / 349.1 MB, free: 96 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.003109, allocations: 15.92 kB / 349.1 MB, free: 80 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.257e-05/0.003172, allocations: 4 kB / 349.1 MB, free: 76 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.003192, allocations: 4 kB / 349.1 MB, free: 72 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-06/0.003201, allocations: 0 / 349.1 MB, free: 72 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.003219, allocations: 3.984 kB / 349.1 MB, free: 68 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.003245, allocations: 15.88 kB / 349.1 MB, free: 52 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 7.617e-05/0.003322, allocations: 23.91 kB / 349.1 MB, free: 28 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.003324, allocations: 0 / 349.1 MB, free: 28 kB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003325, allocations: 0 / 349.1 MB, free: 28 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.003328, allocations: 0 / 349.1 MB, free: 28 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004279/0.003756, allocations: 364.6 kB / 349.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.003795, allocations: 15.98 kB / 349.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.003824, allocations: 4.922 kB / 349.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.467e-05/0.003908, allocations: 120.5 kB / 349.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.003919, allocations: 384 / 349.6 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.003929, allocations: 8.375 kB / 349.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.904e-05/0.003998, allocations: 42.23 kB / 349.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.004005, allocations: 192 / 349.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.004013, allocations: 384 / 349.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.004019, allocations: 3.938 kB / 349.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/0.00404, allocations: 7.938 kB / 349.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.004148, allocations: 97.25 kB / 349.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.483e-05/0.004193, allocations: 31.06 kB / 349.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.004211, allocations: 15.81 kB / 349.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.00422, allocations: 0 / 349.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.004325, allocations: 61.05 kB / 349.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/0.004327, allocations: 11.92 kB / 349.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000144/0.004471, allocations: 57.67 kB / 350 MB, free: 15.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.00451, allocations: 51.41 kB / 350 MB, free: 15.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.004796, allocations: 181.7 kB / 350.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.00481, allocations: 29.7 kB / 350.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.004848, allocations: 130.9 kB / 350.4 MB, free: 14.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.004865, allocations: 7.938 kB / 350.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.004894, allocations: 27.36 kB / 350.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.005009, allocations: 0.4884 MB / 350.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.00502, allocations: 0 / 350.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.005042, allocations: 31.3 kB / 350.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.005087, allocations: 31.38 kB / 350.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005089, allocations: 0 / 350.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.89e-05/0.005158, allocations: 57.62 kB / 351 MB, free: 13.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.005171, allocations: 7.984 kB / 351 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.005177, allocations: 0 / 351 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.005186, allocations: 0 / 351 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.839e-05/0.005235, allocations: 8 kB / 351 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.005239, allocations: 3.938 kB / 351 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.005282, allocations: 4 kB / 351 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.005287, allocations: 0 / 351 MB, free: 13.94 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: count:DISCRETE(start = 0.0 fixed = true ) 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: 6 ($PRE.count,count,$whenCondition1,pulseStart,$PRE.pulseStart,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.000117/0.005404, allocations: 172.5 kB / 351.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.005415, allocations: 11.89 kB / 351.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.005439, allocations: 3.688 kB / 351.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.005441, allocations: 0 / 351.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.005443, allocations: 0 / 351.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.005447, allocations: 7.938 kB / 351.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.821e-05/0.005515, allocations: 101.2 kB / 351.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.005517, allocations: 0 / 351.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-06/0.00552, allocations: 0 / 351.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.005522, allocations: 4 kB / 351.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.005529, allocations: 0 / 351.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005529, allocations: 0 / 351.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.005531, allocations: 0 / 351.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.143e-05/0.005622, allocations: 92.64 kB / 351.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.005634, allocations: 7.953 kB / 351.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.005646, allocations: 384 / 351.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.00568, allocations: 7.984 kB / 351.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.005715, allocations: 12.03 kB / 351.4 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.005723, allocations: 15.86 kB / 351.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.89e-05/0.005762, allocations: 123.2 kB / 351.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005762, allocations: 4 kB / 351.6 MB, free: 13.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001139/0.005876, allocations: 4 kB / 351.6 MB, free: 13.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,count,y,pulseStart) * Number of discrete states: 1 (count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.058e-05/0.005957, allocations: 99.12 kB / 351.7 MB, free: 13.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.099e-05/0.006028, allocations: 31.66 kB / 351.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006029, allocations: 0 / 351.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.671e-05/0.006056, allocations: 23.61 kB / 351.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.006201, allocations: 4 kB / 351.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.006422, allocations: 118.4 kB / 351.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.807e-05/0.00645, allocations: 55.36 kB / 351.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.306e-05/0.006473, allocations: 7.984 kB / 351.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.006526, allocations: 74.2 kB / 352 MB, free: 12.85 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.006527, allocations: 0 / 352 MB, free: 12.85 MB / 330.7 MB Notification: Performance of Templates: time 0.002373/0.0089, allocations: 0.658 MB / 352.6 MB, free: 12.2 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Blocks.BooleanPulseN.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Blocks.BooleanPulseN.pipe ; mkfifo Bodylight_Bodylight.Blocks.BooleanPulseN.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.BooleanPulseN.pipe >> ../files/Bodylight_Bodylight.Blocks.BooleanPulseN.sim & (cd run_cvode && ../Bodylight_Bodylight.Blocks.BooleanPulseN -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Bodylight_Bodylight.Blocks.BooleanPulseN.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Blocks.BooleanPulseN_gbode.pipe ; mkfifo Bodylight_Bodylight.Blocks.BooleanPulseN_gbode.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.BooleanPulseN_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Blocks.BooleanPulseN_gbode.sim & (cd run_gbode && ../Bodylight_Bodylight.Blocks.BooleanPulseN -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Bodylight_Bodylight.Blocks.BooleanPulseN_gbode.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Blocks.BooleanPulseN_ida.pipe ; mkfifo Bodylight_Bodylight.Blocks.BooleanPulseN_ida.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.BooleanPulseN_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Blocks.BooleanPulseN_ida.sim & (cd run_ida && ../Bodylight_Bodylight.Blocks.BooleanPulseN -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Bodylight_Bodylight.Blocks.BooleanPulseN_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.856003761757165]