Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.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.001314/0.001314, allocations: 75.56 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.001412/0.001412, allocations: 168 kB / 22.43 MB, free: 5.309 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.414/1.414, allocations: 177.2 MB / 202.8 MB, free: 9.199 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.186/1.186, allocations: 155 MB / 414.2 MB, free: 4.938 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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan") [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.002192/0.002192, allocations: 72.02 kB / 0.6192 GB, free: 4.055 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.5391/0.5413, allocations: 102 MB / 0.7188 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001666/0.5429, allocations: 0.6635 MB / 0.7194 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008058/0.5437, allocations: 0.8462 MB / 0.7203 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.5438, allocations: 1.062 kB / 0.7203 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.5438, allocations: 0 / 0.7203 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.694e-05/0.5439, allocations: 5.891 kB / 0.7203 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.544, allocations: 9.531 kB / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.244e-05/0.5441, allocations: 27.88 kB / 0.7203 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.5442, allocations: 3.547 kB / 0.7203 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.638e-05/0.5443, allocations: 19.56 kB / 0.7203 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.289e-05/0.5443, allocations: 10.23 kB / 0.7203 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.5443, allocations: 2.25 kB / 0.7204 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.83e-05/0.5444, allocations: 7.219 kB / 0.7204 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.5444, allocations: 13.06 kB / 0.7204 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.5444, allocations: 2.859 kB / 0.7204 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.281e-05/0.5445, allocations: 33.81 kB / 0.7204 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5445, allocations: 1.344 kB / 0.7204 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5445, allocations: 0 / 0.7204 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.5445, allocations: 0 / 0.7204 GB, free: 0.6406 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003163/0.5448, allocations: 267.9 kB / 0.7207 GB, free: 376 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.5448, allocations: 9.609 kB / 0.7207 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.5449, allocations: 4.578 kB / 0.7207 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.479e-05/0.545, allocations: 110.1 kB / 0.7208 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.545, allocations: 4.375 kB / 0.7208 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.545, allocations: 2.562 kB / 0.7208 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.5451, allocations: 48.7 kB / 0.7208 GB, free: 204 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5452, allocations: 1.469 kB / 0.7208 GB, free: 204 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.5452, allocations: 3.938 kB / 0.7208 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.5452, allocations: 0 / 0.7208 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.5453, allocations: 37.81 kB / 0.7209 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.5455, allocations: 189.8 kB / 0.7211 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.5457, allocations: 43.88 kB / 0.7211 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.712e-05/0.5457, allocations: 28.62 kB / 0.7211 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.5458, allocations: 3.938 kB / 0.7211 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.5458, allocations: 36.38 kB / 0.7212 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.5458, allocations: 0 / 0.7212 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0003338/0.5461, allocations: 84.89 kB / 0.7212 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.5462, allocations: 52.5 kB / 0.7213 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.931e-05/0.5462, allocations: 101.7 kB / 0.7214 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.5463, allocations: 25.7 kB / 0.7214 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.5463, allocations: 85.95 kB / 0.7215 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.5463, allocations: 10.25 kB / 0.7215 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.5464, allocations: 11.95 kB / 0.7215 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5465, allocations: 317.4 kB / 0.7218 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.5466, allocations: 14.11 kB / 0.7218 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.5466, allocations: 22.88 kB / 0.7219 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.5468, allocations: 41.34 kB / 0.7219 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5468, allocations: 0 / 0.7219 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/0.547, allocations: 70.7 kB / 0.722 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.547, allocations: 5.625 kB / 0.722 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.547, allocations: 0 / 0.722 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.547, allocations: 6.125 kB / 0.722 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/0.5471, allocations: 12.94 kB / 0.722 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.5471, allocations: 0 / 0.722 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.5471, allocations: 6.344 kB / 0.722 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.5471, allocations: 1.406 kB / 0.722 GB, free: 15.15 MB / 0.6231 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 (2): * Single equations (assignments): 2 * 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 7.433e-05/0.5472, allocations: 112.7 kB / 0.7221 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.5472, allocations: 6.016 kB / 0.7221 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.5474, allocations: 79.62 kB / 0.7222 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5475, allocations: 0 / 0.7222 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5475, allocations: 1.375 kB / 0.7222 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5475, allocations: 0.7969 kB / 0.7222 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.5476, allocations: 103.6 kB / 0.7223 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5476, allocations: 0.7031 kB / 0.7223 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.5476, allocations: 9.938 kB / 0.7223 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.5477, allocations: 3.938 kB / 0.7223 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.5477, allocations: 0 / 0.7223 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5477, allocations: 2.25 kB / 0.7223 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5477, allocations: 7.969 kB / 0.7223 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.5479, allocations: 163.4 kB / 0.7225 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.5479, allocations: 9.266 kB / 0.7225 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.5479, allocations: 2.094 kB / 0.7225 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.548, allocations: 4.859 kB / 0.7225 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.548, allocations: 3.406 kB / 0.7225 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.548, allocations: 1.594 kB / 0.7225 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.77e-05/0.5481, allocations: 83.25 kB / 0.7226 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5481, allocations: 4.031 kB / 0.7226 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002057/0.5483, allocations: 4.375 kB / 0.7226 GB, free: 14.61 MB / 0.6231 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 (2): * Single equations (assignments): 2 * 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.0001104/0.5484, allocations: 92.62 kB / 0.7227 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.5486, allocations: 35.61 kB / 0.7227 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5486, allocations: 3.938 kB / 0.7227 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.717e-05/0.5487, allocations: 24.08 kB / 0.7227 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.549, allocations: 8.453 kB / 0.7227 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.5492, allocations: 117.9 kB / 0.7228 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.901e-05/0.5493, allocations: 59.73 kB / 0.7229 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.732e-05/0.5493, allocations: 1.156 kB / 0.7229 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.5493, allocations: 9.562 kB / 0.7229 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.5493, allocations: 0 / 0.7229 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.0025/0.5518, allocations: 472.9 kB / 0.7234 GB, free: 14.23 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.060474900528789] Failed to read output from testmodel.py, exit status != 0: 0.5604735985398293 0.575414632 0.027091985000000002 Calling exit ...