Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.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.0007964/0.0007964, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 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.0009377/0.0009377, allocations: 210.4 kB / 23 MB, free: 2.973 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.8646/0.8646, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7046/0.7046, allocations: 203.8 MB / 0.5049 GB, free: 10.4 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [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: 64.39 kB / 0.7194 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4501, allocations: 102 MB / 0.8191 GB, free: 1.359 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001274/0.4514, allocations: 0.6817 MB / 0.8197 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006519/0.452, allocations: 0.8336 MB / 0.8205 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.4521, allocations: 0 / 0.8205 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.4521, allocations: 4.641 kB / 0.8205 GB, free: 304 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.249e-05/0.4522, allocations: 12.42 kB / 0.8206 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.693e-05/0.4522, allocations: 11.98 kB / 0.8206 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.753e-05/0.4523, allocations: 43.78 kB / 0.8206 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.4524, allocations: 12.95 kB / 0.8206 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.4524, allocations: 17.89 kB / 0.8206 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.457e-05/0.4525, allocations: 16.66 kB / 0.8207 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.4525, allocations: 3.781 kB / 0.8207 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.4525, allocations: 3.531 kB / 0.8207 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.4525, allocations: 11.55 kB / 0.8207 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.4525, allocations: 16.52 kB / 0.8207 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.574e-05/0.4526, allocations: 45.06 kB / 0.8207 GB, free: 208 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4526, allocations: 0 / 0.8207 GB, free: 208 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4526, allocations: 0 / 0.8207 GB, free: 208 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.4526, allocations: 2.688 kB / 0.8207 GB, free: 208 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003355/0.453, allocations: 292.6 kB / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.453, allocations: 7 kB / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.453, allocations: 8.391 kB / 0.821 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.115e-05/0.4531, allocations: 110.6 kB / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.4531, allocations: 384 / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.4531, allocations: 10.94 kB / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.4533, allocations: 69.86 kB / 0.8212 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-06/0.4533, allocations: 192 / 0.8212 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.4533, allocations: 3.938 kB / 0.8212 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.4533, allocations: 0 / 0.8212 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.4534, allocations: 62.58 kB / 0.8213 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.4537, allocations: 215.8 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.4539, allocations: 56 kB / 0.8215 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.454, allocations: 47.98 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.454, allocations: 0 / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.454, allocations: 32.16 kB / 0.8216 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.454, allocations: 0 / 0.8216 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003163/0.4543, allocations: 129.2 kB / 0.8217 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.4544, allocations: 59.28 kB / 0.8218 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.928e-05/0.4544, allocations: 112.9 kB / 0.8219 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.4544, allocations: 25.7 kB / 0.8219 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.4545, allocations: 87.28 kB / 0.822 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.4545, allocations: 17.23 kB / 0.822 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.4545, allocations: 21.61 kB / 0.822 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.4546, allocations: 312.9 kB / 0.8223 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.452e-05/0.4547, allocations: 31.08 kB / 0.8224 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-05/0.4547, allocations: 32.06 kB / 0.8224 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.4549, allocations: 75.34 kB / 0.8225 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4549, allocations: 0 / 0.8225 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001686/0.4551, allocations: 107.7 kB / 0.8226 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.4551, allocations: 5.656 kB / 0.8226 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4551, allocations: 3.938 kB / 0.8226 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.4551, allocations: 0 / 0.8226 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/0.4552, allocations: 21.53 kB / 0.8226 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4552, allocations: 0 / 0.8226 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.4552, allocations: 18.52 kB / 0.8226 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.4552, allocations: 0 / 0.8226 GB, free: 14.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.191e-05/0.4553, allocations: 108 kB / 0.8227 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.4553, allocations: 7.891 kB / 0.8227 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.824e-05/0.4553, allocations: 10.16 kB / 0.8227 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4553, allocations: 0 / 0.8227 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4553, allocations: 2.062 kB / 0.8227 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4553, allocations: 4 kB / 0.8227 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.307e-05/0.4554, allocations: 107.1 kB / 0.8228 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4554, allocations: 2.531 kB / 0.8229 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.4554, allocations: 19.64 kB / 0.8229 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4554, allocations: 1.812 kB / 0.8229 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.4554, allocations: 0 / 0.8229 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.4555, allocations: 0 / 0.8229 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4555, allocations: 0 / 0.8229 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.4556, allocations: 200.2 kB / 0.8231 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.4557, allocations: 7.891 kB / 0.8231 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.4557, allocations: 0.5156 kB / 0.8231 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/0.4557, allocations: 13.42 kB / 0.8231 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.4558, allocations: 10.52 kB / 0.8231 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.4558, allocations: 0.6875 kB / 0.8231 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.4558, allocations: 91.19 kB / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4558, allocations: 0 / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001351/0.4559, allocations: 3.969 kB / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 9.278e-05/0.456, allocations: 97.89 kB / 0.8233 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.4562, allocations: 69.42 kB / 0.8233 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.4562, allocations: 0 / 0.8233 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.476e-05/0.4563, allocations: 34.95 kB / 0.8234 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.4565, allocations: 10.95 kB / 0.8234 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.4568, allocations: 158.9 kB / 0.8235 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.4568, allocations: 64.66 kB / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.4568, allocations: 9.891 kB / 0.8236 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of SimCode: time 4.4e-07/0.4568, allocations: 0 / 0.8236 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.001647/0.4585, allocations: 0.7575 MB / 0.8243 GB, free: 13.73 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.167195544112474] Failed to read output from testmodel.py, exit status != 0: 0.46394895343109965 0.47299494700000005 0.018522732 Calling exit ...