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.001038/0.001038, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001416/0.001416, allocations: 173 kB / 23.36 MB, free: 1.129 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.923/0.923, allocations: 177.1 MB / 203.8 MB, free: 5.488 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-535:34: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-535:42: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.7964/0.7964, allocations: 154.9 MB / 415.1 MB, free: 220 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: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064e-05/1.208e-05, allocations: 2.312 kB / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001057/0.001069, allocations: 0.665 MB / 481.1 MB, free: 5.859 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007061/0.001775, allocations: 0.8663 MB / 482 MB, free: 4.984 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.001799, allocations: 1.094 kB / 482 MB, free: 4.984 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.001822, allocations: 0 / 482 MB, free: 4.984 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.089e-05/0.001883, allocations: 5.641 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.002025, allocations: 16.48 kB / 482 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.405e-05/0.002079, allocations: 25.14 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.871e-05/0.002138, allocations: 13.12 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.847e-05/0.002196, allocations: 12.77 kB / 482 MB, free: 4.922 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.825e-05/0.002224, allocations: 4.859 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.002236, allocations: 6.438 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.474e-05/0.002271, allocations: 4.766 kB / 482 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.002284, allocations: 4.547 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.407e-05/0.002298, allocations: 8.641 kB / 482.1 MB, free: 4.898 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.416e-05/0.002372, allocations: 21.94 kB / 482.1 MB, free: 4.879 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002374, allocations: 0 / 482.1 MB, free: 4.879 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.41e-07/0.002374, allocations: 0.9062 kB / 482.1 MB, free: 4.879 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.002377, allocations: 0 / 482.1 MB, free: 4.879 MB / 442.7 MB 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.0002349/0.002612, allocations: 233.3 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.002642, allocations: 8.031 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.002715, allocations: 14.61 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.24e-05/0.002778, allocations: 115.2 kB / 482.4 MB, free: 4.473 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.002785, allocations: 4.375 kB / 482.4 MB, free: 4.469 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.002792, allocations: 5.562 kB / 482.4 MB, free: 4.465 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.562e-05/0.002868, allocations: 53.44 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.002874, allocations: 192 / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.00288, allocations: 5.266 kB / 482.5 MB, free: 4.402 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.002883, allocations: 1.141 kB / 482.5 MB, free: 4.402 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.0029, allocations: 7.938 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.003055, allocations: 145.1 kB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.666e-05/0.003092, allocations: 23.14 kB / 482.7 MB, free: 4.207 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.003104, allocations: 8.922 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.003116, allocations: 1.312 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.003131, allocations: 30.56 kB / 482.7 MB, free: 4.156 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.003132, allocations: 0.5469 kB / 482.7 MB, free: 4.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 8.23e-05/0.003214, allocations: 43.31 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.003239, allocations: 55.34 kB / 482.8 MB, free: 4.043 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.393e-05/0.003283, allocations: 110.7 kB / 482.9 MB, free: 3.922 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.934e-06/0.003291, allocations: 25.7 kB / 482.9 MB, free: 3.891 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.003315, allocations: 81.97 kB / 483 MB, free: 3.809 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.003331, allocations: 15.88 kB / 483 MB, free: 3.793 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.00335, allocations: 14.75 kB / 483.1 MB, free: 3.773 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.003454, allocations: 314.8 kB / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-06/0.003462, allocations: 4 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.003468, allocations: 1.438 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/0.003488, allocations: 12.84 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.00349, allocations: 1.094 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.699e-05/0.003527, allocations: 38.42 kB / 483.4 MB, free: 3.395 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.003536, allocations: 5.438 kB / 483.4 MB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.00354, allocations: 0 / 483.4 MB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.003549, allocations: 4 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/0.003599, allocations: 11.92 kB / 483.4 MB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.003602, allocations: 0.8438 kB / 483.4 MB, free: 3.375 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.459e-05/0.003617, allocations: 4 kB / 483.4 MB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.00362, allocations: 4.781 kB / 483.5 MB, free: 3.367 MB / 442.7 MB 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.828e-05/0.003668, allocations: 106.7 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.003679, allocations: 0.6562 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.003739, allocations: 49.23 kB / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.00374, allocations: 0 / 483.6 MB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.003742, allocations: 3.938 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.003745, allocations: 8.547 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.681e-05/0.003812, allocations: 61.91 kB / 483.7 MB, free: 3.117 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-07/0.003812, allocations: 1.719 kB / 483.7 MB, free: 3.117 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/0.003829, allocations: 12.62 kB / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.42e-07/0.00383, allocations: 0 / 483.7 MB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.003835, allocations: 4.609 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.003836, allocations: 0 / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.003837, allocations: 0.625 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.945e-05/0.003896, allocations: 132.1 kB / 483.8 MB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.003905, allocations: 16.64 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.003914, allocations: 4 kB / 483.8 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.583e-05/0.00394, allocations: 0.5312 kB / 483.8 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.003963, allocations: 4.547 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.003965, allocations: 0.75 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.058e-05/0.003975, allocations: 16.78 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003975, allocations: 1.438 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001089/0.004084, allocations: 7.938 kB / 483.9 MB, free: 2.906 MB / 442.7 MB 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 6.062e-05/0.004145, allocations: 78.23 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.549e-05/0.00419, allocations: 9.953 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.004192, allocations: 0 / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/0.004203, allocations: 8.859 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.004318, allocations: 8.828 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.004637, allocations: 115.8 kB / 484.1 MB, free: 2.652 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.13e-05/0.004668, allocations: 59.34 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.46e-05/0.004683, allocations: 0 / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.004719, allocations: 54.38 kB / 484.2 MB, free: 2.523 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.004719, allocations: 0 / 484.2 MB, free: 2.523 MB / 442.7 MB Notification: Performance of Templates: time 0.001635/0.006354, allocations: 450.4 kB / 484.6 MB, free: 2.105 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.571246932260692]