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.001404/0.001404, allocations: 77.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001711/0.001711, allocations: 169.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.171/1.171, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 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 178] 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.274e-06/2.274e-06, allocations: 0 / 0.6186 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.147e-05, allocations: 2.938 kB / 0.6186 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002145/0.002177, allocations: 0.9889 MB / 0.6196 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.003623, allocations: 1.031 MB / 0.6206 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.00373, allocations: 9.875 kB / 0.6206 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.003853, allocations: 15.8 kB / 0.6206 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.003923, allocations: 23.67 kB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.004232, allocations: 79.78 kB / 0.6207 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.004454, allocations: 188.1 kB / 0.6209 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.004624, allocations: 52.47 kB / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.00477, allocations: 103.8 kB / 0.621 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.86e-05/0.004868, allocations: 55.8 kB / 0.6211 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.004901, allocations: 20 kB / 0.6211 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.356e-05/0.004955, allocations: 16 kB / 0.6211 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.005002, allocations: 43.89 kB / 0.6211 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.068e-05/0.005063, allocations: 47.83 kB / 0.6212 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.005341, allocations: 207.2 kB / 0.6214 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005343, allocations: 0 / 0.6214 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005344, allocations: 4 kB / 0.6214 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.005353, allocations: 0 / 0.6214 GB, free: 1.723 MB / 0.5294 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.0008357/0.006189, allocations: 426.4 kB / 0.6218 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.006227, allocations: 13.47 kB / 0.6218 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.006336, allocations: 20.83 kB / 0.6218 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.006656, allocations: 162 kB / 0.622 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.006681, allocations: 20.38 kB / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.006725, allocations: 16.38 kB / 0.622 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.007099, allocations: 171.7 kB / 0.6222 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.00711, allocations: 4.188 kB / 0.6222 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.007133, allocations: 8.125 kB / 0.6222 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.007141, allocations: 4 kB / 0.6222 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.007436, allocations: 107.9 kB / 0.6223 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.008501, allocations: 447.8 kB / 0.6227 GB, free: 256 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.008912, allocations: 126.8 kB / 0.6229 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.009119, allocations: 80.72 kB / 0.6229 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.009141, allocations: 15.88 kB / 0.6229 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002763/0.009418, allocations: 151.2 kB / 0.6231 GB, free: 15.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.009419, allocations: 0 / 0.6231 GB, free: 15.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0006039/0.01002, allocations: 221.4 kB / 0.6233 GB, free: 15.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.01007, allocations: 55.39 kB / 0.6234 GB, free: 15.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.0102, allocations: 143.9 kB / 0.6235 GB, free: 15.42 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.01023, allocations: 33.64 kB / 0.6235 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.01032, allocations: 128.4 kB / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.01037, allocations: 63.48 kB / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.01045, allocations: 41.7 kB / 0.6237 GB, free: 15.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.0106, allocations: 326.8 kB / 0.6241 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.01083, allocations: 63.95 kB / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.01105, allocations: 85.67 kB / 0.6242 GB, free: 14.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.01142, allocations: 148.4 kB / 0.6243 GB, free: 14.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01143, allocations: 0 / 0.6243 GB, free: 14.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004973/0.01192, allocations: 205.4 kB / 0.6245 GB, free: 14.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.01194, allocations: 11.98 kB / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01195, allocations: 0 / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.01196, allocations: 0 / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.01216, allocations: 43.92 kB / 0.6246 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01217, allocations: 4.031 kB / 0.6246 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.01232, allocations: 27.86 kB / 0.6246 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.01234, allocations: 8 kB / 0.6246 GB, free: 14.21 MB / 0.545 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 0.0001209/0.01246, allocations: 130.8 kB / 0.6248 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.01248, allocations: 11.91 kB / 0.6248 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.01295, allocations: 193.2 kB / 0.6249 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.01295, allocations: 8 kB / 0.625 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01296, allocations: 0 / 0.625 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01296, allocations: 0 / 0.625 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008361/0.0138, allocations: 0.4989 MB / 0.6254 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.0138, allocations: 4 kB / 0.6254 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.014, allocations: 44.09 kB / 0.6255 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.014, allocations: 4 kB / 0.6255 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.01402, allocations: 4 kB / 0.6255 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01402, allocations: 0 / 0.6255 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.01403, allocations: 7.938 kB / 0.6255 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.01467, allocations: 380.4 kB / 0.6259 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.0147, allocations: 19.92 kB / 0.6259 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.01473, allocations: 16 kB / 0.6259 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.01491, allocations: 15.92 kB / 0.6259 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.01498, allocations: 19.97 kB / 0.6259 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.015, allocations: 19.92 kB / 0.626 GB, free: 12.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.429e-05/0.01509, allocations: 110.4 kB / 0.6261 GB, free: 12.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01509, allocations: 0 / 0.6261 GB, free: 12.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002828/0.01537, allocations: 35.89 kB / 0.6261 GB, free: 12.61 MB / 0.545 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.0001509/0.01552, allocations: 107.2 kB / 0.6262 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004738/0.016, allocations: 155.9 kB / 0.6263 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.016, allocations: 0 / 0.6263 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.01619, allocations: 79.84 kB / 0.6264 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.01653, allocations: 28.36 kB / 0.6264 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.01726, allocations: 365.5 kB / 0.6268 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.01738, allocations: 108.3 kB / 0.6269 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.937e-05/0.01745, allocations: 21.48 kB / 0.6269 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.01753, allocations: 20.48 kB / 0.6269 GB, free: 11.66 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.01753, allocations: 0 / 0.6269 GB, free: 11.66 MB / 0.545 GB Notification: Performance of Templates: time 0.005879/0.02341, allocations: 1.728 MB / 0.6286 GB, free: 9.98 MB / 0.545 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.790417056530714] Failed to read output from testmodel.py, exit status != 0: 0.03182944282889366 0.048118473 0.039781155000000006 Calling exit ...