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.0006259/0.0006259, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0006999/0.0006999, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8292/0.8292, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.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.6824/0.6824, allocations: 154.5 MB / 414.5 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.6194 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.116e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001627/0.001658, allocations: 0.989 MB / 0.6203 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002725, allocations: 1.034 MB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.002827, allocations: 4 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.002952, allocations: 23.69 kB / 0.6214 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.914e-05/0.003001, allocations: 15.8 kB / 0.6214 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.003301, allocations: 79.78 kB / 0.6215 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.00346, allocations: 172.1 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.003602, allocations: 60.5 kB / 0.6217 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.003717, allocations: 107.7 kB / 0.6218 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.003795, allocations: 63.78 kB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.003819, allocations: 16 kB / 0.6219 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.945e-05/0.003868, allocations: 23.98 kB / 0.6219 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.003899, allocations: 39.83 kB / 0.6219 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.003942, allocations: 51.89 kB / 0.622 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.004156, allocations: 199.2 kB / 0.6222 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.004159, allocations: 0 / 0.6222 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.00416, allocations: 0 / 0.6222 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.004166, allocations: 0 / 0.6222 GB, free: 10.3 MB / 0.5886 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.0005981/0.004764, allocations: 426.4 kB / 0.6226 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.0048, allocations: 9.469 kB / 0.6226 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.329e-05/0.004893, allocations: 20.84 kB / 0.6226 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.005143, allocations: 166 kB / 0.6227 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.00516, allocations: 8.375 kB / 0.6228 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.005188, allocations: 20.38 kB / 0.6228 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.005421, allocations: 171.8 kB / 0.6229 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.005431, allocations: 4.188 kB / 0.6229 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.005449, allocations: 12.12 kB / 0.623 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.005455, allocations: 4 kB / 0.623 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.005615, allocations: 107.8 kB / 0.6231 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006475/0.006263, allocations: 447.8 kB / 0.6235 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002672/0.00653, allocations: 130.7 kB / 0.6236 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.536e-05/0.006625, allocations: 80.8 kB / 0.6237 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.00665, allocations: 4 kB / 0.6237 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.00681, allocations: 149 kB / 0.6238 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=19): time 1.833e-06/0.006811, allocations: 0 / 0.6238 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.0003429/0.007154, allocations: 231.5 kB / 0.6241 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.007321, allocations: 51.41 kB / 0.6241 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.007403, allocations: 141 kB / 0.6242 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.007422, allocations: 33.69 kB / 0.6243 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.007476, allocations: 120.5 kB / 0.6244 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.007522, allocations: 63.48 kB / 0.6244 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.007569, allocations: 37.7 kB / 0.6245 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.007644, allocations: 326.8 kB / 0.6248 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.007762, allocations: 71.95 kB / 0.6249 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.007873, allocations: 87.23 kB / 0.6249 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.008062, allocations: 149.5 kB / 0.6251 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008064, allocations: 4 kB / 0.6251 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000265/0.008329, allocations: 212 kB / 0.6253 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.008343, allocations: 8 kB / 0.6253 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.008349, allocations: 0 / 0.6253 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.008362, allocations: 0 / 0.6253 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.008462, allocations: 43.97 kB / 0.6253 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.008468, allocations: 3.938 kB / 0.6253 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.008529, allocations: 19.88 kB / 0.6254 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.00854, allocations: 8 kB / 0.6254 GB, free: 6.801 MB / 0.5886 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.737e-05/0.008617, allocations: 130.8 kB / 0.6255 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.008634, allocations: 19.89 kB / 0.6255 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.008886, allocations: 190.6 kB / 0.6257 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.008893, allocations: 8 kB / 0.6257 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.008897, allocations: 0 / 0.6257 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.008901, allocations: 3.984 kB / 0.6257 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.009392, allocations: 0.5105 MB / 0.6262 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.009395, allocations: 0 / 0.6262 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.59e-05/0.00949, allocations: 35.97 kB / 0.6262 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.009496, allocations: 4 kB / 0.6262 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.009509, allocations: 8 kB / 0.6263 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.009512, allocations: 7.875 kB / 0.6263 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.009516, allocations: 12.12 kB / 0.6263 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.009867, allocations: 376.9 kB / 0.6266 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.009886, allocations: 19.89 kB / 0.6267 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.009905, allocations: 4 kB / 0.6267 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.009979, allocations: 19.97 kB / 0.6267 GB, free: 5.363 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.01003, allocations: 23.95 kB / 0.6267 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01004, allocations: 4 kB / 0.6267 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.01009, allocations: 119.2 kB / 0.6268 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01009, allocations: 0 / 0.6268 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001818/0.01027, allocations: 35.89 kB / 0.6269 GB, free: 5.184 MB / 0.5886 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 0.0001162/0.01039, allocations: 103.2 kB / 0.6269 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.01064, allocations: 146.9 kB / 0.6271 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01065, allocations: 4 kB / 0.6271 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.01075, allocations: 91.89 kB / 0.6272 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.011, allocations: 30.11 kB / 0.6272 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.01149, allocations: 386.4 kB / 0.6276 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.477e-05/0.01157, allocations: 116.7 kB / 0.6277 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.01162, allocations: 20.5 kB / 0.6277 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.01162, allocations: 0 / 0.6277 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of Templates: time 0.002518/0.01414, allocations: 1.975 MB / 0.6296 GB, free: 2.246 MB / 0.5886 GB " [Timeout remaining time 660] 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.034096395596862] Failed to read output from testmodel.py, exit status != 0: 0.019785079173743725 0.026841972000000002 0.021138861000000002 Calling exit ...