Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.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.04302/0.04302, 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.000945/0.000945, allocations: 90.72 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.001296/0.001296, 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.025/1.025, allocations: 177.2 MB / 219.2 MB, free: 10.08 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.00448/0.00448, allocations: 0.8262 MB / 276.5 MB, free: 0.7031 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.703/1.703, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear") translateModel(AixLib.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.338e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.QuadraticLinear): time 0.002133/0.002156, allocations: 1.596 MB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002865/0.002443, allocations: 119.5 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.002477, allocations: 0 / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 4.689e-05/0.002524, allocations: 7.938 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.226e-05/0.002587, allocations: 11.86 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.002772, allocations: 15.98 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.002852, allocations: 47.84 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.241e-05/0.002934, allocations: 7.984 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.202e-05/0.002996, allocations: 27.91 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.003037, allocations: 15.98 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.003053, allocations: 4 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.387e-05/0.003127, allocations: 23.98 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.003172, allocations: 15.92 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.003189, allocations: 8 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.00331, allocations: 63.73 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.003313, allocations: 0 / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003314, allocations: 0 / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.003321, allocations: 0 / 0.6398 GB, free: 12.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003332/0.003654, allocations: 260.7 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.003689, allocations: 15.98 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.003718, allocations: 12.92 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.471e-05/0.003803, allocations: 117.7 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.003812, allocations: 384 / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.003822, allocations: 384 / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.003941, allocations: 69.77 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.003947, allocations: 192 / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.003955, allocations: 4.359 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.003959, allocations: 4.312 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.003982, allocations: 11.92 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.004201, allocations: 169.9 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.061e-05/0.004262, allocations: 69.31 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.004277, allocations: 4.859 kB / 0.6405 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.004384, allocations: 32.14 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.004403, allocations: 34.5 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.004404, allocations: 0 / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001129/0.004517, allocations: 53.55 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.004545, allocations: 55.41 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.6e-05/0.004611, allocations: 126.7 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.00462, allocations: 25.7 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.004651, allocations: 92.11 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.004669, allocations: 11.91 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.004693, allocations: 13.72 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/0.00477, allocations: 322.8 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.004782, allocations: 2.828 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.004795, allocations: 7.938 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/0.004822, allocations: 15.67 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.004824, allocations: 4 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.503e-05/0.004879, allocations: 45.69 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.00489, allocations: 4 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.004894, allocations: 0 / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.004905, allocations: 3.938 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.004969, allocations: 8 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.004973, allocations: 7.969 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.004996, allocations: 12 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.005002, allocations: 0 / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 4.819e-05/0.00505, allocations: 112.6 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.005067, allocations: 11.98 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.447e-05/0.005141, allocations: 45.69 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.005144, allocations: 3.938 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.005145, allocations: 0 / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.005148, allocations: 0 / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.662e-05/0.005235, allocations: 81.81 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005236, allocations: 384 / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.005268, allocations: 11.98 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.00527, allocations: 0 / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.005274, allocations: 0 / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.005276, allocations: 4 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.005277, allocations: 0 / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.048e-05/0.005367, allocations: 194.1 kB / 0.6418 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.005377, allocations: 11.94 kB / 0.6418 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-06/0.005385, allocations: 0 / 0.6418 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.505e-05/0.00542, allocations: 7.938 kB / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.005451, allocations: 7.984 kB / 0.6418 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.005455, allocations: 3.938 kB / 0.6418 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.997e-05/0.005475, allocations: 24.83 kB / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005475, allocations: 0 / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001267/0.005602, allocations: 12 kB / 0.6419 GB, free: 9.766 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 (3): * Single equations (assignments): 3 * 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.0001029/0.005705, allocations: 80.42 kB / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.155e-05/0.005766, allocations: 20.78 kB / 0.642 GB, free: 9.652 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.005769, allocations: 0 / 0.642 GB, free: 9.652 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.005785, allocations: 8.859 kB / 0.642 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.005928, allocations: 11.94 kB / 0.642 GB, free: 9.629 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.006182, allocations: 146.2 kB / 0.6421 GB, free: 9.457 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.559e-05/0.006217, allocations: 71.28 kB / 0.6422 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.006237, allocations: 7.859 kB / 0.6422 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.006286, allocations: 55.36 kB / 0.6423 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of SimCode: time 7.72e-07/0.006287, allocations: 0 / 0.6423 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of Templates: time 0.002431/0.008718, allocations: 0.8027 MB / 0.643 GB, free: 8.504 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.sim & ./AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.423026093747467]