Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04197/0.04197, allocations: 9.128 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.000937/0.000937, allocations: 90.88 kB / 35.33 MB, free: 1.074 MB / 24.77 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.001042/0.001042, allocations: 164.5 kB / 38.73 MB, free: 2.508 MB / 24.77 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.016/1.016, allocations: 177.2 MB / 219.2 MB, free: 10.09 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.006124/0.006124, allocations: 0.8183 MB / 276.5 MB, free: 0.7227 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.761/1.761, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.911e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001902/0.001931, allocations: 0.7419 MB / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002673/0.002198, allocations: 59.7 kB / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.269e-05/0.002251, allocations: 4 kB / 0.6387 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.002408, allocations: 15.8 kB / 0.6387 GB, free: 13.24 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-05/0.002464, allocations: 15.92 kB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.00262, allocations: 23.97 kB / 0.6388 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.002822, allocations: 131.6 kB / 0.6389 GB, free: 13.07 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.003001, allocations: 86.2 kB / 0.639 GB, free: 12.99 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.003111, allocations: 95.8 kB / 0.6391 GB, free: 12.89 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.676e-05/0.003208, allocations: 63.88 kB / 0.6391 GB, free: 12.83 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.003243, allocations: 12 kB / 0.6391 GB, free: 12.82 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.003268, allocations: 12 kB / 0.6391 GB, free: 12.81 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.003349, allocations: 59.77 kB / 0.6392 GB, free: 12.75 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.301e-05/0.003412, allocations: 47.84 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.003626, allocations: 175.4 kB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003628, allocations: 0 / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003629, allocations: 0 / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.003633, allocations: 0 / 0.6394 GB, free: 12.53 MB / 0.6043 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.0004587/0.004092, allocations: 400.2 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.004131, allocations: 15.92 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.004195, allocations: 24.92 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.004402, allocations: 173.4 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.004422, allocations: 12.75 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.004453, allocations: 16.38 kB / 0.64 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.004745, allocations: 196.2 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.004755, allocations: 4.188 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.004774, allocations: 4.375 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/0.004806, allocations: 20.06 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.004921, allocations: 71.95 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.005695, allocations: 0.718 MB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.886e-05/0.005784, allocations: 169.1 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.005812, allocations: 80.14 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.005839, allocations: 79.28 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.005888, allocations: 105.8 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.005889, allocations: 0 / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 7.616e-05/0.005965, allocations: 33.7 kB / 0.6415 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.006033, allocations: 134.7 kB / 0.6416 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.006226, allocations: 183.5 kB / 0.6418 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.006242, allocations: 33.64 kB / 0.6418 GB, free: 9.938 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.006353, allocations: 171.9 kB / 0.642 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-06/0.006357, allocations: 4 kB / 0.642 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.006411, allocations: 25.66 kB / 0.642 GB, free: 9.727 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.006522, allocations: 330.7 kB / 0.6423 GB, free: 9.395 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.006547, allocations: 7.984 kB / 0.6423 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.128e-05/0.006598, allocations: 46.03 kB / 0.6423 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.106e-05/0.006689, allocations: 68.75 kB / 0.6424 GB, free: 9.23 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.006692, allocations: 0 / 0.6424 GB, free: 9.23 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001615/0.006853, allocations: 77.67 kB / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.006869, allocations: 8 kB / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.006875, allocations: 0 / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.006896, allocations: 7.984 kB / 0.6425 GB, free: 9.133 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.00699, allocations: 15.98 kB / 0.6425 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.006997, allocations: 7.938 kB / 0.6425 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.007069, allocations: 15.98 kB / 0.6425 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.007085, allocations: 15.94 kB / 0.6426 GB, free: 9.078 MB / 0.6043 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.0001026/0.007188, allocations: 191.9 kB / 0.6427 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.007253, allocations: 109 kB / 0.6428 GB, free: 8.766 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.007306, allocations: 129.2 kB / 0.643 GB, free: 8.637 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.422e-05/0.00736, allocations: 176.3 kB / 0.6431 GB, free: 8.457 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.957e-05/0.007419, allocations: 184.2 kB / 0.6433 GB, free: 8.27 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.376e-05/0.007473, allocations: 176.3 kB / 0.6435 GB, free: 8.09 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.007711, allocations: 361.3 kB / 0.6438 GB, free: 7.711 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.448e-05/0.007745, allocations: 104.9 kB / 0.6439 GB, free: 7.602 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.007782, allocations: 109 kB / 0.644 GB, free: 7.488 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.948e-05/0.007842, allocations: 184.2 kB / 0.6442 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.443e-05/0.007896, allocations: 176.5 kB / 0.6444 GB, free: 7.121 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.365e-05/0.00795, allocations: 184.2 kB / 0.6445 GB, free: 6.934 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.293e-05/0.008003, allocations: 188.2 kB / 0.6447 GB, free: 6.742 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.008143, allocations: 315.7 kB / 0.645 GB, free: 6.41 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.008191, allocations: 112.9 kB / 0.6451 GB, free: 6.293 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.008263, allocations: 184.2 kB / 0.6453 GB, free: 6.105 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.008352, allocations: 105 kB / 0.6454 GB, free: 5.996 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.008413, allocations: 184.2 kB / 0.6456 GB, free: 5.809 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.008446, allocations: 104.9 kB / 0.6457 GB, free: 5.699 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.103e-05/0.008527, allocations: 56.88 kB / 0.6457 GB, free: 5.641 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.008527, allocations: 0 / 0.6457 GB, free: 5.641 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002915/0.008819, allocations: 39.78 kB / 0.6458 GB, free: 5.602 MB / 0.6043 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.0001673/0.008986, allocations: 151.7 kB / 0.6459 GB, free: 5.445 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.009088, allocations: 28.77 kB / 0.646 GB, free: 5.414 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.009097, allocations: 4 kB / 0.646 GB, free: 5.41 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/0.009099, allocations: 0 / 0.646 GB, free: 5.41 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.009531, allocations: 483.6 kB / 0.6464 GB, free: 4.934 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.01004, allocations: 416 kB / 0.6468 GB, free: 4.492 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.284e-05/0.01011, allocations: 95.3 kB / 0.6469 GB, free: 4.379 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.545e-05/0.01016, allocations: 8.938 kB / 0.6469 GB, free: 4.371 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.01024, allocations: 67.36 kB / 0.647 GB, free: 4.305 MB / 0.6043 GB Notification: Performance of SimCode: time 8.81e-07/0.01024, allocations: 0 / 0.647 GB, free: 4.305 MB / 0.6043 GB Notification: Performance of Templates: time 0.003134/0.01337, allocations: 1.049 MB / 0.648 GB, free: 3.258 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.525575316045433]