Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.0008575/0.0008575, allocations: 119 kB / 19.7 MB, free: 0.5195 MB / 13.93 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.0009264/0.0009264, allocations: 207.8 kB / 23 MB, free: 3.117 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 0.8788/0.8788, allocations: 230.6 MB / 256.8 MB, free: 3.441 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7599/0.7599, allocations: 203.8 MB / 0.5049 GB, free: 0.668 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008828/0.0008828, allocations: 67.89 kB / 0.7195 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4841/0.485, allocations: 102 MB / 0.8191 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001798/0.4868, allocations: 1.071 MB / 0.8202 GB, free: 24.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009402/0.4877, allocations: 1.04 MB / 0.8212 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.4878, allocations: 6.656 kB / 0.8212 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.4879, allocations: 20.64 kB / 0.8212 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.7e-05/0.488, allocations: 22.52 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.4882, allocations: 76.19 kB / 0.8213 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.4884, allocations: 176.8 kB / 0.8215 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.4886, allocations: 67.64 kB / 0.8215 GB, free: 23.54 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.924e-05/0.4887, allocations: 74.08 kB / 0.8216 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.197e-05/0.4888, allocations: 80.84 kB / 0.8217 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.4888, allocations: 15.44 kB / 0.8217 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.402e-05/0.4889, allocations: 18.12 kB / 0.8217 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/0.4889, allocations: 41.95 kB / 0.8218 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.489, allocations: 75.91 kB / 0.8218 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.4892, allocations: 190.7 kB / 0.822 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4892, allocations: 0 / 0.822 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4892, allocations: 0 / 0.822 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4892, allocations: 0.7188 kB / 0.822 GB, free: 23.3 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005655/0.4898, allocations: 436.1 kB / 0.8224 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.4898, allocations: 12.47 kB / 0.8225 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.323e-05/0.4899, allocations: 19.03 kB / 0.8225 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.4901, allocations: 173 kB / 0.8226 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.4901, allocations: 11.16 kB / 0.8226 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.4901, allocations: 15.19 kB / 0.8227 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.4904, allocations: 152.8 kB / 0.8228 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4904, allocations: 0.875 kB / 0.8228 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4904, allocations: 6.344 kB / 0.8228 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.4904, allocations: 8.719 kB / 0.8228 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.4906, allocations: 114.3 kB / 0.8229 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/0.4913, allocations: 0.5047 MB / 0.8234 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.4916, allocations: 131.5 kB / 0.8235 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.4917, allocations: 83.28 kB / 0.8236 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.4917, allocations: 3.312 kB / 0.8236 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.4919, allocations: 117.8 kB / 0.8237 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=19): time 1.874e-06/0.4919, allocations: 0 / 0.8237 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0005528/0.4925, allocations: 230 kB / 0.824 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.4925, allocations: 53.72 kB / 0.824 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.4926, allocations: 160.4 kB / 0.8242 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.4927, allocations: 27.14 kB / 0.8242 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.4927, allocations: 117.5 kB / 0.8243 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.4928, allocations: 68.06 kB / 0.8244 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.4928, allocations: 42.92 kB / 0.8244 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.621e-05/0.4929, allocations: 327.9 kB / 0.8247 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.493, allocations: 64.62 kB / 0.8248 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.4931, allocations: 90.3 kB / 0.8249 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.4934, allocations: 150.7 kB / 0.825 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4934, allocations: 0 / 0.825 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002982/0.4937, allocations: 213.6 kB / 0.8252 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4937, allocations: 6.469 kB / 0.8252 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4937, allocations: 0.6406 kB / 0.8252 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4937, allocations: 5.25 kB / 0.8252 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.4938, allocations: 40.28 kB / 0.8253 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.4938, allocations: 2.094 kB / 0.8253 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.043e-05/0.4939, allocations: 32.11 kB / 0.8253 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.4939, allocations: 4.703 kB / 0.8253 GB, free: 21.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.133e-05/0.494, allocations: 134.8 kB / 0.8254 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.494, allocations: 15.06 kB / 0.8254 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.4943, allocations: 194.8 kB / 0.8256 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4943, allocations: 9.922 kB / 0.8256 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4943, allocations: 0 / 0.8256 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.4943, allocations: 2.938 kB / 0.8256 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.4948, allocations: 0.5512 MB / 0.8262 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4948, allocations: 2.344 kB / 0.8262 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.96e-05/0.4949, allocations: 32.14 kB / 0.8262 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.4949, allocations: 7.594 kB / 0.8262 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4949, allocations: 11.52 kB / 0.8262 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4949, allocations: 4.094 kB / 0.8262 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4949, allocations: 5.125 kB / 0.8262 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.4953, allocations: 382.8 kB / 0.8266 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.4953, allocations: 26.97 kB / 0.8266 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.4953, allocations: 4.422 kB / 0.8266 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.4954, allocations: 17.69 kB / 0.8267 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.4955, allocations: 29.42 kB / 0.8267 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.4955, allocations: 6.328 kB / 0.8267 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.147e-05/0.4955, allocations: 118.8 kB / 0.8268 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4955, allocations: 0 / 0.8268 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001729/0.4957, allocations: 40.2 kB / 0.8268 GB, free: 20 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 8.4e-05/0.4958, allocations: 105.2 kB / 0.8269 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002727/0.496, allocations: 157.9 kB / 0.8271 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.496, allocations: 0 / 0.8271 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.4962, allocations: 80.58 kB / 0.8272 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.4964, allocations: 25.95 kB / 0.8272 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.4968, allocations: 411.4 kB / 0.8276 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.497, allocations: 0.7262 MB / 0.8283 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.497, allocations: 20.66 kB / 0.8283 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.497, allocations: 0 / 0.8283 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.003457/0.5005, allocations: 1.972 MB / 0.8302 GB, free: 18.6 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.611538793891668] Failed to read output from testmodel.py, exit status != 0: 0.5050257779657841 0.513607708 0.022656634000000002 Calling exit ...