Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.04499/0.04499, 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.001344/0.001344, allocations: 87.28 kB / 35.32 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.001638/0.001638, allocations: 163.6 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.015/1.015, allocations: 177.1 MB / 219.2 MB, free: 10.07 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.004236/0.004236, allocations: 0.8219 MB / 276.5 MB, free: 0.7109 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.62/1.62, 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.638 GB, free: 14.02 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.42e-05, allocations: 6.312 kB / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001923/0.001947, allocations: 0.6738 MB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0006628/0.002609, allocations: 318.7 kB / 0.6389 GB, free: 13.03 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.002633, allocations: 0 / 0.6389 GB, free: 13.03 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.002646, allocations: 0 / 0.6389 GB, free: 13.03 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.266e-05/0.002669, allocations: 3.938 kB / 0.6389 GB, free: 13.02 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.003069, allocations: 95.62 kB / 0.639 GB, free: 12.93 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.003119, allocations: 7.984 kB / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.003158, allocations: 4 kB / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.007e-05/0.003198, allocations: 11.98 kB / 0.639 GB, free: 12.91 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.584e-05/0.003253, allocations: 7.938 kB / 0.639 GB, free: 12.9 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.003266, allocations: 0 / 0.639 GB, free: 12.9 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.003717, allocations: 279.5 kB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.003729, allocations: 0 / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.003744, allocations: 8 kB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.003948, allocations: 119.6 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.003952, allocations: 8 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003953, allocations: 0 / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003956, allocations: 0 / 0.6394 GB, free: 12.49 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002695/0.004225, allocations: 240.4 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.004264, allocations: 15.98 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.004331, allocations: 0.9375 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.032e-05/0.004421, allocations: 109.8 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.004431, allocations: 384 / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.004448, allocations: 4.375 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.004534, allocations: 55.97 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.004541, allocations: 4.188 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.004549, allocations: 4.375 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.004555, allocations: 4.312 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.004572, allocations: 11.86 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.837e-05/0.00467, allocations: 57.05 kB / 0.6399 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.853e-05/0.004709, allocations: 18.61 kB / 0.6399 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.591e-05/0.004725, allocations: 12.92 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/0.005106, allocations: 79.92 kB / 0.64 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.005133, allocations: 30.56 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.005134, allocations: 0 / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0004378/0.005572, allocations: 173.6 kB / 0.6402 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.005599, allocations: 59.62 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.005661, allocations: 106.6 kB / 0.6404 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.005675, allocations: 33.7 kB / 0.6404 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.005702, allocations: 80.14 kB / 0.6405 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.005722, allocations: 3.953 kB / 0.6405 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.005752, allocations: 13.72 kB / 0.6405 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.005848, allocations: 322.8 kB / 0.6408 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.217e-06/0.005857, allocations: 4 kB / 0.6408 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.981e-05/0.005877, allocations: 13.72 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.118e-05/0.005918, allocations: 29.83 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.005919, allocations: 0 / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.773e-05/0.006007, allocations: 41.64 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.006018, allocations: 4 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.006025, allocations: 7.984 kB / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.006038, allocations: 0 / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.082e-05/0.006079, allocations: 4 kB / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.006083, allocations: 4 kB / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.006099, allocations: 0 / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.006106, allocations: 3.938 kB / 0.6409 GB, free: 10.77 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 (4): * Single equations (assignments): 4 * 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 6.254e-05/0.006168, allocations: 117.8 kB / 0.641 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.006198, allocations: 4 kB / 0.641 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.35e-05/0.006291, allocations: 45.36 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.006293, allocations: 192 / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.006295, allocations: 0 / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.0063, allocations: 3.984 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.442e-05/0.006374, allocations: 81.77 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006376, allocations: 0 / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.006416, allocations: 11.98 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.006418, allocations: 0 / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.006423, allocations: 0 / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.006424, allocations: 0 / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006426, allocations: 0 / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.006537, allocations: 76.95 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-06/0.006542, allocations: 0 / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.006552, allocations: 3.984 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.006573, allocations: 0 / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.00659, allocations: 12 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.006595, allocations: 0 / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.426e-06/0.006603, allocations: 8.891 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1e-07/0.006603, allocations: 0 / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002004/0.006804, allocations: 23.94 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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.0001737/0.006977, allocations: 112.3 kB / 0.6414 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.256e-05/0.00704, allocations: 20.8 kB / 0.6414 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.007044, allocations: 4 kB / 0.6414 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.628e-05/0.007061, allocations: 12.84 kB / 0.6414 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.751e-05/0.007138, allocations: 11.81 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.007335, allocations: 105 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.00737, allocations: 59.22 kB / 0.6416 GB, free: 9.957 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.007399, allocations: 3.984 kB / 0.6416 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.007446, allocations: 55.38 kB / 0.6417 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of SimCode: time 6.12e-07/0.007446, allocations: 0 / 0.6417 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of Templates: time 0.003262/0.01071, allocations: 1.021 MB / 0.6427 GB, free: 8.875 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4572325251065195]