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.001323/0.001323, allocations: 75.09 kB / 19.16 MB, free: 2.57 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.001489/0.001489, allocations: 171.3 kB / 22.43 MB, free: 5.32 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.42/1.42, allocations: 177.2 MB / 202.8 MB, free: 9.195 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.185/1.185, allocations: 155 MB / 414.2 MB, free: 4.961 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: 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.002053/0.002053, allocations: 70.95 kB / 0.6192 GB, free: 4.082 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.5458, allocations: 102 MB / 0.7188 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00212/0.5479, allocations: 0.9982 MB / 0.7198 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.5491, allocations: 1.026 MB / 0.7208 GB, free: 368 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.5492, allocations: 6.375 kB / 0.7208 GB, free: 364 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.5493, allocations: 20.55 kB / 0.7208 GB, free: 348 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.034e-05/0.5494, allocations: 26.45 kB / 0.7208 GB, free: 324 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.5497, allocations: 79.53 kB / 0.7209 GB, free: 280 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.5498, allocations: 173.9 kB / 0.7211 GB, free: 200 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.55, allocations: 58.69 kB / 0.7211 GB, free: 164 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.5501, allocations: 116 kB / 0.7212 GB, free: 100 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.616e-05/0.5502, allocations: 66.78 kB / 0.7213 GB, free: 68 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.5503, allocations: 16.59 kB / 0.7213 GB, free: 68 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.044e-05/0.5503, allocations: 18.34 kB / 0.7213 GB, free: 68 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.5504, allocations: 45.66 kB / 0.7214 GB, free: 36 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.797e-05/0.5504, allocations: 62.5 kB / 0.7214 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.5507, allocations: 205.7 kB / 0.7216 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.5507, allocations: 0.6562 kB / 0.7216 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5507, allocations: 0 / 0.7216 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5507, allocations: 1.25 kB / 0.7216 GB, free: 15.91 MB / 0.6231 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.0008403/0.5516, allocations: 439.2 kB / 0.7221 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.5516, allocations: 10.12 kB / 0.7221 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.5517, allocations: 20.31 kB / 0.7221 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.552, allocations: 169.8 kB / 0.7223 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.552, allocations: 14.62 kB / 0.7223 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.5521, allocations: 16.2 kB / 0.7223 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.5525, allocations: 181.2 kB / 0.7225 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5525, allocations: 1.219 kB / 0.7225 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.5525, allocations: 5.891 kB / 0.7225 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5525, allocations: 3.938 kB / 0.7225 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.5528, allocations: 108.3 kB / 0.7226 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.5539, allocations: 433 kB / 0.723 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.5542, allocations: 133 kB / 0.7231 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.5544, allocations: 85.69 kB / 0.7232 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.5545, allocations: 4 kB / 0.7232 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002745/0.5547, allocations: 147.5 kB / 0.7233 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.5547, allocations: 4 kB / 0.7233 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.0005819/0.5553, allocations: 224.9 kB / 0.7236 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.5554, allocations: 59.16 kB / 0.7236 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.5555, allocations: 140.1 kB / 0.7237 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.5555, allocations: 31.47 kB / 0.7238 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.5556, allocations: 116.1 kB / 0.7239 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.757e-05/0.5557, allocations: 68.2 kB / 0.724 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.331e-05/0.5558, allocations: 40.47 kB / 0.724 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.556, allocations: 326.9 kB / 0.7243 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.5562, allocations: 66.52 kB / 0.7244 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.5565, allocations: 90.2 kB / 0.7245 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.5569, allocations: 151.2 kB / 0.7246 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5569, allocations: 0 / 0.7246 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005828/0.5575, allocations: 211.8 kB / 0.7248 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5575, allocations: 12.17 kB / 0.7248 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5575, allocations: 0 / 0.7248 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.5575, allocations: 1.781 kB / 0.7248 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.5577, allocations: 37.16 kB / 0.7248 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5577, allocations: 1.094 kB / 0.7248 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.5579, allocations: 27.11 kB / 0.7249 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.5579, allocations: 13.62 kB / 0.7249 GB, free: 13.65 MB / 0.6231 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.000125/0.558, allocations: 130.9 kB / 0.725 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.5581, allocations: 14.33 kB / 0.725 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.5585, allocations: 191.5 kB / 0.7252 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5585, allocations: 1.312 kB / 0.7252 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5585, allocations: 1.25 kB / 0.7252 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5585, allocations: 1.406 kB / 0.7252 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008524/0.5594, allocations: 0.5172 MB / 0.7257 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5594, allocations: 3.094 kB / 0.7257 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.5596, allocations: 32.55 kB / 0.7258 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5596, allocations: 2.156 kB / 0.7258 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.5596, allocations: 13.05 kB / 0.7258 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.5596, allocations: 6.5 kB / 0.7258 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5596, allocations: 5.953 kB / 0.7258 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.5602, allocations: 373.5 kB / 0.7261 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.5602, allocations: 19.59 kB / 0.7262 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.5603, allocations: 11.31 kB / 0.7262 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.5604, allocations: 18.52 kB / 0.7262 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.5605, allocations: 33.02 kB / 0.7262 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.5605, allocations: 7.609 kB / 0.7262 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.967e-05/0.5606, allocations: 106.1 kB / 0.7263 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5606, allocations: 0 / 0.7263 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003052/0.5609, allocations: 37.17 kB / 0.7264 GB, free: 12.63 MB / 0.6231 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.0001372/0.561, allocations: 113.8 kB / 0.7265 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.5615, allocations: 150.8 kB / 0.7266 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5615, allocations: 3.938 kB / 0.7266 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.5617, allocations: 84.98 kB / 0.7267 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.562, allocations: 25.88 kB / 0.7267 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006743/0.5627, allocations: 377.5 kB / 0.7271 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.5628, allocations: 118.4 kB / 0.7272 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.972e-05/0.5629, allocations: 19.5 kB / 0.7272 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.5629, allocations: 22.92 kB / 0.7272 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of SimCode: time 3.51e-07/0.5629, allocations: 0 / 0.7272 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of Templates: time 0.00541/0.5683, allocations: 1.753 MB / 0.7289 GB, free: 11.84 MB / 0.6231 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: 6.2147259917110205] Failed to read output from testmodel.py, exit status != 0: 0.5764140486717224 0.591603006 0.037724748 Calling exit ...