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.001369/0.001369, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002104/0.002104, allocations: 214.3 kB / 22.25 MB, free: 4.859 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.333/1.333, allocations: 203.8 MB / 0.5041 GB, free: 4.602 MB / 414.1 MB " [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.002142/0.002142, allocations: 59.91 kB / 0.7187 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6435, allocations: 102 MB / 0.8183 GB, free: 28.9 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00178/0.6453, allocations: 0.6607 MB / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.6462, allocations: 0.8467 MB / 0.8198 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.6462, allocations: 1.312 kB / 0.8198 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.6463, allocations: 0 / 0.8198 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.6463, allocations: 5.406 kB / 0.8198 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.6465, allocations: 13.33 kB / 0.8198 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 6.748e-05/0.6465, allocations: 20.58 kB / 0.8198 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.6466, allocations: 11.81 kB / 0.8198 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.6467, allocations: 10.31 kB / 0.8198 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 3.721e-05/0.6467, allocations: 14.81 kB / 0.8198 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.6467, allocations: 1.625 kB / 0.8198 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 3.976e-05/0.6468, allocations: 8.25 kB / 0.8199 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.6468, allocations: 9.891 kB / 0.8199 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.6468, allocations: 7.078 kB / 0.8199 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 9.399e-05/0.6469, allocations: 27.73 kB / 0.8199 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6469, allocations: 0 / 0.8199 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6469, allocations: 0.9375 kB / 0.8199 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.6469, allocations: 0 / 0.8199 GB, free: 27.82 MB / 0.6387 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.0003743/0.6473, allocations: 265.4 kB / 0.8202 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.6473, allocations: 10.56 kB / 0.8202 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.6474, allocations: 12.17 kB / 0.8202 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.894e-05/0.6475, allocations: 106.5 kB / 0.8203 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.6475, allocations: 2.344 kB / 0.8203 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.6475, allocations: 1.438 kB / 0.8203 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.6477, allocations: 50.91 kB / 0.8203 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.6477, allocations: 192 / 0.8203 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.6477, allocations: 8.625 kB / 0.8203 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6477, allocations: 0.5 kB / 0.8203 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.6479, allocations: 33.81 kB / 0.8204 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.6481, allocations: 191.2 kB / 0.8206 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.6482, allocations: 36.77 kB / 0.8206 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.6483, allocations: 20.97 kB / 0.8206 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.6483, allocations: 3.938 kB / 0.8206 GB, free: 27.13 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.328e-05/0.6483, allocations: 37.58 kB / 0.8206 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.6484, allocations: 1.188 kB / 0.8206 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0003519/0.6487, allocations: 81.39 kB / 0.8207 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.6487, allocations: 52.97 kB / 0.8208 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.792e-05/0.6488, allocations: 101 kB / 0.8209 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.6488, allocations: 27.67 kB / 0.8209 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.483e-05/0.6488, allocations: 86.34 kB / 0.821 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.6488, allocations: 6.156 kB / 0.821 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.6489, allocations: 20.03 kB / 0.821 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.262e-05/0.6489, allocations: 313.7 kB / 0.8213 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.791e-05/0.649, allocations: 18.61 kB / 0.8213 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.6491, allocations: 19.91 kB / 0.8213 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.6492, allocations: 39.19 kB / 0.8214 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6492, allocations: 0 / 0.8214 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001981/0.6494, allocations: 74.97 kB / 0.8214 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6494, allocations: 6.672 kB / 0.8215 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.6494, allocations: 0 / 0.8215 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.6495, allocations: 0 / 0.8215 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.6496, allocations: 8.812 kB / 0.8215 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.6496, allocations: 0.875 kB / 0.8215 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.678e-05/0.6496, allocations: 11.05 kB / 0.8215 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.6496, allocations: 0 / 0.8215 GB, free: 26.36 MB / 0.6387 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.773e-05/0.6497, allocations: 109.8 kB / 0.8216 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.6497, allocations: 17.19 kB / 0.8216 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.6499, allocations: 75.56 kB / 0.8217 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.6499, allocations: 0.7031 kB / 0.8217 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.6499, allocations: 1.375 kB / 0.8217 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6499, allocations: 0 / 0.8217 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.32e-05/0.65, allocations: 104.1 kB / 0.8218 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.65, allocations: 0 / 0.8218 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/0.6501, allocations: 20.62 kB / 0.8218 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6501, allocations: 3.938 kB / 0.8218 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.6501, allocations: 0.8438 kB / 0.8218 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6501, allocations: 0.6094 kB / 0.8218 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6501, allocations: 1 kB / 0.8218 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.6503, allocations: 163.2 kB / 0.822 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.6503, allocations: 9.969 kB / 0.822 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.6503, allocations: 1.234 kB / 0.822 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.6504, allocations: 9.953 kB / 0.822 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.6505, allocations: 3.156 kB / 0.822 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.6505, allocations: 0.5625 kB / 0.822 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.639e-05/0.6505, allocations: 80.56 kB / 0.8221 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6505, allocations: 0 / 0.8221 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002216/0.6507, allocations: 3.719 kB / 0.8221 GB, free: 25.83 MB / 0.6387 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.766e-05/0.6508, allocations: 101 kB / 0.8222 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.651, allocations: 39.39 kB / 0.8222 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.651, allocations: 0 / 0.8222 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 9.143e-05/0.6511, allocations: 19.67 kB / 0.8222 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.6514, allocations: 7.812 kB / 0.8222 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.6516, allocations: 109.5 kB / 0.8223 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.138e-05/0.6517, allocations: 63.72 kB / 0.8224 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.291e-05/0.6517, allocations: 1.094 kB / 0.8224 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.6517, allocations: 9.578 kB / 0.8224 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.6517, allocations: 0 / 0.8224 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of Templates: time 0.002904/0.6546, allocations: 474.9 kB / 0.8228 GB, free: 25.45 MB / 0.6387 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.931760406121612] Failed to read output from testmodel.py, exit status != 0: 0.6626464370638132 0.6755298829999999 0.025389912 Calling exit ...