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.04555/0.04555, allocations: 9.13 MB / 28.99 MB, free: 0.8203 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.001029/0.001029, allocations: 101.9 kB / 35.34 MB, free: 1.078 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.001313/0.001313, allocations: 164.1 kB / 38.73 MB, free: 2.492 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.022/1.022, allocations: 177.2 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.004182/0.004182, allocations: 0.822 MB / 276.5 MB, free: 0.7422 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.69/1.69, 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.152e-06/1.152e-06, allocations: 0 / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.82e-05, allocations: 2.312 kB / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001254/0.001273, allocations: 0.6699 MB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0001893/0.001462, allocations: 35.88 kB / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.778e-05/0.00148, allocations: 0 / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.001504, allocations: 0 / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.24e-05/0.001536, allocations: 4 kB / 0.6387 GB, free: 13.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.001702, allocations: 15.92 kB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.02e-05/0.001762, allocations: 0 / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.136e-05/0.001794, allocations: 4 kB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.129e-05/0.001825, allocations: 4 kB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.001863, allocations: 3.984 kB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.001876, allocations: 4 kB / 0.6387 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.001956, allocations: 23.97 kB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.001982, allocations: 7.938 kB / 0.6387 GB, free: 13.24 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.469e-05/0.001997, allocations: 0 / 0.6387 GB, free: 13.24 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.9e-05/0.002076, allocations: 23.97 kB / 0.6387 GB, free: 13.22 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002078, allocations: 0 / 0.6387 GB, free: 13.22 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.02e-07/0.002078, allocations: 0 / 0.6387 GB, free: 13.22 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.002082, allocations: 0 / 0.6387 GB, free: 13.22 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.000414/0.002496, allocations: 254.3 kB / 0.639 GB, free: 12.94 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.002527, allocations: 15.98 kB / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.002552, allocations: 0.9375 kB / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.174e-05/0.002604, allocations: 105.8 kB / 0.6391 GB, free: 12.79 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.002613, allocations: 8.312 kB / 0.6391 GB, free: 12.79 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-06/0.002618, allocations: 4.312 kB / 0.6391 GB, free: 12.78 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.048e-05/0.002698, allocations: 70.77 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.002704, allocations: 192 / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.002711, allocations: 4.375 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.002733, allocations: 4.375 kB / 0.6392 GB, free: 12.69 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.002759, allocations: 41.62 kB / 0.6392 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.00294, allocations: 174.2 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.516e-05/0.002975, allocations: 48.22 kB / 0.6394 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.443e-05/0.00299, allocations: 30.56 kB / 0.6395 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-06/0.002992, allocations: 4 kB / 0.6395 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.003015, allocations: 42.55 kB / 0.6395 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.003016, allocations: 0 / 0.6395 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 0.0001034/0.003119, allocations: 110.8 kB / 0.6396 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.00315, allocations: 85.03 kB / 0.6397 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.364e-05/0.003204, allocations: 110.8 kB / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.003214, allocations: 29.7 kB / 0.6398 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.003255, allocations: 107.9 kB / 0.6399 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-06/0.00326, allocations: 4 kB / 0.6399 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.003292, allocations: 25.66 kB / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.003361, allocations: 323 kB / 0.6403 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.003376, allocations: 29.7 kB / 0.6403 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.003414, allocations: 76.56 kB / 0.6404 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.557e-05/0.00348, allocations: 133 kB / 0.6405 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.003482, allocations: 4 kB / 0.6405 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.457e-05/0.003566, allocations: 132.8 kB / 0.6406 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.003589, allocations: 33.7 kB / 0.6407 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.003594, allocations: 0 / 0.6407 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.003604, allocations: 4 kB / 0.6407 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.563e-05/0.003649, allocations: 11.98 kB / 0.6407 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.003652, allocations: 4.25 kB / 0.6407 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.003689, allocations: 8 kB / 0.6407 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.003699, allocations: 4 kB / 0.6407 GB, free: 10.91 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 5.751e-05/0.003756, allocations: 150.2 kB / 0.6408 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.003773, allocations: 11.92 kB / 0.6408 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.209e-05/0.003785, allocations: 7.453 kB / 0.6409 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.003787, allocations: 0 / 0.6409 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.003788, allocations: 3.938 kB / 0.6409 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.003792, allocations: 8 kB / 0.6409 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.562e-05/0.003857, allocations: 61.91 kB / 0.6409 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.003858, allocations: 0 / 0.6409 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-07/0.003858, allocations: 4 kB / 0.6409 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.003859, allocations: 0 / 0.6409 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-06/0.003863, allocations: 0 / 0.6409 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.003864, allocations: 3.938 kB / 0.6409 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.003866, allocations: 3.984 kB / 0.6409 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.706e-05/0.003943, allocations: 186.9 kB / 0.6411 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-06/0.00395, allocations: 3.953 kB / 0.6411 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.003957, allocations: 4 kB / 0.6411 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.879e-05/0.003986, allocations: 3.938 kB / 0.6411 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.863e-06/0.003993, allocations: 0 / 0.6411 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.003997, allocations: 8.031 kB / 0.6411 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.389e-05/0.004011, allocations: 20.83 kB / 0.6412 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.004011, allocations: 0 / 0.6412 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001337/0.004145, allocations: 8 kB / 0.6412 GB, free: 10.36 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.86e-05/0.004243, allocations: 80.42 kB / 0.6412 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 9.394e-05/0.004337, allocations: 139.6 kB / 0.6414 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.00434, allocations: 0 / 0.6414 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.004367, allocations: 94.39 kB / 0.6415 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.274e-05/0.00446, allocations: 12 kB / 0.6415 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001648/0.004625, allocations: 133.2 kB / 0.6416 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.004657, allocations: 59.22 kB / 0.6417 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.112e-05/0.004678, allocations: 3.984 kB / 0.6417 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.004722, allocations: 63.38 kB / 0.6417 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of SimCode: time 5.11e-07/0.004723, allocations: 0 / 0.6417 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of Templates: time 0.002012/0.006735, allocations: 0.5983 MB / 0.6423 GB, free: 9.078 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.315855226945132]