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.002344/0.002344, allocations: 88.05 kB / 19.44 MB, free: 320 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.002635/0.002635, allocations: 169.3 kB / 22.76 MB, free: 1.645 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 1.691/1.691, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 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-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 1.374/1.374, allocations: 154.8 MB / 414.4 MB, free: 472 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 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: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.5199 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.924e-05/4.203e-05, allocations: 9.906 kB / 0.5199 GB, free: 2.227 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001815/0.001857, allocations: 0.6536 MB / 0.5206 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.003306, allocations: 0.8462 MB / 0.5214 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.003337, allocations: 0 / 0.5214 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.003357, allocations: 1.75 kB / 0.5214 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.392e-05/0.003431, allocations: 12.09 kB / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.003599, allocations: 7.984 kB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.141e-05/0.00367, allocations: 27.92 kB / 0.5214 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.529e-05/0.003746, allocations: 0.5625 kB / 0.5214 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.302e-05/0.003819, allocations: 11.98 kB / 0.5214 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.846e-05/0.003857, allocations: 17.22 kB / 0.5215 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.003874, allocations: 7.938 kB / 0.5215 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-05/0.003914, allocations: 7.938 kB / 0.5215 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.003929, allocations: 4.5 kB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.003949, allocations: 4 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.004057, allocations: 28.92 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004059, allocations: 0 / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004059, allocations: 4.906 kB / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.004063, allocations: 0 / 0.5215 GB, free: 0.6133 MB / 490.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.000523/0.004586, allocations: 356.9 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.004624, allocations: 8.031 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.004736, allocations: 13.98 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.004866, allocations: 112.6 kB / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.004882, allocations: 4.375 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/0.004889, allocations: 1.094 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.005047, allocations: 42.25 kB / 0.522 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.005055, allocations: 1.781 kB / 0.522 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.005064, allocations: 384 / 0.522 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.005068, allocations: 384 / 0.522 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.005207, allocations: 33.47 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.005615, allocations: 251.8 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.00574, allocations: 39.06 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.949e-05/0.005809, allocations: 20.48 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.005834, allocations: 4 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.005874, allocations: 34.55 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.005875, allocations: 0 / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0002902/0.006165, allocations: 74.69 kB / 0.5225 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.006216, allocations: 55.41 kB / 0.5225 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.006345, allocations: 164.3 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.006366, allocations: 29.7 kB / 0.5227 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.006445, allocations: 126.9 kB / 0.5228 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.006462, allocations: 3.953 kB / 0.5228 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.006507, allocations: 23.38 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002681/0.006775, allocations: 492.1 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.006829, allocations: 13.64 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.66e-05/0.006875, allocations: 12 kB / 0.5233 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.006984, allocations: 32.17 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.006985, allocations: 0 / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001458/0.007131, allocations: 58.61 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.007146, allocations: 5.125 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.007153, allocations: 3.938 kB / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.007166, allocations: 0 / 0.5234 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.007238, allocations: 8.719 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.007242, allocations: 0 / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.007279, allocations: 8.953 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.007286, allocations: 4 kB / 0.5235 GB, free: 14.43 MB / 0.4948 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 0.0001204/0.007407, allocations: 158.1 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.007429, allocations: 3.938 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.007618, allocations: 68.86 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.00762, allocations: 1.062 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.007624, allocations: 0 / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.007629, allocations: 4 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.00778, allocations: 117.2 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.007781, allocations: 2.812 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.007823, allocations: 4 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.007825, allocations: 4 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.00784, allocations: 0 / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.007843, allocations: 3.938 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.007844, allocations: 0 / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.008098, allocations: 211.8 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.008103, allocations: 3.031 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.008117, allocations: 4.188 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.014e-05/0.008177, allocations: 3.938 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.00822, allocations: 7.969 kB / 0.524 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.008223, allocations: 4 kB / 0.524 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.514e-05/0.008298, allocations: 127.2 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.008298, allocations: 0 / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002009/0.008499, allocations: 4 kB / 0.5242 GB, free: 13.64 MB / 0.4948 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 0.0001282/0.008627, allocations: 92.75 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.008802, allocations: 38.78 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.008804, allocations: 0 / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.827e-05/0.008872, allocations: 23.62 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.009118, allocations: 7.984 kB / 0.5243 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.009439, allocations: 118.3 kB / 0.5244 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.899e-05/0.009508, allocations: 61.78 kB / 0.5245 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.009531, allocations: 4 kB / 0.5245 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.009569, allocations: 8.5 kB / 0.5245 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.00957, allocations: 0 / 0.5245 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.003214/0.01278, allocations: 483 kB / 0.525 GB, free: 12.79 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.151440995046869]