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.001239/0.001239, allocations: 80.92 kB / 19.18 MB, free: 2.516 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.0015/0.0015, allocations: 163.8 kB / 22.46 MB, free: 5.375 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.442/1.442, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.219/1.219, allocations: 154.6 MB / 413.7 MB, free: 5.312 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: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.6186 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.818e-05, allocations: 5.562 kB / 0.6186 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001872/0.001901, allocations: 0.7194 MB / 0.6193 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002604/0.002161, allocations: 51.83 kB / 0.6193 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.002213, allocations: 3.938 kB / 0.6193 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.002362, allocations: 23.8 kB / 0.6194 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.002412, allocations: 11.92 kB / 0.6194 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.002582, allocations: 27.91 kB / 0.6194 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.002785, allocations: 131.6 kB / 0.6195 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.002999, allocations: 84.89 kB / 0.6196 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.003127, allocations: 95.73 kB / 0.6197 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.00323, allocations: 67.88 kB / 0.6198 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.61e-05/0.003277, allocations: 12 kB / 0.6198 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.28e-05/0.003309, allocations: 12 kB / 0.6198 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.003397, allocations: 55.77 kB / 0.6198 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.11e-05/0.003478, allocations: 47.84 kB / 0.6199 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.003772, allocations: 243.2 kB / 0.6201 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003774, allocations: 0 / 0.6201 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003775, allocations: 0 / 0.6201 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.003784, allocations: 0 / 0.6201 GB, free: 3.047 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000603/0.004387, allocations: 425.6 kB / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.004427, allocations: 13.47 kB / 0.6205 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.00449, allocations: 20.8 kB / 0.6206 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.004781, allocations: 202.6 kB / 0.6208 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.004804, allocations: 12.75 kB / 0.6208 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.004836, allocations: 20.38 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.005353, allocations: 341.5 kB / 0.6211 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.005365, allocations: 4.188 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.005389, allocations: 8.375 kB / 0.6211 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.005426, allocations: 16.11 kB / 0.6211 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.00579, allocations: 263.8 kB / 0.6214 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.006988, allocations: 0.91 MB / 0.6223 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.007093, allocations: 165.1 kB / 0.6224 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.007133, allocations: 80.14 kB / 0.6225 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.007169, allocations: 79.28 kB / 0.6226 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/0.007234, allocations: 109.8 kB / 0.6227 GB, free: 288 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.007235, allocations: 0 / 0.6227 GB, free: 288 kB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 9.392e-05/0.007329, allocations: 45.55 kB / 0.6227 GB, free: 236 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/0.007415, allocations: 130.7 kB / 0.6229 GB, free: 92 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.007745, allocations: 268.8 kB / 0.6231 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.007759, allocations: 25.7 kB / 0.6231 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.007904, allocations: 180 kB / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.007908, allocations: 4 kB / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.396e-05/0.007972, allocations: 33.66 kB / 0.6233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.008131, allocations: 322.8 kB / 0.6237 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.463e-05/0.008205, allocations: 43.97 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.008317, allocations: 97.89 kB / 0.6238 GB, free: 15.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.008475, allocations: 113.8 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.008479, allocations: 4 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003173/0.008797, allocations: 169.6 kB / 0.6241 GB, free: 14.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.008812, allocations: 8 kB / 0.6241 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.008819, allocations: 4 kB / 0.6241 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.008835, allocations: 0 / 0.6241 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.008942, allocations: 23.92 kB / 0.6241 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.008955, allocations: 4 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.494e-05/0.00904, allocations: 23.83 kB / 0.6241 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.00906, allocations: 15.92 kB / 0.6241 GB, free: 14.7 MB / 0.545 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.0001881/0.009248, allocations: 246.1 kB / 0.6244 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.669e-05/0.009335, allocations: 120.9 kB / 0.6245 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.485e-05/0.00942, allocations: 121.5 kB / 0.6246 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-05/0.009508, allocations: 184.3 kB / 0.6248 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-05/0.009594, allocations: 180.2 kB / 0.625 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.411e-05/0.009678, allocations: 180.2 kB / 0.6251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.009993, allocations: 432.8 kB / 0.6255 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.77e-05/0.01004, allocations: 105.1 kB / 0.6256 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.777e-05/0.01011, allocations: 109 kB / 0.6257 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.29e-05/0.01019, allocations: 180.2 kB / 0.6259 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-05/0.01027, allocations: 180.3 kB / 0.6261 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.259e-05/0.01035, allocations: 180.2 kB / 0.6263 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.651e-05/0.01044, allocations: 184.2 kB / 0.6264 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.01062, allocations: 323.6 kB / 0.6267 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.01068, allocations: 108.9 kB / 0.6268 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.01078, allocations: 184.2 kB / 0.627 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.01089, allocations: 109 kB / 0.6271 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.447e-05/0.01099, allocations: 188.2 kB / 0.6273 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.01103, allocations: 101 kB / 0.6274 GB, free: 11.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001967/0.01123, allocations: 199.9 kB / 0.6276 GB, free: 10.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01123, allocations: 0 / 0.6276 GB, free: 10.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002949/0.01152, allocations: 47.72 kB / 0.6276 GB, free: 10.93 MB / 0.545 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.000157/0.01168, allocations: 170.5 kB / 0.6278 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.01183, allocations: 63.89 kB / 0.6279 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01183, allocations: 0 / 0.6279 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.01183, allocations: 0 / 0.6279 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.01243, allocations: 479.5 kB / 0.6283 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000656/0.01309, allocations: 437.3 kB / 0.6287 GB, free: 9.762 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.01327, allocations: 172 kB / 0.6289 GB, free: 9.574 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.612e-05/0.01334, allocations: 28.47 kB / 0.6289 GB, free: 9.547 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.01338, allocations: 12.5 kB / 0.6289 GB, free: 9.535 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01338, allocations: 0 / 0.6289 GB, free: 9.535 MB / 0.545 GB Notification: Performance of Templates: time 0.004232/0.01761, allocations: 0.9676 MB / 0.6299 GB, free: 8.602 MB / 0.545 GB " [Timeout remaining time 660] 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: 5.752678398042917] Failed to read output from testmodel.py, exit status != 0: 0.02663315087556839 0.042770632 0.035707694000000005 Calling exit ...