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.00101/0.00101, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001159/0.001159, allocations: 173.7 kB / 23.27 MB, free: 1.223 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.9588/0.9588, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.7946/0.7946, allocations: 154.9 MB / 415.1 MB, free: 264 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 3.406e-06/3.406e-06, allocations: 3.938 kB / 0.5212 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.396e-05/3.737e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.005015/0.005053, allocations: 0.6485 MB / 0.5218 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.006074, allocations: 0.8659 MB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.006109, allocations: 0 / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.006134, allocations: 3.938 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.968e-05/0.006204, allocations: 15.91 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.006371, allocations: 9.5 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.444e-05/0.006436, allocations: 27.92 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.116e-05/0.006517, allocations: 0 / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.704e-05/0.006594, allocations: 15.98 kB / 0.5227 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.605e-05/0.00663, allocations: 11.92 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.006644, allocations: 4.75 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.853e-05/0.006693, allocations: 7.984 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.006708, allocations: 5.469 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.006722, allocations: 4 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.297e-05/0.006815, allocations: 23.91 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.006818, allocations: 0 / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.212e-06/0.00682, allocations: 1.344 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.006823, allocations: 0 / 0.5228 GB, free: 15.81 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.0003262/0.007149, allocations: 360.6 kB / 0.5231 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.007189, allocations: 12.88 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/0.01031, allocations: 8.891 kB / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.01041, allocations: 111.7 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.01043, allocations: 4.375 kB / 0.5233 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.01044, allocations: 8.359 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.01057, allocations: 50.95 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.01058, allocations: 192 / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.01059, allocations: 384 / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.01059, allocations: 384 / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.01062, allocations: 7.938 kB / 0.5233 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.0109, allocations: 224.9 kB / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.625e-05/0.01095, allocations: 35.64 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.01097, allocations: 16.47 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.01099, allocations: 0 / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.01102, allocations: 38.02 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.01102, allocations: 1.469 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001513/0.01117, allocations: 45.53 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.0112, allocations: 55.39 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.01128, allocations: 154.9 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.0113, allocations: 25.7 kB / 0.5239 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.01135, allocations: 130.9 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.01137, allocations: 17.28 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.0114, allocations: 19.36 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.01154, allocations: 496.1 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.01155, allocations: 0 / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.01156, allocations: 5.156 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.01159, allocations: 12.5 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.0116, allocations: 0 / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.299e-05/0.01167, allocations: 46.91 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.01168, allocations: 11.94 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.01169, allocations: 0 / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.0117, allocations: 3.938 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.827e-05/0.01178, allocations: 5.344 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-06/0.01178, allocations: 0 / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/0.01181, allocations: 7.984 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.01181, allocations: 0.7812 kB / 0.5246 GB, free: 13.74 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 7.451e-05/0.01189, allocations: 155.5 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.01191, allocations: 4 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.817e-05/0.01201, allocations: 44.94 kB / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01201, allocations: 7.938 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.01201, allocations: 0 / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.01202, allocations: 0 / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.01214, allocations: 97.25 kB / 0.5249 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01214, allocations: 0 / 0.5249 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.01219, allocations: 10.73 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01219, allocations: 0 / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.0122, allocations: 0 / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.0122, allocations: 0 / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.0122, allocations: 4 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.01232, allocations: 192 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.01233, allocations: 4.672 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.026e-06/0.01234, allocations: 4 kB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.619e-05/0.01239, allocations: 1.156 kB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.01242, allocations: 7.922 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.01243, allocations: 7.938 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.01247, allocations: 119.9 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01247, allocations: 0 / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002233/0.01269, allocations: 4.5 kB / 0.5253 GB, free: 13.04 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.0001156/0.01281, allocations: 96.19 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.804e-05/0.01287, allocations: 20.89 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01288, allocations: 0 / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.911e-05/0.01289, allocations: 13.34 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/0.01617, allocations: 7.391 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.01667, allocations: 124.7 kB / 0.5255 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.359e-05/0.01671, allocations: 63.28 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.2e-05/0.01673, allocations: 3.938 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.01679, allocations: 70.2 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.362e-06/0.01679, allocations: 0 / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.005433/0.02223, allocations: 0.5047 MB / 0.5261 GB, free: 12.11 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.4969932679086924]