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.001351/0.001351, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00242/0.00242, allocations: 212.1 kB / 22.25 MB, free: 5.258 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.365/1.365, allocations: 203.8 MB / 0.5041 GB, free: 4.617 MB / 414.1 MB " [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.002086/0.002086, allocations: 67.89 kB / 0.7187 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6415/0.6436, allocations: 102 MB / 0.8183 GB, free: 28.9 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002517/0.6461, allocations: 1.007 MB / 0.8193 GB, free: 28.28 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.6476, allocations: 1.025 MB / 0.8203 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.6477, allocations: 3.531 kB / 0.8203 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.6478, allocations: 20.33 kB / 0.8203 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.6479, allocations: 24.06 kB / 0.8203 GB, free: 27.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.6482, allocations: 76.8 kB / 0.8204 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.6485, allocations: 175.8 kB / 0.8206 GB, free: 27.37 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.6487, allocations: 55.56 kB / 0.8206 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.6488, allocations: 82.02 kB / 0.8207 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.6489, allocations: 66.83 kB / 0.8208 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.6489, allocations: 16.28 kB / 0.8208 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.694e-05/0.649, allocations: 19.83 kB / 0.8208 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.847e-05/0.6491, allocations: 48.61 kB / 0.8209 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.6491, allocations: 62.64 kB / 0.8209 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.6494, allocations: 187.9 kB / 0.8211 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6494, allocations: 0.5625 kB / 0.8211 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6494, allocations: 1.844 kB / 0.8211 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.6494, allocations: 0 / 0.8211 GB, free: 27.11 MB / 0.6387 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.0008585/0.6503, allocations: 436.2 kB / 0.8215 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.6503, allocations: 11.38 kB / 0.8215 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.6505, allocations: 20.84 kB / 0.8215 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.6508, allocations: 165.8 kB / 0.8217 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.6508, allocations: 11.12 kB / 0.8217 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.6508, allocations: 19.75 kB / 0.8217 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.6513, allocations: 175.5 kB / 0.8219 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.6513, allocations: 1.812 kB / 0.8219 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.6513, allocations: 5.625 kB / 0.8219 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.6513, allocations: 3.281 kB / 0.8219 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.6516, allocations: 110.2 kB / 0.822 GB, free: 26.44 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.6527, allocations: 439.4 kB / 0.8224 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.6532, allocations: 137.3 kB / 0.8226 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.6533, allocations: 81.02 kB / 0.8226 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.6534, allocations: 3.938 kB / 0.8226 GB, free: 26.05 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.6536, allocations: 147.1 kB / 0.8228 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=19): time 1.372e-06/0.6536, allocations: 3.469 kB / 0.8228 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.0005669/0.6542, allocations: 229.6 kB / 0.823 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.6542, allocations: 54.19 kB / 0.8231 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.6543, allocations: 140.9 kB / 0.8232 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.6544, allocations: 32.23 kB / 0.8232 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.6544, allocations: 116.2 kB / 0.8233 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.6545, allocations: 68.88 kB / 0.8234 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.771e-05/0.6545, allocations: 48.03 kB / 0.8234 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.379e-05/0.6546, allocations: 327 kB / 0.8238 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.6548, allocations: 61.03 kB / 0.8238 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.6551, allocations: 88.44 kB / 0.8239 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.6554, allocations: 158.1 kB / 0.8241 GB, free: 25 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6554, allocations: 0 / 0.8241 GB, free: 25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005185/0.6559, allocations: 208.8 kB / 0.8243 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.6559, allocations: 7.391 kB / 0.8243 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.656, allocations: 4.031 kB / 0.8243 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.656, allocations: 1.656 kB / 0.8243 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.6562, allocations: 37.19 kB / 0.8243 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.6562, allocations: 1.094 kB / 0.8243 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.6564, allocations: 27.86 kB / 0.8243 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.6564, allocations: 7.75 kB / 0.8243 GB, free: 24.88 MB / 0.6387 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 8.566e-05/0.6565, allocations: 131.5 kB / 0.8245 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.6565, allocations: 15.17 kB / 0.8245 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.6569, allocations: 200.1 kB / 0.8247 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6569, allocations: 2.656 kB / 0.8247 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.6569, allocations: 3.984 kB / 0.8247 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6569, allocations: 1.359 kB / 0.8247 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/0.6576, allocations: 0.5029 MB / 0.8252 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6576, allocations: 6.469 kB / 0.8252 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.6578, allocations: 32.08 kB / 0.8252 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.6578, allocations: 2.938 kB / 0.8252 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.6579, allocations: 12.2 kB / 0.8252 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.6579, allocations: 6.406 kB / 0.8252 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6579, allocations: 2.984 kB / 0.8252 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.6584, allocations: 382.9 kB / 0.8256 GB, free: 23.99 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.6584, allocations: 19.59 kB / 0.8256 GB, free: 23.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.6585, allocations: 7.109 kB / 0.8256 GB, free: 23.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.6586, allocations: 21.09 kB / 0.8256 GB, free: 23.97 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/0.6587, allocations: 22.39 kB / 0.8257 GB, free: 23.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.6587, allocations: 7.875 kB / 0.8257 GB, free: 23.96 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.001e-05/0.6588, allocations: 108.2 kB / 0.8258 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6588, allocations: 1.219 kB / 0.8258 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002768/0.659, allocations: 48.64 kB / 0.8258 GB, free: 23.86 MB / 0.6387 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.0001007/0.6591, allocations: 108.3 kB / 0.8259 GB, free: 23.76 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.6596, allocations: 148.3 kB / 0.8261 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6596, allocations: 0 / 0.8261 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.6598, allocations: 84.89 kB / 0.8261 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.6601, allocations: 21.89 kB / 0.8262 GB, free: 23.69 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.6608, allocations: 380.2 kB / 0.8265 GB, free: 23.39 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.6609, allocations: 115.5 kB / 0.8266 GB, free: 23.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.336e-05/0.6609, allocations: 18.28 kB / 0.8267 GB, free: 23.31 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.661, allocations: 23.17 kB / 0.8267 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.661, allocations: 0 / 0.8267 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.005708/0.6667, allocations: 1.852 MB / 0.8285 GB, free: 23.09 MB / 0.6387 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: 7.111167753115296] Failed to read output from testmodel.py, exit status != 0: 0.6756345275789499 0.689897521 0.037305872000000004 Calling exit ...