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.0008698/0.0008698, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002383, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.0009727/0.0009727, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.00232, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.018/1.018, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08142/1.099, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.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.06746/0.06746, allocations: 12.76 MB / 256.9 MB, free: 2 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007021/0.07448, allocations: 4.835 MB / 261.7 MB, free: 13.16 MB / 266.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.002e-06/1.002e-06, allocations: 0 / 263.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.154e-05, allocations: 2.312 kB / 263.1 MB, free: 11.79 MB / 266.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.001503/0.001514, allocations: 1.42 MB / 264.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004537/0.001968, allocations: 448.2 kB / 265 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.185e-05/0.00198, allocations: 3.938 kB / 265 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.00199, allocations: 7.938 kB / 265 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.426e-05/0.002014, allocations: 4 kB / 265 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.479e-05/0.002059, allocations: 19.84 kB / 265 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.719e-05/0.002096, allocations: 27.86 kB / 265 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.661e-05/0.002113, allocations: 0 / 265 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.496e-05/0.002158, allocations: 27.92 kB / 265 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.258e-05/0.002191, allocations: 7.984 kB / 265 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.002199, allocations: 0 / 265 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.589e-06/0.002204, allocations: 0 / 265 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.002214, allocations: 4 kB / 265.1 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.002229, allocations: 11.94 kB / 265.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.287e-05/0.002272, allocations: 19.97 kB / 265.1 MB, free: 9.777 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.002279, allocations: 0 / 265.1 MB, free: 9.777 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.51e-07/0.002279, allocations: 0 / 265.1 MB, free: 9.777 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.002284, allocations: 0 / 265.1 MB, free: 9.777 MB / 266.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.0002351/0.002519, allocations: 244.6 kB / 265.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.492e-05/0.002544, allocations: 8.031 kB / 265.3 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.835e-05/0.002562, allocations: 4.938 kB / 265.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.454e-05/0.002617, allocations: 105.7 kB / 265.4 MB, free: 9.375 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.002626, allocations: 4.375 kB / 265.4 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.002634, allocations: 4.375 kB / 265.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.337e-05/0.002697, allocations: 42.23 kB / 265.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-06/0.002703, allocations: 4.125 kB / 265.5 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-06/0.002708, allocations: 384 / 265.5 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.002715, allocations: 7.938 kB / 265.5 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.82e-05/0.002733, allocations: 7.969 kB / 265.5 MB, free: 9.301 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.827e-05/0.002801, allocations: 64.98 kB / 265.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.865e-05/0.00284, allocations: 26.52 kB / 265.6 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.002855, allocations: 12.98 kB / 265.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-06/0.00286, allocations: 0 / 265.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.334e-05/0.002944, allocations: 55.39 kB / 265.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.002944, allocations: 4 kB / 265.7 MB, free: 9.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.055e-05/0.003035, allocations: 53.61 kB / 265.7 MB, free: 9.043 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.003066, allocations: 51.41 kB / 265.8 MB, free: 8.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.189e-05/0.003118, allocations: 114.6 kB / 265.9 MB, free: 8.855 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.003128, allocations: 25.7 kB / 265.9 MB, free: 8.824 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.003151, allocations: 84.12 kB / 266 MB, free: 8.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.003172, allocations: 11.94 kB / 266 MB, free: 8.727 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.003198, allocations: 17.72 kB / 266 MB, free: 8.703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.003272, allocations: 314.8 kB / 266.3 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.00328, allocations: 4 kB / 266.3 MB, free: 8.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.561e-05/0.003296, allocations: 21.7 kB / 266.4 MB, free: 8.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.998e-05/0.003336, allocations: 30.02 kB / 266.4 MB, free: 8.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.003338, allocations: 0 / 266.4 MB, free: 8.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.766e-05/0.003386, allocations: 49.67 kB / 266.4 MB, free: 8.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.003396, allocations: 10.91 kB / 266.4 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.003403, allocations: 8 kB / 266.4 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.003411, allocations: 0 / 266.4 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.821e-05/0.003449, allocations: 12 kB / 266.5 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.003452, allocations: 0 / 266.5 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.003486, allocations: 15.86 kB / 266.5 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-06/0.003489, allocations: 4 kB / 266.5 MB, free: 8.219 MB / 266.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 7.021e-05/0.003559, allocations: 109.8 kB / 266.6 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.003567, allocations: 4 kB / 266.6 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.00359, allocations: 7.688 kB / 266.6 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.003592, allocations: 4.266 kB / 266.6 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.003593, allocations: 0 / 266.6 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.003599, allocations: 3.938 kB / 266.6 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.879e-05/0.003647, allocations: 69.83 kB / 266.7 MB, free: 7.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.003649, allocations: 3.984 kB / 266.7 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-06/0.003653, allocations: 8 kB / 266.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.003659, allocations: 3.953 kB / 266.7 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.00366, allocations: 3.984 kB / 266.7 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.003666, allocations: 4 kB / 266.7 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.003668, allocations: 7.938 kB / 266.7 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.003669, allocations: 0 / 266.7 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.862e-05/0.003717, allocations: 65.06 kB / 266.8 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.003727, allocations: 0 / 266.8 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.003748, allocations: 7.984 kB / 266.8 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.003777, allocations: 7.984 kB / 266.8 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.00378, allocations: 0 / 266.8 MB, free: 7.863 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.303e-05/0.003793, allocations: 16.86 kB / 266.8 MB, free: 7.844 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003793, allocations: 0 / 266.8 MB, free: 7.844 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.633e-05/0.003889, allocations: 8 kB / 266.8 MB, free: 7.836 MB / 266.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 5.758e-05/0.003947, allocations: 72.41 kB / 266.9 MB, free: 7.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.339e-05/0.00403, allocations: 27.88 kB / 266.9 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.004033, allocations: 0 / 266.9 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.406e-05/0.004067, allocations: 24.77 kB / 266.9 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001048/0.004172, allocations: 63.58 kB / 267 MB, free: 7.629 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.004487, allocations: 128.5 kB / 267.1 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.355e-05/0.004511, allocations: 54.98 kB / 267.2 MB, free: 7.406 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.071e-05/0.004531, allocations: 7.984 kB / 267.2 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.004577, allocations: 51.38 kB / 267.2 MB, free: 7.348 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.004578, allocations: 0 / 267.2 MB, free: 7.348 MB / 266.7 MB Notification: Performance of Templates: time 0.001834/0.006412, allocations: 0.6306 MB / 267.9 MB, free: 6.73 MB / 266.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_dassl.pipe ; mkfifo Bodylight_Bodylight.Blocks.BooleanPulseN_dassl.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.BooleanPulseN_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Blocks.BooleanPulseN_dassl.sim & (cd run_dassl && ../Bodylight_Bodylight.Blocks.BooleanPulseN -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > Bodylight_Bodylight.Blocks.BooleanPulseN_dassl.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.5679346192628145]