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.04306/0.04306, 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.0009623/0.0009623, allocations: 90.72 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.001239/0.001239, 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.012/1.012, allocations: 177.1 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.003987/0.003987, allocations: 0.8293 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.702/1.702, allocations: 274.9 MB / 0.5419 GB, free: 0.6562 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.573e-06/1.573e-06, allocations: 0 / 0.6379 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.628e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.RegNonZeroPower): time 0.002003/0.002029, allocations: 1.499 MB / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0005917/0.002621, allocations: 374.5 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.002653, allocations: 3.938 kB / 0.6397 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.00268, allocations: 3.938 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.933e-05/0.002729, allocations: 0 / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.003095, allocations: 115.5 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.761e-05/0.003163, allocations: 35.84 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.169e-05/0.003234, allocations: 0 / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.00329, allocations: 15.98 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.671e-05/0.003326, allocations: 11.98 kB / 0.6399 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.003341, allocations: 4 kB / 0.6399 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.003614, allocations: 251.7 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.00363, allocations: 7.984 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.003648, allocations: 11.92 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.00383, allocations: 127.6 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.003833, allocations: 4 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.01e-07/0.003834, allocations: 0 / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003838, allocations: 0 / 0.6402 GB, free: 11.69 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.0003279/0.004165, allocations: 260.7 kB / 0.6405 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.004201, allocations: 19.98 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.004273, allocations: 0.9375 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.004363, allocations: 109.8 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.004374, allocations: 384 / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.004386, allocations: 8.375 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.004501, allocations: 62.88 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.004509, allocations: 192 / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.004515, allocations: 384 / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.004521, allocations: 4.312 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.977e-05/0.00454, allocations: 7.938 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.00489, allocations: 152.2 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.233e-05/0.004932, allocations: 22.58 kB / 0.6409 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.189e-05/0.004944, allocations: 4.859 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002591/0.005203, allocations: 72.05 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.005225, allocations: 38.5 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.005226, allocations: 0 / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001202/0.005346, allocations: 37.69 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.005373, allocations: 55.34 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.157e-05/0.005425, allocations: 114.7 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.005434, allocations: 25.7 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.005458, allocations: 80.14 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.005474, allocations: 7.953 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.005502, allocations: 9.719 kB / 0.6413 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.005576, allocations: 322.9 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-06/0.005584, allocations: 4 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-06/0.005593, allocations: 4 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.236e-05/0.005615, allocations: 12.8 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.005617, allocations: 0 / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.899e-05/0.005676, allocations: 41.69 kB / 0.6417 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.005688, allocations: 4 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.005692, allocations: 0 / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.005704, allocations: 0 / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.005759, allocations: 12.02 kB / 0.6417 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.005762, allocations: 8 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.368e-05/0.005775, allocations: 0 / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.005779, allocations: 0 / 0.6417 GB, free: 10.05 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 4.78e-05/0.005827, allocations: 113.8 kB / 0.6418 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.005846, allocations: 3.938 kB / 0.6418 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.005905, allocations: 49.25 kB / 0.6418 GB, free: 9.879 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005906, allocations: 3.938 kB / 0.6418 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.005909, allocations: 3.938 kB / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.005911, allocations: 0 / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.263e-05/0.005993, allocations: 77.91 kB / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005994, allocations: 0 / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.006012, allocations: 4.25 kB / 0.6419 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.006013, allocations: 0 / 0.6419 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.00602, allocations: 7.984 kB / 0.6419 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.006021, allocations: 0 / 0.6419 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.006023, allocations: 3.984 kB / 0.6419 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.048e-05/0.006103, allocations: 135.4 kB / 0.6421 GB, free: 9.613 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.006111, allocations: 7.938 kB / 0.6421 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-06/0.006119, allocations: 0 / 0.6421 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.762e-05/0.006147, allocations: 8.031 kB / 0.6421 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.006176, allocations: 4 kB / 0.6421 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.00618, allocations: 3.984 kB / 0.6421 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.593e-05/0.006196, allocations: 20.78 kB / 0.6421 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006196, allocations: 0 / 0.6421 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001373/0.006334, allocations: 12 kB / 0.6421 GB, free: 9.555 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.0001631/0.006497, allocations: 96.28 kB / 0.6422 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.036e-05/0.006557, allocations: 8.859 kB / 0.6422 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.00656, allocations: 0 / 0.6422 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-05/0.006575, allocations: 16.86 kB / 0.6422 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.006721, allocations: 8 kB / 0.6422 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.006955, allocations: 108.7 kB / 0.6424 GB, free: 9.277 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.309e-05/0.006988, allocations: 55.36 kB / 0.6424 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.45e-05/0.007003, allocations: 0 / 0.6424 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.007044, allocations: 51.38 kB / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of SimCode: time 5.81e-07/0.007045, allocations: 0 / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of Templates: time 0.002428/0.009473, allocations: 0.7886 MB / 0.6432 GB, free: 8.363 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 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.406283938791603]