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.0006929/0.0006929, 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.0007536/0.0007536, allocations: 203.8 kB / 23 MB, free: 3.125 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.8398/0.8398, allocations: 230.6 MB / 256.8 MB, free: 3.449 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.7706/0.7706, allocations: 203.8 MB / 0.5049 GB, free: 0.6758 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.0009441/0.0009441, allocations: 67.89 kB / 0.7195 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4379, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001701/0.4396, allocations: 0.6504 MB / 0.8198 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.4406, allocations: 0.852 MB / 0.8206 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.4406, allocations: 5.219 kB / 0.8206 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.4406, allocations: 0.8438 kB / 0.8206 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.4407, allocations: 5.438 kB / 0.8206 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.4409, allocations: 13.81 kB / 0.8206 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.879e-05/0.441, allocations: 22.19 kB / 0.8206 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.805e-05/0.4411, allocations: 3.766 kB / 0.8207 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.4412, allocations: 16.7 kB / 0.8207 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.966e-05/0.4412, allocations: 14.69 kB / 0.8207 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.4412, allocations: 2.062 kB / 0.8207 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.586e-05/0.4413, allocations: 9.922 kB / 0.8207 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.4413, allocations: 1.844 kB / 0.8207 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.4413, allocations: 12.12 kB / 0.8207 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.4414, allocations: 31.66 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4414, allocations: 0 / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4414, allocations: 0.6562 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.4414, allocations: 0.8125 kB / 0.8207 GB, free: 24.11 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.0003533/0.4418, allocations: 265.2 kB / 0.821 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4418, allocations: 15.31 kB / 0.821 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.421e-05/0.4419, allocations: 8.062 kB / 0.821 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.6e-05/0.442, allocations: 114.8 kB / 0.8211 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.442, allocations: 0.9375 kB / 0.8211 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.442, allocations: 2.156 kB / 0.8211 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.4422, allocations: 50.52 kB / 0.8212 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4422, allocations: 192 / 0.8212 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.4422, allocations: 9.25 kB / 0.8212 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4422, allocations: 5.469 kB / 0.8212 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.4423, allocations: 34.03 kB / 0.8212 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.4426, allocations: 214.4 kB / 0.8214 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.809e-05/0.4427, allocations: 42 kB / 0.8215 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.4427, allocations: 22.33 kB / 0.8215 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.4427, allocations: 2.484 kB / 0.8215 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.4428, allocations: 39.12 kB / 0.8215 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4428, allocations: 0 / 0.8215 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002604/0.443, allocations: 81.14 kB / 0.8216 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.443, allocations: 51.41 kB / 0.8217 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.028e-05/0.4431, allocations: 100.9 kB / 0.8217 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.4431, allocations: 25.7 kB / 0.8218 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.4431, allocations: 90.53 kB / 0.8219 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.4432, allocations: 5.625 kB / 0.8219 GB, free: 23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.4432, allocations: 11.83 kB / 0.8219 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.4432, allocations: 317.5 kB / 0.8222 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.4433, allocations: 17.44 kB / 0.8222 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.301e-05/0.4433, allocations: 21.39 kB / 0.8222 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.287e-05/0.4434, allocations: 44.38 kB / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4434, allocations: 0 / 0.8223 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001201/0.4435, allocations: 67.45 kB / 0.8223 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4436, allocations: 5.781 kB / 0.8223 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4436, allocations: 0.7188 kB / 0.8223 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4436, allocations: 0 / 0.8223 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.4437, allocations: 9.531 kB / 0.8223 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4437, allocations: 1 kB / 0.8223 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.4437, allocations: 9.516 kB / 0.8223 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.4437, allocations: 1.859 kB / 0.8223 GB, free: 22.6 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.472e-05/0.4437, allocations: 116.8 kB / 0.8225 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.4438, allocations: 1.219 kB / 0.8225 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.4439, allocations: 75.23 kB / 0.8225 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4439, allocations: 1.5 kB / 0.8225 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4439, allocations: 0 / 0.8225 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4439, allocations: 4.734 kB / 0.8225 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.824e-05/0.444, allocations: 135.4 kB / 0.8227 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.444, allocations: 0 / 0.8227 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.444, allocations: 8.734 kB / 0.8227 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.444, allocations: 1.312 kB / 0.8227 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.444, allocations: 0 / 0.8227 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.444, allocations: 0.5312 kB / 0.8227 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.444, allocations: 1.328 kB / 0.8227 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.4442, allocations: 174.6 kB / 0.8228 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.597e-06/0.4442, allocations: 10 kB / 0.8229 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.4442, allocations: 0.5625 kB / 0.8229 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.4442, allocations: 10.78 kB / 0.8229 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.4443, allocations: 6.422 kB / 0.8229 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.4443, allocations: 0.8438 kB / 0.8229 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.077e-05/0.4443, allocations: 80.45 kB / 0.823 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4443, allocations: 4 kB / 0.823 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001437/0.4444, allocations: 4.375 kB / 0.823 GB, free: 22.02 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 9.492e-05/0.4445, allocations: 92.55 kB / 0.823 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.4447, allocations: 34.61 kB / 0.8231 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.4447, allocations: 3.938 kB / 0.8231 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.771e-05/0.4447, allocations: 28.58 kB / 0.8231 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.4449, allocations: 8.203 kB / 0.8231 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.4452, allocations: 126.9 kB / 0.8232 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.447e-05/0.4453, allocations: 0.6757 MB / 0.8239 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.4453, allocations: 9.266 kB / 0.8239 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.4453, allocations: 1.25 kB / 0.8239 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.00175/0.4471, allocations: 0.5524 MB / 0.8244 GB, free: 21.04 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.34891196899116] Failed to read output from testmodel.py, exit status != 0: 0.45302084600552917 0.46192915399999995 0.018666943000000002 Calling exit ...