Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009726/0.0009726, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0009771/0.0009771, allocations: 169.2 kB / 23.19 MB, free: 1.367 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.9005/0.9005, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7073/0.7073, allocations: 154.7 MB / 414.7 MB, free: 0.75 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_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.0009212/0.0009212, allocations: 67.91 kB / 0.6196 GB, free: 13.01 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.5313/0.5322, allocations: 101.9 MB / 0.7192 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002083/0.5343, allocations: 0.6572 MB / 0.7198 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.5357, allocations: 0.8456 MB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.5358, allocations: 0 / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/0.5358, allocations: 1.125 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.5359, allocations: 4.688 kB / 0.7207 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.5362, allocations: 13.22 kB / 0.7207 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.477e-05/0.5363, allocations: 32.67 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.5364, allocations: 7.719 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.883e-05/0.5365, allocations: 11.38 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.117e-05/0.5365, allocations: 9.703 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.5365, allocations: 6.203 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.329e-05/0.5366, allocations: 9.156 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.5366, allocations: 4.703 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.5366, allocations: 7.828 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.5368, allocations: 28.58 kB / 0.7208 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.5368, allocations: 1.062 kB / 0.7208 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.256e-06/0.5368, allocations: 0 / 0.7208 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.5368, allocations: 0 / 0.7208 GB, free: 22.53 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.000383/0.5372, allocations: 264.8 kB / 0.721 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.5372, allocations: 8.156 kB / 0.721 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.5373, allocations: 3.828 kB / 0.721 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.123e-05/0.5374, allocations: 118.1 kB / 0.7212 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5374, allocations: 5.359 kB / 0.7212 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.5374, allocations: 1.562 kB / 0.7212 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.5376, allocations: 49.95 kB / 0.7212 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.5376, allocations: 4.125 kB / 0.7212 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5376, allocations: 5.031 kB / 0.7212 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5376, allocations: 0 / 0.7212 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.5378, allocations: 37.62 kB / 0.7213 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.5382, allocations: 198 kB / 0.7214 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.5383, allocations: 36.03 kB / 0.7215 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/0.5384, allocations: 18.81 kB / 0.7215 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.5384, allocations: 9.719 kB / 0.7215 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.5385, allocations: 32.69 kB / 0.7215 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.5385, allocations: 0 / 0.7215 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003536/0.5388, allocations: 87.39 kB / 0.7216 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.5389, allocations: 53.33 kB / 0.7217 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.5389, allocations: 101 kB / 0.7218 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.539, allocations: 26.95 kB / 0.7218 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.539, allocations: 81.81 kB / 0.7219 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.539, allocations: 9.75 kB / 0.7219 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.5391, allocations: 16.62 kB / 0.7219 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.5391, allocations: 313.4 kB / 0.7222 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.5392, allocations: 18.05 kB / 0.7222 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.115e-05/0.5393, allocations: 19.03 kB / 0.7222 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.5394, allocations: 41 kB / 0.7223 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5394, allocations: 0 / 0.7223 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001385/0.5395, allocations: 71.58 kB / 0.7223 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.5395, allocations: 4.438 kB / 0.7223 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5395, allocations: 4.094 kB / 0.7223 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.5396, allocations: 2.359 kB / 0.7223 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.5397, allocations: 8.875 kB / 0.7224 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.5397, allocations: 0 / 0.7224 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.5397, allocations: 13.92 kB / 0.7224 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.5397, allocations: 1.375 kB / 0.7224 GB, free: 21.04 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.435e-05/0.5398, allocations: 108.9 kB / 0.7225 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.5398, allocations: 5.312 kB / 0.7225 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.5399, allocations: 84.2 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5399, allocations: 0 / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.5399, allocations: 1.125 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.54, allocations: 2.234 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.54, allocations: 4.688 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.06e-05/0.54, allocations: 7.016 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.5401, allocations: 3.203 kB / 0.7226 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001361/0.5402, allocations: 151.3 kB / 0.7227 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001565/0.5403, allocations: 241.3 kB / 0.723 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.927e-05/0.5404, allocations: 19.67 kB / 0.723 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.5404, allocations: 84.09 kB / 0.723 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of Backend: time 7.42e-07/0.5404, allocations: 0 / 0.723 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004119/0.5409, allocations: 99.05 kB / 0.7231 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004422/0.5413, allocations: 0.5592 MB / 0.7237 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.002639/0.5439, allocations: 0.6174 MB / 0.7243 GB, free: 19.7 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.18464242015034] Failed to read output from testmodel.py, exit status != 0: 0.5496386277955025 0.5585848130000001 0.019927373 Calling exit ...