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.04803/0.04803, allocations: 9.131 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.0007595/0.0007595, allocations: 87.28 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.00105/0.00105, allocations: 172.1 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 0.9786/0.9786, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.004107/0.004107, allocations: 0.8249 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.722/1.722, 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 2.064e-06/2.064e-06, allocations: 0 / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.82e-05, allocations: 2.312 kB / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001313/0.001331, allocations: 0.8083 MB / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008634/0.002195, allocations: 0.878 MB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.002244, allocations: 0 / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.002429, allocations: 63.78 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.245e-05/0.002482, allocations: 35.78 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 6.184e-05/0.002543, allocations: 19.97 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.492e-05/0.002638, allocations: 95.67 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.002725, allocations: 12 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.612e-05/0.002801, allocations: 59.86 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.002905, allocations: 67.86 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.002925, allocations: 8 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.002937, allocations: 12 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.002984, allocations: 43.81 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.003013, allocations: 27.92 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.305e-05/0.003106, allocations: 79.72 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.003108, allocations: 0 / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003108, allocations: 4 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003112, allocations: 0 / 0.6401 GB, free: 11.8 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.0003406/0.003452, allocations: 324.4 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.003482, allocations: 19.98 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.003509, allocations: 12.92 kB / 0.6404 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.00362, allocations: 137.6 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.003629, allocations: 12.31 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.003639, allocations: 8.312 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.00379, allocations: 115.4 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.003796, allocations: 192 / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.003804, allocations: 384 / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.003808, allocations: 384 / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.003857, allocations: 25.59 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.004146, allocations: 312.8 kB / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.004253, allocations: 158.7 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.004284, allocations: 21.72 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.004293, allocations: 4 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.004311, allocations: 30.56 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.004312, allocations: 0 / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001468/0.004459, allocations: 73.95 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.004489, allocations: 77.11 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.7e-05/0.004556, allocations: 158.6 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.004566, allocations: 29.7 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.004596, allocations: 92.11 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.004621, allocations: 31.73 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.004652, allocations: 21.7 kB / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.004721, allocations: 322.8 kB / 0.642 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.004741, allocations: 6.828 kB / 0.642 GB, free: 9.652 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/0.004769, allocations: 29.62 kB / 0.642 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.995e-05/0.004819, allocations: 46.17 kB / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004821, allocations: 0 / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.329e-05/0.004894, allocations: 67.27 kB / 0.6421 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.004905, allocations: 15.91 kB / 0.6422 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.00491, allocations: 3.938 kB / 0.6422 GB, free: 9.469 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.004919, allocations: 0 / 0.6422 GB, free: 9.469 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.004999, allocations: 23.92 kB / 0.6422 GB, free: 9.445 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.005002, allocations: 0 / 0.6422 GB, free: 9.445 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.636e-05/0.005039, allocations: 15.92 kB / 0.6422 GB, free: 9.43 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.005046, allocations: 4 kB / 0.6422 GB, free: 9.426 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 0.000192/0.005238, allocations: 112.7 kB / 0.6423 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.005267, allocations: 15.92 kB / 0.6423 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.00529, allocations: 24.28 kB / 0.6424 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.005293, allocations: 4 kB / 0.6424 GB, free: 9.266 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.005296, allocations: 4 kB / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.005299, allocations: 0 / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.005426, allocations: 97.8 kB / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005427, allocations: 0 / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/0.005483, allocations: 19.98 kB / 0.6425 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.005485, allocations: 0 / 0.6425 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.005491, allocations: 4 kB / 0.6425 GB, free: 9.125 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.005492, allocations: 0 / 0.6425 GB, free: 9.125 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.005493, allocations: 7.938 kB / 0.6425 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.005621, allocations: 325.4 kB / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.00563, allocations: 7.953 kB / 0.6428 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.005642, allocations: 7.984 kB / 0.6428 GB, free: 8.766 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.005708, allocations: 8 kB / 0.6428 GB, free: 8.758 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.005745, allocations: 11.92 kB / 0.6428 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.005751, allocations: 8 kB / 0.6428 GB, free: 8.738 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.285e-05/0.005773, allocations: 32.81 kB / 0.6429 GB, free: 8.703 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.005773, allocations: 0 / 0.6429 GB, free: 8.703 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001461/0.00592, allocations: 20 kB / 0.6429 GB, free: 8.684 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 5.602e-05/0.005976, allocations: 76.42 kB / 0.643 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.717e-05/0.006053, allocations: 33.02 kB / 0.643 GB, free: 8.562 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.006055, allocations: 4 kB / 0.643 GB, free: 8.559 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.227e-05/0.006087, allocations: 24.97 kB / 0.643 GB, free: 8.531 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.006275, allocations: 15.98 kB / 0.643 GB, free: 8.516 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.00658, allocations: 244.5 kB / 0.6433 GB, free: 8.242 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.323e-05/0.006623, allocations: 75.33 kB / 0.6433 GB, free: 8.148 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.733e-05/0.00665, allocations: 0 / 0.6433 GB, free: 8.148 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.006719, allocations: 67.3 kB / 0.6434 GB, free: 8.082 MB / 0.6043 GB Notification: Performance of SimCode: time 8.12e-07/0.00672, allocations: 0 / 0.6434 GB, free: 8.082 MB / 0.6043 GB Notification: Performance of Templates: time 0.00239/0.009109, allocations: 1.153 MB / 0.6445 GB, free: 6.938 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.345935713034123]