Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.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.04625/0.04625, allocations: 9.127 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.001102/0.001102, allocations: 87.28 kB / 35.32 MB, free: 1.07 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.001173/0.001173, allocations: 164.5 kB / 38.73 MB, free: 2.504 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.02/1.02, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.00413/0.00413, allocations: 0.8204 MB / 276.5 MB, free: 0.7266 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.588/1.588, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 4 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.32e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001417/0.00144, allocations: 0.7612 MB / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.000964/0.002404, allocations: 0.8819 MB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.00247, allocations: 7.938 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.002671, allocations: 43.88 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.00273, allocations: 43.75 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 8.262e-05/0.002813, allocations: 19.97 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.002931, allocations: 95.67 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.003038, allocations: 19.94 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.503e-05/0.003123, allocations: 55.88 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.003257, allocations: 71.84 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.003284, allocations: 8 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.003298, allocations: 8 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.003359, allocations: 35.91 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.003396, allocations: 27.91 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.003516, allocations: 87.7 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.192e-06/0.003517, allocations: 0 / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003517, allocations: 0 / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003521, allocations: 4 kB / 0.64 GB, free: 11.89 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004255/0.003946, allocations: 324.4 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.003984, allocations: 11.98 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.00402, allocations: 12.92 kB / 0.6404 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.00418, allocations: 141.5 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.004191, allocations: 4.375 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.004208, allocations: 12.36 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.0044, allocations: 115.4 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.004408, allocations: 192 / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.004419, allocations: 4.375 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004424, allocations: 384 / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.139e-05/0.004486, allocations: 37.5 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.004863, allocations: 304.9 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.004998, allocations: 150.6 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.005032, allocations: 21.89 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.005043, allocations: 8 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.005067, allocations: 34.56 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.005068, allocations: 0 / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.000161/0.005229, allocations: 69.55 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.005271, allocations: 81.11 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.005356, allocations: 158.5 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.005369, allocations: 25.7 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.005405, allocations: 92.11 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.005435, allocations: 27.75 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.005473, allocations: 29.62 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.005566, allocations: 322.8 kB / 0.6419 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.00559, allocations: 14.83 kB / 0.6419 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.987e-05/0.005619, allocations: 21.7 kB / 0.642 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.814e-05/0.005678, allocations: 46.16 kB / 0.642 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.00568, allocations: 0 / 0.642 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.828e-05/0.005768, allocations: 67.27 kB / 0.6421 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.00578, allocations: 8 kB / 0.6421 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.005786, allocations: 3.938 kB / 0.6421 GB, free: 9.574 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.005797, allocations: 0 / 0.6421 GB, free: 9.574 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.005888, allocations: 19.98 kB / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.005892, allocations: 0 / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.00593, allocations: 19.92 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.005937, allocations: 7.938 kB / 0.6421 GB, free: 9.527 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 7.476e-05/0.006012, allocations: 116.6 kB / 0.6422 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.00604, allocations: 8.469 kB / 0.6422 GB, free: 9.395 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.006071, allocations: 20.27 kB / 0.6423 GB, free: 9.375 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.006075, allocations: 4 kB / 0.6423 GB, free: 9.371 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.006077, allocations: 0 / 0.6423 GB, free: 9.371 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.006082, allocations: 7.984 kB / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.006225, allocations: 101.8 kB / 0.6424 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006226, allocations: 0 / 0.6424 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/0.006279, allocations: 23.98 kB / 0.6424 GB, free: 9.223 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.00628, allocations: 0 / 0.6424 GB, free: 9.223 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.006286, allocations: 0 / 0.6424 GB, free: 9.223 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006287, allocations: 4 kB / 0.6424 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.006288, allocations: 3.938 kB / 0.6424 GB, free: 9.215 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.006455, allocations: 321.4 kB / 0.6427 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.006469, allocations: 7.953 kB / 0.6427 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.006482, allocations: 4 kB / 0.6427 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.006549, allocations: 7.984 kB / 0.6427 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.006593, allocations: 15.92 kB / 0.6427 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.006598, allocations: 4 kB / 0.6427 GB, free: 8.844 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.006634, allocations: 44.8 kB / 0.6428 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006634, allocations: 0 / 0.6428 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001609/0.006795, allocations: 16 kB / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 9.293e-05/0.006888, allocations: 76.42 kB / 0.6429 GB, free: 8.695 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.006993, allocations: 32.78 kB / 0.6429 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.006998, allocations: 4 kB / 0.6429 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.48e-05/0.007033, allocations: 24.78 kB / 0.6429 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.007262, allocations: 16 kB / 0.6429 GB, free: 8.613 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.007645, allocations: 240.4 kB / 0.6432 GB, free: 8.344 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.205e-05/0.007697, allocations: 67.33 kB / 0.6432 GB, free: 8.258 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.181e-05/0.007729, allocations: 4 kB / 0.6432 GB, free: 8.254 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.318e-05/0.007802, allocations: 67.38 kB / 0.6433 GB, free: 8.188 MB / 0.6043 GB Notification: Performance of SimCode: time 9.02e-07/0.007803, allocations: 0 / 0.6433 GB, free: 8.188 MB / 0.6043 GB Notification: Performance of Templates: time 0.002941/0.01074, allocations: 1.153 MB / 0.6444 GB, free: 7.043 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.440701065119356]