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.00071/0.00071, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007281/0.0007281, allocations: 207.2 kB / 23.01 MB, free: 3.117 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.8191/0.8191, allocations: 230.6 MB / 256.8 MB, free: 3.438 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.7285/0.7285, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 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.000973/0.000973, allocations: 67.88 kB / 0.7195 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.4894, allocations: 102 MB / 0.8191 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.00146/0.4909, allocations: 0.6892 MB / 0.8198 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007031/0.4916, allocations: 0.8395 MB / 0.8206 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.4916, allocations: 1.531 kB / 0.8206 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.4916, allocations: 5.281 kB / 0.8206 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.483e-05/0.4917, allocations: 10.16 kB / 0.8206 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.623e-05/0.4918, allocations: 10.7 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.401e-05/0.4919, allocations: 49.59 kB / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.492, allocations: 9.453 kB / 0.8207 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.492, allocations: 18.36 kB / 0.8207 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.336e-05/0.4921, allocations: 23.25 kB / 0.8207 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.4921, allocations: 4.156 kB / 0.8208 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-06/0.4921, allocations: 5.438 kB / 0.8208 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.4921, allocations: 7.172 kB / 0.8208 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.4921, allocations: 16.61 kB / 0.8208 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.406e-05/0.4922, allocations: 47.25 kB / 0.8208 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4922, allocations: 0.6875 kB / 0.8208 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4922, allocations: 2.719 kB / 0.8208 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.4922, allocations: 0.625 kB / 0.8208 GB, free: 24.03 MB / 0.6355 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.0003818/0.4926, allocations: 288 kB / 0.8211 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4927, allocations: 10.5 kB / 0.8211 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.4927, allocations: 8.141 kB / 0.8211 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.823e-05/0.4928, allocations: 111.2 kB / 0.8212 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.4928, allocations: 2.281 kB / 0.8212 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.4928, allocations: 7.125 kB / 0.8212 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.493, allocations: 68.91 kB / 0.8213 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.493, allocations: 192 / 0.8213 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.493, allocations: 9.547 kB / 0.8213 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.493, allocations: 5.625 kB / 0.8213 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.4932, allocations: 65.97 kB / 0.8214 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.4935, allocations: 233 kB / 0.8216 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.4936, allocations: 65.98 kB / 0.8217 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.634e-05/0.4937, allocations: 39.66 kB / 0.8217 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.4937, allocations: 0.7969 kB / 0.8217 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.4937, allocations: 36 kB / 0.8217 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4937, allocations: 0 / 0.8217 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003312/0.4941, allocations: 132 kB / 0.8219 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.4941, allocations: 51.94 kB / 0.8219 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.353e-05/0.4941, allocations: 107.6 kB / 0.822 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.4941, allocations: 26.36 kB / 0.822 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.4942, allocations: 90.58 kB / 0.8221 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.4942, allocations: 15.08 kB / 0.8221 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.4942, allocations: 16.16 kB / 0.8222 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.82e-05/0.4943, allocations: 314.2 kB / 0.8225 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.03e-05/0.4944, allocations: 31.31 kB / 0.8225 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.639e-05/0.4944, allocations: 35.11 kB / 0.8225 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.4946, allocations: 70.5 kB / 0.8226 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4946, allocations: 7.875 kB / 0.8226 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001786/0.4948, allocations: 102 kB / 0.8227 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4948, allocations: 7.438 kB / 0.8227 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4948, allocations: 2.359 kB / 0.8227 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.4948, allocations: 0 / 0.8227 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.4949, allocations: 14.59 kB / 0.8227 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.4949, allocations: 1.062 kB / 0.8227 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.01e-05/0.4949, allocations: 15.81 kB / 0.8227 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.4949, allocations: 0 / 0.8227 GB, free: 22.46 MB / 0.6355 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 4.424e-05/0.495, allocations: 122.3 kB / 0.8228 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.495, allocations: 2.984 kB / 0.8229 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.495, allocations: 9.375 kB / 0.8229 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.495, allocations: 0.6562 kB / 0.8229 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.495, allocations: 0.8906 kB / 0.8229 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.495, allocations: 1.219 kB / 0.8229 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.186e-05/0.4951, allocations: 137 kB / 0.823 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4951, allocations: 0.6562 kB / 0.823 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.4952, allocations: 23.53 kB / 0.823 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4952, allocations: 4.906 kB / 0.823 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.4952, allocations: 0 / 0.823 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4952, allocations: 1.859 kB / 0.823 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4952, allocations: 0 / 0.823 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.4954, allocations: 197.1 kB / 0.8232 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-06/0.4954, allocations: 10.84 kB / 0.8232 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.4954, allocations: 5.25 kB / 0.8232 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.249e-05/0.4954, allocations: 11.83 kB / 0.8232 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.4955, allocations: 4.203 kB / 0.8232 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.4955, allocations: 0 / 0.8232 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.54e-05/0.4955, allocations: 90.2 kB / 0.8233 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4955, allocations: 0 / 0.8233 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001392/0.4956, allocations: 5.25 kB / 0.8233 GB, free: 21.91 MB / 0.6355 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 8.301e-05/0.4957, allocations: 97.44 kB / 0.8234 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.4959, allocations: 69.28 kB / 0.8235 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4959, allocations: 1.375 kB / 0.8235 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.75e-05/0.496, allocations: 33.77 kB / 0.8235 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.4962, allocations: 18.34 kB / 0.8235 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.4965, allocations: 156 kB / 0.8237 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.274e-05/0.4966, allocations: 0.6797 MB / 0.8244 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.4966, allocations: 13.5 kB / 0.8244 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.4966, allocations: 0 / 0.8244 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.001935/0.4986, allocations: 0.7475 MB / 0.8251 GB, free: 20.89 MB / 0.6355 GB " [Timeout remaining time 659] 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.529731818009168] Failed to read output from testmodel.py, exit status != 0: 0.5042711070273072 0.516270704 0.022304673 Calling exit ...