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.00117/0.00117, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001533/0.001533, allocations: 173 kB / 23.35 MB, free: 1.137 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 1.072/1.072, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.84/0.84, allocations: 154.9 MB / 415.1 MB, free: 236 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.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 1.753e-06/1.753e-06, allocations: 0 / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.587e-05, allocations: 6.641 kB / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001361/0.001387, allocations: 0.7245 MB / 481.2 MB, free: 5.824 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002118/0.001598, allocations: 51.83 kB / 481.2 MB, free: 5.773 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.00164, allocations: 11.34 kB / 481.2 MB, free: 5.766 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.00178, allocations: 17.72 kB / 481.2 MB, free: 5.75 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.001825, allocations: 13.12 kB / 481.2 MB, free: 5.738 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.001958, allocations: 33.16 kB / 481.3 MB, free: 5.707 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.002127, allocations: 126.9 kB / 481.4 MB, free: 5.602 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.002272, allocations: 90.19 kB / 481.5 MB, free: 5.508 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.002353, allocations: 99.31 kB / 481.6 MB, free: 5.414 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.002426, allocations: 63.88 kB / 481.7 MB, free: 5.352 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.002457, allocations: 12 kB / 481.7 MB, free: 5.34 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.792e-05/0.002475, allocations: 12 kB / 481.7 MB, free: 5.328 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.013e-05/0.002535, allocations: 63.77 kB / 481.7 MB, free: 5.266 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.002578, allocations: 48.72 kB / 481.8 MB, free: 5.219 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.002726, allocations: 159.4 kB / 481.9 MB, free: 5.062 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.002728, allocations: 5.281 kB / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002728, allocations: 0 / 481.9 MB, free: 5.059 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.002732, allocations: 0 / 481.9 MB, free: 5.059 MB / 442.7 MB 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.0003708/0.003103, allocations: 400.3 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.003138, allocations: 8.719 kB / 482.3 MB, free: 4.637 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.003182, allocations: 25.8 kB / 482.4 MB, free: 4.613 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.003336, allocations: 171.5 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.003354, allocations: 24.62 kB / 482.6 MB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.003376, allocations: 13 kB / 482.6 MB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.003617, allocations: 201.2 kB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.003629, allocations: 0.7031 kB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.003644, allocations: 4.375 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.003678, allocations: 20.62 kB / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.933e-05/0.003768, allocations: 76.59 kB / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.004412, allocations: 0.714 MB / 483.6 MB, free: 3.344 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.946e-05/0.004492, allocations: 169.1 kB / 483.8 MB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.004521, allocations: 81.2 kB / 483.8 MB, free: 3.086 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.004546, allocations: 75.28 kB / 483.9 MB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.004592, allocations: 113.8 kB / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.004593, allocations: 1.156 kB / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 7.03e-05/0.004663, allocations: 29.7 kB / 484 MB, free: 2.855 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.004729, allocations: 130.7 kB / 484.2 MB, free: 2.715 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.00489, allocations: 190.9 kB / 484.4 MB, free: 2.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.0049, allocations: 27.27 kB / 484.4 MB, free: 2.488 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.004978, allocations: 164 kB / 484.5 MB, free: 2.324 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.00498, allocations: 0 / 484.5 MB, free: 2.324 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.00502, allocations: 33.64 kB / 484.6 MB, free: 2.285 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.005102, allocations: 326.8 kB / 484.9 MB, free: 1.957 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.005119, allocations: 5.344 kB / 484.9 MB, free: 1.953 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/0.005162, allocations: 57.95 kB / 485 MB, free: 1.875 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.924e-05/0.005231, allocations: 63.59 kB / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.005233, allocations: 0 / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001141/0.005348, allocations: 79.27 kB / 485.1 MB, free: 1.711 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.005361, allocations: 8 kB / 485.1 MB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.005367, allocations: 0.625 kB / 485.1 MB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.00538, allocations: 4 kB / 485.1 MB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.005445, allocations: 16.61 kB / 485.1 MB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.005449, allocations: 4.625 kB / 485.1 MB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.005495, allocations: 19.95 kB / 485.2 MB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.005507, allocations: 8.625 kB / 485.2 MB, free: 1.652 MB / 442.7 MB 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 8.304e-05/0.00559, allocations: 200.5 kB / 485.4 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.005635, allocations: 120.9 kB / 485.5 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.005677, allocations: 114.1 kB / 485.6 MB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.292e-05/0.00572, allocations: 182 kB / 485.8 MB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.261e-05/0.005763, allocations: 184.3 kB / 485.9 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.885e-05/0.005812, allocations: 181 kB / 486.1 MB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.005989, allocations: 361.3 kB / 486.5 MB, free: 272 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.61e-05/0.006015, allocations: 106.7 kB / 486.6 MB, free: 160 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.006041, allocations: 101 kB / 486.7 MB, free: 52 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-05/0.0061, allocations: 180.3 kB / 486.9 MB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.006141, allocations: 180.2 kB / 487 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.445e-05/0.006185, allocations: 176.3 kB / 487.2 MB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.75e-05/0.006233, allocations: 193.1 kB / 487.4 MB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.00634, allocations: 307.8 kB / 487.7 MB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.006378, allocations: 118.3 kB / 487.8 MB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.006433, allocations: 176.3 kB / 488 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.006491, allocations: 108.9 kB / 488.1 MB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.006542, allocations: 188.2 kB / 488.3 MB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.006566, allocations: 105.8 kB / 488.4 MB, free: 14.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.033e-05/0.006617, allocations: 53.8 kB / 488.4 MB, free: 14.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006617, allocations: 2.344 kB / 488.4 MB, free: 14.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001553/0.006772, allocations: 39.83 kB / 488.5 MB, free: 14.18 MB / 458.7 MB 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.0001125/0.006884, allocations: 147.7 kB / 488.6 MB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.546e-05/0.00696, allocations: 30.58 kB / 488.6 MB, free: 13.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.006967, allocations: 4 kB / 488.6 MB, free: 13.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.006968, allocations: 0 / 488.6 MB, free: 13.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.007244, allocations: 485.6 kB / 489.1 MB, free: 13.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.007614, allocations: 408.8 kB / 489.5 MB, free: 13.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.032e-05/0.007664, allocations: 91.3 kB / 489.6 MB, free: 12.97 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.932e-05/0.007694, allocations: 9.906 kB / 489.6 MB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.007757, allocations: 68.11 kB / 489.7 MB, free: 12.9 MB / 458.7 MB Notification: Performance of SimCode: time 7.51e-07/0.007758, allocations: 0 / 489.7 MB, free: 12.9 MB / 458.7 MB Notification: Performance of Templates: time 0.002981/0.01074, allocations: 1.052 MB / 490.7 MB, free: 11.93 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.719258852303028]