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.0008189/0.0008189, allocations: 100.4 kB / 19.7 MB, free: 452 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.0009995/0.0009995, allocations: 213 kB / 23 MB, free: 2.98 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.8755/0.8755, allocations: 230.6 MB / 256.8 MB, free: 9.637 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.7144/0.7144, allocations: 203.8 MB / 0.5049 GB, free: 10.46 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.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.0009722/0.0009722, allocations: 66.25 kB / 0.7194 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4392, allocations: 102 MB / 0.8191 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001337/0.4405, allocations: 0.6501 MB / 0.8197 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006596/0.4412, allocations: 0.8504 MB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.4412, allocations: 0 / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.4412, allocations: 4.547 kB / 0.8205 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.4413, allocations: 7.922 kB / 0.8205 GB, free: 284 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.4415, allocations: 10.75 kB / 0.8205 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.4415, allocations: 24.33 kB / 0.8206 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.4416, allocations: 3.281 kB / 0.8206 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.4417, allocations: 12.94 kB / 0.8206 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.522e-05/0.4417, allocations: 10.39 kB / 0.8206 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.4417, allocations: 5.062 kB / 0.8206 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.944e-05/0.4418, allocations: 11.03 kB / 0.8206 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.4418, allocations: 5.391 kB / 0.8206 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.4418, allocations: 12.23 kB / 0.8206 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.912e-05/0.4419, allocations: 25.94 kB / 0.8206 GB, free: 228 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4419, allocations: 0 / 0.8206 GB, free: 228 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4419, allocations: 0 / 0.8206 GB, free: 228 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4419, allocations: 0 / 0.8206 GB, free: 228 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003273/0.4423, allocations: 263.6 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.4423, allocations: 13.5 kB / 0.8209 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.4424, allocations: 10.33 kB / 0.8209 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.971e-05/0.4424, allocations: 111.9 kB / 0.821 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4425, allocations: 7.438 kB / 0.821 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-06/0.4425, allocations: 384 / 0.821 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.4426, allocations: 49.08 kB / 0.8211 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.4426, allocations: 192 / 0.8211 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4426, allocations: 4.641 kB / 0.8211 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.4426, allocations: 0.5312 kB / 0.8211 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.049e-05/0.4427, allocations: 40.41 kB / 0.8211 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.443, allocations: 190.4 kB / 0.8213 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.193e-05/0.443, allocations: 36.17 kB / 0.8213 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.4431, allocations: 24.92 kB / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.4431, allocations: 3.938 kB / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.4431, allocations: 34.67 kB / 0.8214 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.4431, allocations: 0 / 0.8214 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002265/0.4434, allocations: 81.97 kB / 0.8215 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.4434, allocations: 56.66 kB / 0.8215 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.4434, allocations: 101.1 kB / 0.8216 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.4435, allocations: 28.39 kB / 0.8217 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.4435, allocations: 80.75 kB / 0.8217 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.4435, allocations: 8.547 kB / 0.8217 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.4435, allocations: 17.19 kB / 0.8218 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.4436, allocations: 313.4 kB / 0.8221 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.788e-05/0.4436, allocations: 22.83 kB / 0.8221 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.663e-05/0.4437, allocations: 13 kB / 0.8221 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.799e-05/0.4438, allocations: 40.34 kB / 0.8221 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4438, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000108/0.4439, allocations: 71.97 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.4439, allocations: 10.98 kB / 0.8222 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4439, allocations: 0 / 0.8222 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4439, allocations: 0 / 0.8222 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.444, allocations: 10.72 kB / 0.8222 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.444, allocations: 0.7031 kB / 0.8222 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.444, allocations: 7.031 kB / 0.8222 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.444, allocations: 4 kB / 0.8222 GB, free: 14.74 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 (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 5.057e-05/0.4441, allocations: 109.9 kB / 0.8223 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.4441, allocations: 3.938 kB / 0.8223 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.4442, allocations: 79.58 kB / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.4442, allocations: 0 / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4442, allocations: 0.7031 kB / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4442, allocations: 0 / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.981e-05/0.4443, allocations: 109.1 kB / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4443, allocations: 0 / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.4443, allocations: 14.17 kB / 0.8225 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4443, allocations: 3.938 kB / 0.8225 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.4443, allocations: 8.969 kB / 0.8225 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4443, allocations: 0 / 0.8225 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4443, allocations: 1.344 kB / 0.8225 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.4445, allocations: 161.2 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-06/0.4445, allocations: 14.03 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.098e-06/0.4445, allocations: 0.5156 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.741e-05/0.4445, allocations: 6.266 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.4446, allocations: 7.859 kB / 0.8227 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.4446, allocations: 4.734 kB / 0.8227 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.521e-05/0.4446, allocations: 79.86 kB / 0.8228 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4446, allocations: 0 / 0.8228 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000135/0.4447, allocations: 7.781 kB / 0.8228 GB, free: 14.2 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 (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 9.406e-05/0.4448, allocations: 98.23 kB / 0.8229 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.4449, allocations: 34.38 kB / 0.8229 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.4449, allocations: 0 / 0.8229 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/0.445, allocations: 25.06 kB / 0.823 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.4452, allocations: 2.781 kB / 0.823 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.4455, allocations: 131.1 kB / 0.8231 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.144e-05/0.4455, allocations: 60.84 kB / 0.8232 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.4455, allocations: 12.69 kB / 0.8232 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.4455, allocations: 0 / 0.8232 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.001464/0.447, allocations: 0.5537 MB / 0.8237 GB, free: 13.84 MB / 0.6198 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.3191072861664] Failed to read output from testmodel.py, exit status != 0: 0.4527958268299699 0.46198291500000005 0.018289043 Calling exit ...