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.0007352/0.0007352, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007187/0.0007187, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8017/0.8017, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-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 0.6513/0.6513, allocations: 154.5 MB / 414.5 MB, free: 0.8594 MB / 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 1.222e-06/1.222e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.429e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001003/0.001017, allocations: 0.6553 MB / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006602/0.001677, allocations: 0.8471 MB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.001703, allocations: 0 / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.001725, allocations: 3.938 kB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.765e-05/0.001772, allocations: 3.938 kB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.001916, allocations: 11.98 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.374e-05/0.001969, allocations: 19.92 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.002046, allocations: 11.98 kB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.002101, allocations: 15.92 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.606e-05/0.002127, allocations: 8 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.002139, allocations: 3.938 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.527e-05/0.002174, allocations: 8 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.002187, allocations: 3.984 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.002201, allocations: 8 kB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.844e-05/0.002279, allocations: 27.89 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.002281, allocations: 0 / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002281, allocations: 0 / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.805e-06/0.002284, allocations: 0 / 0.6209 GB, free: 11.54 MB / 0.5886 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.0002964/0.002581, allocations: 262.4 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.002612, allocations: 13.45 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.002667, allocations: 12.83 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.87e-05/0.002736, allocations: 109.7 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.002745, allocations: 384 / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.002753, allocations: 4.375 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.002858, allocations: 50.23 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.002865, allocations: 192 / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.002873, allocations: 384 / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.002876, allocations: 384 / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.082e-05/0.002957, allocations: 43.83 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.003171, allocations: 192.6 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.809e-05/0.003239, allocations: 30.56 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.003282, allocations: 24.89 kB / 0.6216 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.003298, allocations: 0 / 0.6216 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.003316, allocations: 38.5 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.003316, allocations: 0 / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002008/0.003517, allocations: 85.58 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.003544, allocations: 51.41 kB / 0.6218 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.952e-05/0.003594, allocations: 109.8 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.003602, allocations: 25.7 kB / 0.6219 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.003631, allocations: 84.09 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.003646, allocations: 7.938 kB / 0.622 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.003667, allocations: 17.72 kB / 0.622 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.003732, allocations: 311 kB / 0.6223 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.596e-05/0.003768, allocations: 19.98 kB / 0.6224 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.0038, allocations: 15.98 kB / 0.6224 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.012e-05/0.00387, allocations: 44.75 kB / 0.6224 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.003871, allocations: 0 / 0.6224 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.853e-05/0.00396, allocations: 69.72 kB / 0.6225 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.003969, allocations: 4 kB / 0.6225 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.003974, allocations: 3.938 kB / 0.6225 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.003984, allocations: 0 / 0.6225 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.964e-05/0.004034, allocations: 8 kB / 0.6225 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.004038, allocations: 3.984 kB / 0.6225 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.004058, allocations: 4 kB / 0.6225 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.004062, allocations: 0 / 0.6225 GB, free: 9.746 MB / 0.5886 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 4.273e-05/0.004105, allocations: 110.8 kB / 0.6226 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.004115, allocations: 11.97 kB / 0.6226 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.004232, allocations: 80.83 kB / 0.6227 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.004233, allocations: 0 / 0.6227 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.004237, allocations: 4 kB / 0.6227 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.00424, allocations: 4 kB / 0.6227 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.975e-05/0.00432, allocations: 97.33 kB / 0.6228 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.004321, allocations: 0 / 0.6228 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.004344, allocations: 7.984 kB / 0.6228 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.004346, allocations: 4.031 kB / 0.6228 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.00435, allocations: 0 / 0.6228 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.004352, allocations: 7.938 kB / 0.6228 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004353, allocations: 0 / 0.6228 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.004462, allocations: 167.4 kB / 0.623 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-06/0.004466, allocations: 0 / 0.623 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-06/0.004475, allocations: 3.984 kB / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.00451, allocations: 7.938 kB / 0.623 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.004537, allocations: 7.984 kB / 0.623 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.004539, allocations: 4.031 kB / 0.623 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.326e-05/0.004562, allocations: 83.28 kB / 0.6231 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004562, allocations: 0 / 0.6231 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001361/0.004699, allocations: 4 kB / 0.6231 GB, free: 9.086 MB / 0.5886 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 5.822e-05/0.004757, allocations: 91.25 kB / 0.6232 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.004863, allocations: 35.95 kB / 0.6232 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.004864, allocations: 4 kB / 0.6232 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.004902, allocations: 27.92 kB / 0.6232 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.005069, allocations: 6.031 kB / 0.6232 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.005276, allocations: 130.6 kB / 0.6234 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.508e-05/0.005311, allocations: 59.34 kB / 0.6234 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.005331, allocations: 8.5 kB / 0.6234 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.005331, allocations: 0 / 0.6234 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of Templates: time 0.001143/0.006474, allocations: 0.5618 MB / 0.624 GB, free: 8.113 MB / 0.5886 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: 4.529437429271638] Failed to read output from testmodel.py, exit status != 0: 0.010352897457778454 0.01723432 0.013557257000000001 Calling exit ...