Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.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.001638/0.001638, allocations: 82.64 kB / 19.16 MB, free: 2.539 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.002075/0.002075, allocations: 160.6 kB / 22.44 MB, free: 5.352 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.418/1.418, allocations: 177.2 MB / 202.8 MB, free: 9.195 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.196/1.196, allocations: 155 MB / 414.2 MB, free: 4.934 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.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 79.16 kB / 0.6192 GB, free: 4.109 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.537, allocations: 102 MB / 0.7188 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001782/0.5387, allocations: 0.7156 MB / 0.7195 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002316/0.539, allocations: 51.69 kB / 0.7195 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.539, allocations: 7.938 kB / 0.7196 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.5392, allocations: 23.88 kB / 0.7196 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.5392, allocations: 9.766 kB / 0.7196 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.5393, allocations: 26.84 kB / 0.7196 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.5395, allocations: 120.2 kB / 0.7197 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.5397, allocations: 90.14 kB / 0.7198 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.5398, allocations: 103.5 kB / 0.7199 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.414e-05/0.5399, allocations: 79.45 kB / 0.72 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.5399, allocations: 11 kB / 0.72 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.424e-05/0.5399, allocations: 12.72 kB / 0.72 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.54, allocations: 53.78 kB / 0.7201 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.5401, allocations: 65.53 kB / 0.7201 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.5403, allocations: 254.4 kB / 0.7204 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.5403, allocations: 1.156 kB / 0.7204 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5403, allocations: 0 / 0.7204 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.5403, allocations: 0 / 0.7204 GB, free: 0.9258 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004289/0.5407, allocations: 447.5 kB / 0.7208 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.5408, allocations: 12.64 kB / 0.7208 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.5408, allocations: 23.33 kB / 0.7208 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.5411, allocations: 200.8 kB / 0.721 GB, free: 380 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.5411, allocations: 13.16 kB / 0.721 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.5411, allocations: 16.5 kB / 0.7211 GB, free: 372 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.5415, allocations: 339.9 kB / 0.7214 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5416, allocations: 5.062 kB / 0.7214 GB, free: 236 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.5416, allocations: 13.36 kB / 0.7214 GB, free: 224 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.5416, allocations: 13.97 kB / 0.7214 GB, free: 224 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.5419, allocations: 262 kB / 0.7217 GB, free: 172 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.543, allocations: 0.9153 MB / 0.7225 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.685e-05/0.5431, allocations: 170.2 kB / 0.7227 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/0.5431, allocations: 81.55 kB / 0.7228 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.5432, allocations: 75.28 kB / 0.7229 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/0.5432, allocations: 109.3 kB / 0.723 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.5432, allocations: 0 / 0.723 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 8.52e-05/0.5433, allocations: 43.66 kB / 0.723 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.5434, allocations: 131.8 kB / 0.7231 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.5437, allocations: 266.7 kB / 0.7234 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.5437, allocations: 25.7 kB / 0.7234 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.5438, allocations: 188.3 kB / 0.7236 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-06/0.5438, allocations: 1.625 kB / 0.7236 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/0.5439, allocations: 33.48 kB / 0.7236 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5441, allocations: 323.6 kB / 0.7239 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.605e-05/0.5442, allocations: 48.55 kB / 0.724 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.5443, allocations: 88.88 kB / 0.7241 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.5445, allocations: 114 kB / 0.7242 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5445, allocations: 4.969 kB / 0.7242 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003484/0.5448, allocations: 167.6 kB / 0.7243 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5448, allocations: 5.844 kB / 0.7243 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5448, allocations: 2.047 kB / 0.7243 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.5448, allocations: 6.188 kB / 0.7244 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.545, allocations: 23.73 kB / 0.7244 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.545, allocations: 6.828 kB / 0.7244 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.5451, allocations: 27.17 kB / 0.7244 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.5451, allocations: 8.031 kB / 0.7244 GB, free: 13.98 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 0.0002064/0.5453, allocations: 246.8 kB / 0.7246 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.5454, allocations: 111.3 kB / 0.7248 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.5454, allocations: 124.2 kB / 0.7249 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.87e-05/0.5455, allocations: 182.7 kB / 0.725 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-05/0.5456, allocations: 182.2 kB / 0.7252 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.409e-05/0.5457, allocations: 182.1 kB / 0.7254 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.546, allocations: 432.2 kB / 0.7258 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.326e-05/0.546, allocations: 107 kB / 0.7259 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.5461, allocations: 107 kB / 0.726 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.546e-05/0.5462, allocations: 182.2 kB / 0.7262 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/0.5462, allocations: 178.7 kB / 0.7264 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.39e-05/0.5463, allocations: 178.1 kB / 0.7265 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.301e-05/0.5464, allocations: 186.8 kB / 0.7267 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.5466, allocations: 318.9 kB / 0.727 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.5466, allocations: 110.6 kB / 0.7271 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/0.5467, allocations: 178.2 kB / 0.7273 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.5468, allocations: 114.4 kB / 0.7274 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.5469, allocations: 187.2 kB / 0.7276 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.5469, allocations: 106.1 kB / 0.7277 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001839/0.5471, allocations: 195.2 kB / 0.7279 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.5471, allocations: 0 / 0.7279 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002832/0.5474, allocations: 38.47 kB / 0.7279 GB, free: 10.52 MB / 0.6231 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 (0): * Single equations (assignments): 0 * 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.0001431/0.5476, allocations: 171.9 kB / 0.7281 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.5477, allocations: 63.45 kB / 0.7281 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5477, allocations: 64 / 0.7281 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/0.5477, allocations: 8 kB / 0.7281 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005568/0.5483, allocations: 481.2 kB / 0.7286 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/0.5488, allocations: 449.3 kB / 0.729 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.549, allocations: 167.4 kB / 0.7292 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.782e-05/0.5491, allocations: 26.31 kB / 0.7292 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.5491, allocations: 16.75 kB / 0.7292 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of SimCode: time 4.8e-07/0.5491, allocations: 0 / 0.7292 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of Templates: time 0.003495/0.5526, allocations: 0.9918 MB / 0.7302 GB, free: 9.328 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.114074120298028] Failed to read output from testmodel.py, exit status != 0: 0.5609567817300558 0.574603612 0.031393042 Calling exit ...