Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.04461/0.04461, allocations: 9.138 MB / 29 MB, free: 6.113 MB / 24.77 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.0008808/0.0008808, allocations: 94.64 kB / 35.33 MB, free: 0.7812 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.001081/0.001081, allocations: 166.3 kB / 38.73 MB, free: 2.148 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.027/1.027, allocations: 177.2 MB / 219.2 MB, free: 10.13 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.004217/0.004217, allocations: 0.8221 MB / 276.5 MB, free: 0.7539 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.656/1.656, 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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.163e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001689/0.00171, allocations: 0.6229 MB / 0.6385 GB, free: 13.44 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.000224/0.001934, allocations: 31.83 kB / 0.6386 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.907e-05/0.001953, allocations: 0 / 0.6386 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.001987, allocations: 0 / 0.6386 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.812e-05/0.002025, allocations: 4 kB / 0.6386 GB, free: 13.4 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.002242, allocations: 11.98 kB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.509e-05/0.002308, allocations: 3.984 kB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.002346, allocations: 7.984 kB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.002382, allocations: 8 kB / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.002425, allocations: 4 kB / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.002439, allocations: 0 / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.803e-05/0.002518, allocations: 19.92 kB / 0.6386 GB, free: 13.35 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.002547, allocations: 7.984 kB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.002564, allocations: 0 / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.002681, allocations: 23.97 kB / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002683, allocations: 0 / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002684, allocations: 0 / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.916e-06/0.002686, allocations: 0 / 0.6386 GB, free: 13.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002179/0.002904, allocations: 254.3 kB / 0.6389 GB, free: 13.04 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.002933, allocations: 15.98 kB / 0.6389 GB, free: 13.02 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.002957, allocations: 8.875 kB / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.287e-05/0.00301, allocations: 109.8 kB / 0.639 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.003019, allocations: 4.375 kB / 0.639 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.003028, allocations: 4.359 kB / 0.639 GB, free: 12.87 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.504e-05/0.003113, allocations: 70.77 kB / 0.6391 GB, free: 12.79 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.003118, allocations: 192 / 0.6391 GB, free: 12.79 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.003124, allocations: 384 / 0.6391 GB, free: 12.79 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.003147, allocations: 8.375 kB / 0.6391 GB, free: 12.78 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.003172, allocations: 41.58 kB / 0.6391 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.003356, allocations: 182.2 kB / 0.6393 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.852e-05/0.003395, allocations: 40.28 kB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.003412, allocations: 34.62 kB / 0.6394 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-06/0.003415, allocations: 0 / 0.6394 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.003435, allocations: 34.5 kB / 0.6394 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.003436, allocations: 4 kB / 0.6394 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 0.0001176/0.003554, allocations: 114.7 kB / 0.6395 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.003589, allocations: 81.11 kB / 0.6396 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/0.003651, allocations: 114.8 kB / 0.6397 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.003659, allocations: 25.7 kB / 0.6397 GB, free: 12 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.739e-05/0.003707, allocations: 116 kB / 0.6399 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-06/0.003712, allocations: 0 / 0.6399 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.003742, allocations: 25.67 kB / 0.6399 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.528e-05/0.003817, allocations: 314.8 kB / 0.6402 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.003835, allocations: 37.69 kB / 0.6402 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/0.003877, allocations: 72.58 kB / 0.6403 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.003949, allocations: 137 kB / 0.6404 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.003951, allocations: 0 / 0.6404 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.648e-05/0.004037, allocations: 136.8 kB / 0.6405 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.00406, allocations: 29.7 kB / 0.6406 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.004066, allocations: 4 kB / 0.6406 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.00408, allocations: 4.25 kB / 0.6406 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.668e-05/0.004127, allocations: 15.94 kB / 0.6406 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.004131, allocations: 4 kB / 0.6406 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.004173, allocations: 4 kB / 0.6406 GB, free: 11 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.004186, allocations: 7.984 kB / 0.6406 GB, free: 11 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 6.477e-05/0.00425, allocations: 146.3 kB / 0.6408 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.004265, allocations: 11.88 kB / 0.6408 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.216e-05/0.004277, allocations: 3.469 kB / 0.6408 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.004279, allocations: 0 / 0.6408 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.004281, allocations: 0 / 0.6408 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.004283, allocations: 0 / 0.6408 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.254e-05/0.004356, allocations: 73.88 kB / 0.6408 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.004356, allocations: 0 / 0.6408 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-06/0.004358, allocations: 4 kB / 0.6408 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.004358, allocations: 3.938 kB / 0.6408 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-06/0.004362, allocations: 4 kB / 0.6408 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.004363, allocations: 3.938 kB / 0.6409 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.004364, allocations: 0 / 0.6409 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.933e-05/0.004443, allocations: 183 kB / 0.641 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.00445, allocations: 3.953 kB / 0.641 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-06/0.004457, allocations: 0 / 0.641 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.051e-05/0.004487, allocations: 15.95 kB / 0.641 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-06/0.004496, allocations: 4 kB / 0.6411 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.004499, allocations: 0 / 0.6411 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.249e-05/0.004512, allocations: 12.86 kB / 0.6411 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004512, allocations: 0 / 0.6411 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001332/0.004645, allocations: 8 kB / 0.6411 GB, free: 10.46 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.638e-05/0.004741, allocations: 84.41 kB / 0.6412 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 9.615e-05/0.004837, allocations: 143.9 kB / 0.6413 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.004841, allocations: 4 kB / 0.6413 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.673e-05/0.004868, allocations: 89.95 kB / 0.6414 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.416e-05/0.004952, allocations: 3.938 kB / 0.6414 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001704/0.005122, allocations: 141.2 kB / 0.6415 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.215e-05/0.005154, allocations: 59.2 kB / 0.6416 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.066e-05/0.005175, allocations: 4 kB / 0.6416 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.005216, allocations: 59.56 kB / 0.6416 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of SimCode: time 4.31e-07/0.005216, allocations: 0 / 0.6416 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of Templates: time 0.001988/0.007204, allocations: 0.6021 MB / 0.6422 GB, free: 9.168 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.396062775049359]