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.001054/0.001054, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001561/0.001561, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9882/0.9882, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.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-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 0.7625/0.7625, allocations: 154.9 MB / 415.9 MB, free: 280 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 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: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 0 / 0.522 GB, free: 1.43 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.408e-05, allocations: 2.312 kB / 0.522 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001261/0.001285, allocations: 0.6639 MB / 0.5226 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007812/0.002067, allocations: 0.8646 MB / 0.5234 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.0021, allocations: 0.8125 kB / 0.5234 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.002127, allocations: 7.875 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.002189, allocations: 0.9062 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.002348, allocations: 19.91 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.538e-05/0.002403, allocations: 24.55 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.328e-05/0.002486, allocations: 4 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.502e-05/0.002552, allocations: 16.58 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.05e-05/0.002582, allocations: 11.94 kB / 0.5235 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.002593, allocations: 1.219 kB / 0.5235 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-05/0.00263, allocations: 4 kB / 0.5235 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.002645, allocations: 7.984 kB / 0.5235 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.36e-05/0.002659, allocations: 8.609 kB / 0.5235 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 7.861e-05/0.002737, allocations: 19.92 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00274, allocations: 1.812 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00274, allocations: 0 / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.002744, allocations: 0 / 0.5236 GB, free: 15.79 MB / 0.4948 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.0002832/0.003027, allocations: 356.6 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.003056, allocations: 9.656 kB / 0.5239 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.00313, allocations: 12.88 kB / 0.5239 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.209e-05/0.003202, allocations: 112.6 kB / 0.524 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.00321, allocations: 384 / 0.524 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-06/0.003215, allocations: 384 / 0.524 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.876e-05/0.003304, allocations: 60.2 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.00331, allocations: 192 / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.003316, allocations: 384 / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.00332, allocations: 0.9688 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.849e-05/0.003338, allocations: 11.92 kB / 0.5241 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.003536, allocations: 225.2 kB / 0.5243 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.003576, allocations: 28.53 kB / 0.5244 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.197e-05/0.003588, allocations: 7.688 kB / 0.5244 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.003602, allocations: 3.938 kB / 0.5244 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.003619, allocations: 37.45 kB / 0.5244 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.00362, allocations: 1.312 kB / 0.5244 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001076/0.003727, allocations: 49.58 kB / 0.5244 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.003753, allocations: 54.97 kB / 0.5245 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/0.003813, allocations: 165.9 kB / 0.5247 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002564/0.004069, allocations: 25.7 kB / 0.5247 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.483e-05/0.004104, allocations: 130.9 kB / 0.5248 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.004119, allocations: 7.891 kB / 0.5248 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.004143, allocations: 23.38 kB / 0.5248 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.004246, allocations: 496.1 kB / 0.5253 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-06/0.004255, allocations: 0 / 0.5253 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-06/0.004264, allocations: 11.92 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.207e-05/0.004286, allocations: 12.25 kB / 0.5253 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004288, allocations: 0.5625 kB / 0.5253 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.217e-05/0.00434, allocations: 34.67 kB / 0.5254 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.00435, allocations: 7.938 kB / 0.5254 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.004354, allocations: 1.469 kB / 0.5254 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.004362, allocations: 3.938 kB / 0.5254 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.004416, allocations: 11.98 kB / 0.5254 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.004421, allocations: 4 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.613e-05/0.004437, allocations: 4.656 kB / 0.5254 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-06/0.00444, allocations: 0 / 0.5254 GB, free: 13.73 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 5.216e-05/0.004492, allocations: 161.4 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.004505, allocations: 1.719 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.727e-05/0.004572, allocations: 45 kB / 0.5256 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.004575, allocations: 3.938 kB / 0.5256 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.004576, allocations: 0 / 0.5256 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.004578, allocations: 0 / 0.5256 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.757e-05/0.004656, allocations: 99.47 kB / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004657, allocations: 0 / 0.5257 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.004677, allocations: 4 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.004679, allocations: 0 / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.004683, allocations: 4 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.004684, allocations: 2.75 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.004684, allocations: 0 / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.173e-05/0.004766, allocations: 199.8 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-06/0.004772, allocations: 4 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-06/0.004778, allocations: 0 / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/0.004806, allocations: 3.984 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.004831, allocations: 4 kB / 0.5259 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.004834, allocations: 5.375 kB / 0.5259 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.045e-05/0.004865, allocations: 123.2 kB / 0.526 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004865, allocations: 0 / 0.526 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001231/0.004988, allocations: 4 kB / 0.526 GB, free: 13.02 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 7.833e-05/0.005066, allocations: 98.92 kB / 0.5261 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.635e-05/0.005122, allocations: 16.56 kB / 0.5261 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.005124, allocations: 0 / 0.5261 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-05/0.005139, allocations: 16.34 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.005344, allocations: 4.906 kB / 0.5262 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.005666, allocations: 129 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.756e-05/0.005694, allocations: 55.3 kB / 0.5263 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.548e-05/0.005709, allocations: 3.938 kB / 0.5263 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.005748, allocations: 70.2 kB / 0.5264 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.005749, allocations: 3.125 kB / 0.5264 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.002054/0.007803, allocations: 0.5119 MB / 0.5269 GB, free: 12.08 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: 3.820952733978629]