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.0006789/0.0006789, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009663/0.001645, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000697/0.000697, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.0017, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9434/0.9434, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09617/1.04, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8319/0.8319, allocations: 155.4 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2854/1.117, allocations: 49.13 MB / 448.6 MB, free: 5.918 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 1.453e-06/1.453e-06, allocations: 0 / 450 MB, free: 4.547 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.182e-05, allocations: 2.938 kB / 450 MB, free: 4.543 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001173/0.001184, allocations: 0.7116 MB / 450.7 MB, free: 3.867 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006941/0.001879, allocations: 0.8718 MB / 451.6 MB, free: 2.984 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.434e-05/0.001903, allocations: 4.875 kB / 451.6 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.001923, allocations: 0 / 451.6 MB, free: 2.98 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.408e-05/0.001957, allocations: 14.72 kB / 451.6 MB, free: 2.969 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.125e-05/0.002028, allocations: 12.7 kB / 451.6 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.026e-05/0.002088, allocations: 20.14 kB / 451.7 MB, free: 2.941 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.434e-05/0.002153, allocations: 9.312 kB / 451.7 MB, free: 2.934 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.00222, allocations: 17.83 kB / 451.7 MB, free: 2.922 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.81e-05/0.002258, allocations: 9.344 kB / 451.7 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.002273, allocations: 4 kB / 451.7 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.155e-05/0.002325, allocations: 14.05 kB / 451.7 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.002339, allocations: 1.203 kB / 451.7 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.244e-05/0.002351, allocations: 4.875 kB / 451.7 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.817e-05/0.00243, allocations: 22.11 kB / 451.7 MB, free: 2.875 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.002439, allocations: 0 / 451.7 MB, free: 2.875 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002439, allocations: 0.9062 kB / 451.7 MB, free: 2.875 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.002446, allocations: 0 / 451.7 MB, free: 2.875 MB / 426.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.0002767/0.002722, allocations: 237.1 kB / 452 MB, free: 2.621 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.64e-05/0.002749, allocations: 8.031 kB / 452 MB, free: 2.613 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.002856, allocations: 86.03 kB / 452.1 MB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.236e-05/0.002928, allocations: 113.7 kB / 452.2 MB, free: 2.375 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-06/0.002934, allocations: 384 / 452.2 MB, free: 2.375 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.002942, allocations: 5.906 kB / 452.2 MB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.601e-05/0.003018, allocations: 46.95 kB / 452.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.003023, allocations: 1.469 kB / 452.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.00303, allocations: 4.359 kB / 452.2 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.003034, allocations: 4.375 kB / 452.2 MB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.777e-05/0.003052, allocations: 12.5 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.003216, allocations: 142 kB / 452.4 MB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.535e-05/0.003251, allocations: 23.95 kB / 452.4 MB, free: 2.113 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.919e-06/0.003261, allocations: 4.859 kB / 452.4 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.003273, allocations: 0 / 452.4 MB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.00329, allocations: 35.25 kB / 452.4 MB, free: 2.062 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.003291, allocations: 0.5 kB / 452.4 MB, free: 2.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 9.216e-05/0.003383, allocations: 46.81 kB / 452.5 MB, free: 2.012 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.003407, allocations: 56.11 kB / 452.5 MB, free: 1.945 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.425e-05/0.003452, allocations: 103.8 kB / 452.6 MB, free: 1.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.003459, allocations: 26.73 kB / 452.7 MB, free: 1.801 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.003501, allocations: 88.08 kB / 452.8 MB, free: 1.711 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.003515, allocations: 7.938 kB / 452.8 MB, free: 1.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.003534, allocations: 10.84 kB / 452.8 MB, free: 1.688 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.003608, allocations: 318.8 kB / 453.1 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-06/0.003614, allocations: 0.6562 kB / 453.1 MB, free: 1.367 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-06/0.003622, allocations: 5.094 kB / 453.1 MB, free: 1.363 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.965e-05/0.003642, allocations: 16.78 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.003643, allocations: 1.438 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.541e-05/0.003679, allocations: 37.7 kB / 453.1 MB, free: 1.301 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/0.003688, allocations: 4 kB / 453.2 MB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.003691, allocations: 2.047 kB / 453.2 MB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.003699, allocations: 0 / 453.2 MB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.003788, allocations: 13.08 kB / 453.2 MB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.003791, allocations: 0 / 453.2 MB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.227e-05/0.003803, allocations: 4 kB / 453.2 MB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.003806, allocations: 0.625 kB / 453.2 MB, free: 1.281 MB / 426.7 MB 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.148e-05/0.003858, allocations: 110.5 kB / 453.3 MB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.00387, allocations: 0 / 453.3 MB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/0.003932, allocations: 47.88 kB / 453.3 MB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.003933, allocations: 4 kB / 453.3 MB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.003936, allocations: 7.922 kB / 453.3 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.00394, allocations: 1.312 kB / 453.3 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.048e-05/0.00401, allocations: 61.91 kB / 453.4 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.004011, allocations: 0 / 453.4 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.819e-05/0.004029, allocations: 4 kB / 453.4 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-06/0.004035, allocations: 8.766 kB / 453.4 MB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.004035, allocations: 0 / 453.4 MB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.00404, allocations: 5.531 kB / 453.4 MB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.004041, allocations: 0 / 453.4 MB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.004043, allocations: 5 kB / 453.4 MB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.858e-05/0.004101, allocations: 136.8 kB / 453.6 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.00411, allocations: 4 kB / 453.6 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.59e-05/0.004135, allocations: 0.625 kB / 453.6 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.004156, allocations: 5.469 kB / 453.6 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.004157, allocations: 0 / 453.6 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.171e-05/0.004169, allocations: 17.44 kB / 453.6 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004169, allocations: 4 kB / 453.6 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001007/0.00427, allocations: 0.5938 kB / 453.6 MB, free: 0.8242 MB / 426.7 MB 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 5.549e-05/0.004325, allocations: 77.55 kB / 453.7 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.171e-05/0.004367, allocations: 10.72 kB / 453.7 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.004372, allocations: 4 kB / 453.7 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.67e-05/0.004388, allocations: 13.92 kB / 453.7 MB, free: 0.707 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.004516, allocations: 31.39 kB / 453.7 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.005008, allocations: 123.6 kB / 453.8 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.086e-05/0.005039, allocations: 63.2 kB / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.339e-05/0.005052, allocations: 2.25 kB / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.005087, allocations: 53.09 kB / 454 MB, free: 408 kB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.005087, allocations: 1.094 kB / 454 MB, free: 408 kB / 426.7 MB Notification: Performance of Templates: time 0.001825/0.006912, allocations: 472.9 kB / 454.4 MB, free: 15.96 MB / 442.7 MB " [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.3872716212645173]