Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.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.0555/0.0555, 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.001052/0.001052, 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.001709/0.001709, 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.041/1.041, 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.004192/0.004192, allocations: 0.8182 MB / 276.5 MB, free: 0.7305 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.737/1.737, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower") translateModel(AixLib.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.047e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.RegNonZeroPower): time 0.00245/0.00248, allocations: 1.553 MB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0005941/0.003074, allocations: 370.5 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.003106, allocations: 0 / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.003133, allocations: 4 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.425e-05/0.003187, allocations: 7.875 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.003581, allocations: 87.62 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.76e-05/0.003648, allocations: 27.92 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.003737, allocations: 11.98 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.961e-05/0.003797, allocations: 11.94 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.85e-05/0.003835, allocations: 7.984 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.003851, allocations: 0 / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.004218, allocations: 291.5 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.004233, allocations: 0 / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.004251, allocations: 15.92 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.004439, allocations: 127.7 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.004442, allocations: 3.938 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004443, allocations: 4 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.004446, allocations: 0 / 0.6403 GB, free: 11.53 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002867/0.004733, allocations: 248.7 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.004768, allocations: 19.97 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.004831, allocations: 4.938 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.776e-05/0.004909, allocations: 113.8 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.004916, allocations: 384 / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.004923, allocations: 4.375 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.865e-05/0.005022, allocations: 46.95 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.005027, allocations: 4.188 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.005033, allocations: 384 / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.005037, allocations: 384 / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.373e-05/0.005061, allocations: 15.86 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.005255, allocations: 152.2 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.098e-05/0.005296, allocations: 18.58 kB / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.005309, allocations: 8.859 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.005579, allocations: 75.98 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.005602, allocations: 34.56 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.005604, allocations: 0 / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001237/0.005727, allocations: 45.62 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.005752, allocations: 55.34 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.287e-05/0.005805, allocations: 106.7 kB / 0.6413 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.005815, allocations: 25.7 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.005846, allocations: 84.12 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.005864, allocations: 11.95 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.005888, allocations: 9.719 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.005976, allocations: 314.8 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-06/0.005986, allocations: 4.234 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.005995, allocations: 4.125 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.006024, allocations: 20.84 kB / 0.6417 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006027, allocations: 3.938 kB / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.257e-05/0.006089, allocations: 37.69 kB / 0.6418 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.006101, allocations: 4 kB / 0.6418 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006106, allocations: 0 / 0.6418 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.006117, allocations: 3.984 kB / 0.6418 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.00617, allocations: 7.938 kB / 0.6418 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.006174, allocations: 7.984 kB / 0.6418 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.006192, allocations: 8.016 kB / 0.6418 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.006196, allocations: 4 kB / 0.6418 GB, free: 9.895 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 (2): * Single equations (assignments): 2 * 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 5.607e-05/0.006252, allocations: 117.8 kB / 0.6419 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.006278, allocations: 0 / 0.6419 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.006344, allocations: 45.25 kB / 0.6419 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006346, allocations: 0 / 0.6419 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.006348, allocations: 3.938 kB / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.006351, allocations: 0 / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.414e-05/0.006435, allocations: 69.89 kB / 0.642 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006436, allocations: 0 / 0.642 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.006459, allocations: 11.97 kB / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.00646, allocations: 0 / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-06/0.006464, allocations: 0 / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006465, allocations: 0 / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006466, allocations: 0 / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.902e-05/0.006555, allocations: 143.4 kB / 0.6422 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.006562, allocations: 3.953 kB / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-06/0.00657, allocations: 0 / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.203e-05/0.006602, allocations: 7.984 kB / 0.6422 GB, free: 9.453 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.006626, allocations: 0 / 0.6422 GB, free: 9.453 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.006629, allocations: 0 / 0.6422 GB, free: 9.453 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.699e-05/0.006646, allocations: 32.8 kB / 0.6422 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.006646, allocations: 0 / 0.6422 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001331/0.006779, allocations: 12 kB / 0.6422 GB, free: 9.406 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 (2): * Single equations (assignments): 2 * 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.0001327/0.006912, allocations: 96.34 kB / 0.6423 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.142e-05/0.006963, allocations: 8.859 kB / 0.6423 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.006966, allocations: 0 / 0.6423 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-05/0.006979, allocations: 8.859 kB / 0.6423 GB, free: 9.277 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.007118, allocations: 8.062 kB / 0.6423 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.007344, allocations: 108.8 kB / 0.6424 GB, free: 9.137 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.344e-05/0.007377, allocations: 59.34 kB / 0.6425 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.593e-05/0.007393, allocations: 0 / 0.6425 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.007434, allocations: 51.38 kB / 0.6425 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of SimCode: time 7.31e-07/0.007435, allocations: 0 / 0.6425 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of Templates: time 0.002398/0.009832, allocations: 0.7846 MB / 0.6433 GB, free: 8.223 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.sim & ./AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4521776381880045]