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.0007204/0.0007204, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007421/0.0007421, allocations: 165.9 kB / 23.18 MB, free: 1.379 MB / 18.57 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.8216/0.8216, allocations: 177.2 MB / 203.6 MB, free: 5.375 MB / 186.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.7009/0.7009, allocations: 155 MB / 415 MB, free: 396 kB / 378.7 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 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.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.0008606/0.0008606, allocations: 64.19 kB / 0.62 GB, free: 12.63 MB / 0.5886 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.4577/0.4586, allocations: 102 MB / 0.7195 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001471/0.46, allocations: 0.6551 MB / 0.7202 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007103/0.4607, allocations: 0.8467 MB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.4608, allocations: 2.125 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.4608, allocations: 4.547 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.404e-05/0.4609, allocations: 0.6562 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.4611, allocations: 13.61 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.777e-05/0.4612, allocations: 27.83 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.4613, allocations: 8.281 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.097e-05/0.4613, allocations: 10.95 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.015e-05/0.4614, allocations: 14.66 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.4614, allocations: 1.812 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.835e-05/0.4614, allocations: 6.906 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.4615, allocations: 5.641 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.4615, allocations: 10.97 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.4616, allocations: 32.94 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4616, allocations: 1.625 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4616, allocations: 0 / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.4616, allocations: 4 kB / 0.7212 GB, free: 22.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003573/0.462, allocations: 264 kB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.462, allocations: 15.44 kB / 0.7214 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.486e-05/0.4621, allocations: 3.859 kB / 0.7214 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.504e-05/0.4621, allocations: 110 kB / 0.7215 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.4621, allocations: 1.5 kB / 0.7215 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.4622, allocations: 6.25 kB / 0.7215 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.4623, allocations: 48.52 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4623, allocations: 192 / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.4623, allocations: 9.406 kB / 0.7216 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4623, allocations: 0 / 0.7216 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.4624, allocations: 32.56 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.4626, allocations: 195 kB / 0.7218 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.123e-05/0.4627, allocations: 40.41 kB / 0.7218 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.4628, allocations: 23.09 kB / 0.7219 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.4628, allocations: 9.031 kB / 0.7219 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.4628, allocations: 32.56 kB / 0.7219 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.4628, allocations: 0 / 0.7219 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002402/0.4631, allocations: 79.86 kB / 0.722 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.4631, allocations: 52.5 kB / 0.722 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.802e-05/0.4631, allocations: 101.7 kB / 0.7221 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.4631, allocations: 25.7 kB / 0.7222 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.4632, allocations: 86.12 kB / 0.7222 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.4632, allocations: 14.38 kB / 0.7223 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.4632, allocations: 12 kB / 0.7223 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.4632, allocations: 318.2 kB / 0.7226 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.4633, allocations: 13.03 kB / 0.7226 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.646e-05/0.4633, allocations: 18.5 kB / 0.7226 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.364e-05/0.4634, allocations: 37.48 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4634, allocations: 5.281 kB / 0.7226 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001246/0.4636, allocations: 74.41 kB / 0.7227 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4636, allocations: 5.312 kB / 0.7227 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4636, allocations: 5.031 kB / 0.7227 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4636, allocations: 0 / 0.7227 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.4637, allocations: 9.438 kB / 0.7227 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4637, allocations: 0.7969 kB / 0.7227 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.648e-05/0.4637, allocations: 5.906 kB / 0.7227 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.4637, allocations: 5.125 kB / 0.7227 GB, free: 20.83 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 (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 4.757e-05/0.4638, allocations: 116.7 kB / 0.7228 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.4638, allocations: 5.344 kB / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.4639, allocations: 76.28 kB / 0.7229 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4639, allocations: 0 / 0.7229 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4639, allocations: 0 / 0.7229 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4639, allocations: 1.734 kB / 0.7229 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.797e-05/0.464, allocations: 108 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.464, allocations: 4.031 kB / 0.723 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.464, allocations: 12.98 kB / 0.723 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.464, allocations: 5 kB / 0.7231 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.464, allocations: 0 / 0.7231 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.464, allocations: 2.297 kB / 0.7231 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.464, allocations: 0 / 0.7231 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.4642, allocations: 159.2 kB / 0.7232 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-06/0.4642, allocations: 9.984 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.4642, allocations: 6.156 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.4642, allocations: 5.953 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.4643, allocations: 1.875 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-06/0.4643, allocations: 4.969 kB / 0.7232 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.762e-05/0.4643, allocations: 83.39 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4643, allocations: 1.188 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001421/0.4644, allocations: 2.969 kB / 0.7233 GB, free: 20.29 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 (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 8.844e-05/0.4645, allocations: 93.17 kB / 0.7234 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.4646, allocations: 43.39 kB / 0.7234 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4646, allocations: 0 / 0.7234 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.82e-05/0.4647, allocations: 20.78 kB / 0.7235 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.4649, allocations: 3.312 kB / 0.7235 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.4652, allocations: 137.5 kB / 0.7236 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.367e-05/0.4652, allocations: 62.89 kB / 0.7237 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.4652, allocations: 14.81 kB / 0.7237 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.4652, allocations: 0 / 0.7237 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.001739/0.467, allocations: 0.5632 MB / 0.7242 GB, free: 19.93 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.224753096001223] Failed to read output from testmodel.py, exit status != 0: 0.47227271599695086 0.481909917 0.018337423000000002 Calling exit ...