Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0401/0.0401, 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.001193/0.001193, 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.001101/0.001101, 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 0.9768/0.9768, allocations: 177.2 MB / 219.2 MB, free: 10.09 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.003858/0.003858, allocations: 0.8183 MB / 276.5 MB, free: 0.7188 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.555/1.555, 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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.451e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001303/0.001318, allocations: 0.6462 MB / 0.6386 GB, free: 13.4 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0004728/0.001791, allocations: 334.7 kB / 0.6389 GB, free: 13.07 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.922e-05/0.00181, allocations: 0 / 0.6389 GB, free: 13.07 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.001824, allocations: 3.938 kB / 0.6389 GB, free: 13.07 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.594e-05/0.00185, allocations: 3.938 kB / 0.6389 GB, free: 13.07 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.002157, allocations: 119.5 kB / 0.639 GB, free: 12.95 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.076e-05/0.002208, allocations: 27.91 kB / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 2.767e-05/0.002236, allocations: 0 / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.984e-05/0.002286, allocations: 23.92 kB / 0.639 GB, free: 12.9 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.336e-05/0.002329, allocations: 7.984 kB / 0.6391 GB, free: 12.89 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.00234, allocations: 0 / 0.6391 GB, free: 12.89 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.002574, allocations: 259.6 kB / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.002589, allocations: 7.984 kB / 0.6393 GB, free: 12.63 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.338e-05/0.002602, allocations: 11.92 kB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.00275, allocations: 123.7 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002751, allocations: 0 / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002752, allocations: 0 / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.665e-06/0.002754, allocations: 0 / 0.6394 GB, free: 12.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002443/0.002999, allocations: 264.4 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.003027, allocations: 15.98 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.00308, allocations: 9.266 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.969e-05/0.003139, allocations: 113.7 kB / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.003147, allocations: 384 / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.003165, allocations: 8.375 kB / 0.6398 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.767e-05/0.003242, allocations: 105.5 kB / 0.6399 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.00325, allocations: 4.188 kB / 0.6399 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.003257, allocations: 4.375 kB / 0.6399 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.003261, allocations: 4.359 kB / 0.6399 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.12e-05/0.003282, allocations: 11.94 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.784e-05/0.00336, allocations: 65.05 kB / 0.64 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.003429, allocations: 54.55 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.003446, allocations: 16.86 kB / 0.6401 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/0.003699, allocations: 75.94 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.003718, allocations: 30.56 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.003719, allocations: 0 / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.000713/0.004432, allocations: 451.6 kB / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.004456, allocations: 59.41 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.33e-05/0.0045, allocations: 110.6 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.004509, allocations: 25.7 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.739e-05/0.004527, allocations: 80.14 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.004555, allocations: 39.67 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.004583, allocations: 25.72 kB / 0.6409 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.004648, allocations: 318.8 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.00466, allocations: 8 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/0.004676, allocations: 11.98 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.004715, allocations: 45.08 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.004716, allocations: 4 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.953e-05/0.004785, allocations: 69.61 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/0.004794, allocations: 4 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.004797, allocations: 0 / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.004805, allocations: 0 / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.349e-05/0.004859, allocations: 23.98 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.004862, allocations: 3.938 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.004873, allocations: 4 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.00488, allocations: 4 kB / 0.6414 GB, free: 10.25 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 (13): * Single equations (assignments): 13 * 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.549e-05/0.004925, allocations: 117.8 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.004942, allocations: 11.98 kB / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.332e-05/0.005025, allocations: 81.62 kB / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.005026, allocations: 0 / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.005027, allocations: 0 / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.005032, allocations: 7.922 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.005205, allocations: 226.8 kB / 0.6418 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.005206, allocations: 0 / 0.6418 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.719e-05/0.005263, allocations: 24 kB / 0.6419 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.005265, allocations: 192 / 0.6419 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.00527, allocations: 0 / 0.6419 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.00527, allocations: 4 kB / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.005273, allocations: 7.922 kB / 0.6419 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.005401, allocations: 191.4 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.005417, allocations: 7.953 kB / 0.6421 GB, free: 9.527 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.005428, allocations: 8 kB / 0.6421 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.354e-05/0.005461, allocations: 0 / 0.6421 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.005475, allocations: 11.92 kB / 0.6421 GB, free: 9.508 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.00548, allocations: 4 kB / 0.6421 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.877e-06/0.005489, allocations: 12.84 kB / 0.6421 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.005489, allocations: 0 / 0.6421 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001542/0.005643, allocations: 39.94 kB / 0.6421 GB, free: 9.449 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.000137/0.00578, allocations: 132.3 kB / 0.6423 GB, free: 9.309 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.352e-05/0.005843, allocations: 48.72 kB / 0.6423 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.005846, allocations: 4 kB / 0.6423 GB, free: 9.254 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.141e-05/0.005867, allocations: 25.28 kB / 0.6423 GB, free: 9.227 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.448e-05/0.005962, allocations: 11.94 kB / 0.6424 GB, free: 9.215 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/0.006171, allocations: 164.5 kB / 0.6425 GB, free: 9.027 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.006201, allocations: 59.22 kB / 0.6426 GB, free: 8.949 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.306e-05/0.006234, allocations: 15.98 kB / 0.6426 GB, free: 8.934 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.006275, allocations: 63.38 kB / 0.6426 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of SimCode: time 3.51e-07/0.006276, allocations: 0 / 0.6426 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of Templates: time 0.002686/0.008962, allocations: 1.624 MB / 0.6442 GB, free: 7.242 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.347532003186643]