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.001358/0.001358, allocations: 81.58 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001396/0.001396, allocations: 164.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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-531:190: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-531:198: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.223/1.223, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 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 3.066e-06/3.066e-06, allocations: 3.938 kB / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.919e-05/4.226e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.00185/0.001892, allocations: 0.6394 MB / 0.6192 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003192, allocations: 0.8509 MB / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.003227, allocations: 0 / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.003258, allocations: 4.656 kB / 0.62 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.00332, allocations: 4 kB / 0.6201 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.003495, allocations: 16.92 kB / 0.6201 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.812e-05/0.003563, allocations: 19.88 kB / 0.6201 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.003656, allocations: 16.56 kB / 0.6201 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.724e-05/0.003723, allocations: 8 kB / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.427e-05/0.003757, allocations: 4.984 kB / 0.6201 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.003775, allocations: 4 kB / 0.6201 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.276e-05/0.003817, allocations: 12 kB / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.003829, allocations: 0 / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.003855, allocations: 15.92 kB / 0.6201 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.003955, allocations: 27.89 kB / 0.6202 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003958, allocations: 0 / 0.6202 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003958, allocations: 0 / 0.6202 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003962, allocations: 0 / 0.6202 GB, free: 2.965 MB / 0.5294 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.0004272/0.00439, allocations: 262.3 kB / 0.6204 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.004425, allocations: 13.47 kB / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/0.004506, allocations: 8.891 kB / 0.6204 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.004614, allocations: 117.7 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.004629, allocations: 4.375 kB / 0.6206 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.004642, allocations: 384 / 0.6206 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.004822, allocations: 54.17 kB / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.00483, allocations: 4.125 kB / 0.6206 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.004839, allocations: 384 / 0.6206 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.004846, allocations: 4.375 kB / 0.6206 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.005015, allocations: 31.91 kB / 0.6207 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.005314, allocations: 192.6 kB / 0.6208 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.005461, allocations: 34.56 kB / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.726e-05/0.005558, allocations: 28.84 kB / 0.6209 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.005577, allocations: 0 / 0.6209 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.005603, allocations: 34.5 kB / 0.6209 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.005604, allocations: 0 / 0.6209 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003597/0.005964, allocations: 89.67 kB / 0.621 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.006002, allocations: 51.41 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.006089, allocations: 105.8 kB / 0.6212 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.006112, allocations: 25.7 kB / 0.6212 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.006159, allocations: 80.14 kB / 0.6213 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.006176, allocations: 3.953 kB / 0.6213 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.006213, allocations: 17.72 kB / 0.6213 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.00636, allocations: 318.8 kB / 0.6216 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.006446, allocations: 15.98 kB / 0.6216 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.006521, allocations: 20.02 kB / 0.6216 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.00668, allocations: 40.81 kB / 0.6217 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.006682, allocations: 0 / 0.6217 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001945/0.006876, allocations: 61.62 kB / 0.6217 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.006891, allocations: 8 kB / 0.6217 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.006896, allocations: 4.031 kB / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.006909, allocations: 4 kB / 0.6217 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.006994, allocations: 7.984 kB / 0.6217 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.007004, allocations: 7.922 kB / 0.6218 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.007051, allocations: 7.984 kB / 0.6218 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.007061, allocations: 8 kB / 0.6218 GB, free: 1.156 MB / 0.5294 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.545e-05/0.007137, allocations: 106.8 kB / 0.6219 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.00716, allocations: 0 / 0.6219 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.007396, allocations: 85.05 kB / 0.6219 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.007398, allocations: 0 / 0.6219 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.007404, allocations: 3.984 kB / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.007406, allocations: 0 / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.007537, allocations: 101.3 kB / 0.622 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007538, allocations: 0 / 0.622 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.923e-05/0.007597, allocations: 11.98 kB / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007599, allocations: 0 / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.007605, allocations: 0 / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.007609, allocations: 3.938 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.00761, allocations: 7.969 kB / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.007855, allocations: 167.5 kB / 0.6222 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.007869, allocations: 7.891 kB / 0.6222 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.007881, allocations: 4 kB / 0.6222 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.007961, allocations: 11.92 kB / 0.6223 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.008, allocations: 0 / 0.6223 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.008006, allocations: 4 kB / 0.6223 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.372e-05/0.008049, allocations: 83.27 kB / 0.6223 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.008049, allocations: 4.031 kB / 0.6223 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002125/0.008262, allocations: 4 kB / 0.6223 GB, free: 0.4961 MB / 0.5294 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.000116/0.008378, allocations: 95.25 kB / 0.6224 GB, free: 400 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.008588, allocations: 39.91 kB / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.00859, allocations: 0 / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.008679, allocations: 23.97 kB / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.008952, allocations: 6.625 kB / 0.6225 GB, free: 332 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.009251, allocations: 108.8 kB / 0.6226 GB, free: 196 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.939e-05/0.009311, allocations: 63.34 kB / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.923e-05/0.00933, allocations: 0 / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.009356, allocations: 8.5 kB / 0.6227 GB, free: 104 kB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.009356, allocations: 0 / 0.6227 GB, free: 104 kB / 0.5294 GB Notification: Performance of Templates: time 0.00266/0.01202, allocations: 468.6 kB / 0.6231 GB, free: 15.65 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.820035792887211] Failed to read output from testmodel.py, exit status != 0: 0.020536113530397415 0.043389723000000005 0.034627689 Calling exit ...