Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXRegularized.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.07239/0.07239, allocations: 9.129 MB / 28.99 MB, free: 340 kB / 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.001142/0.001142, allocations: 91.27 kB / 35.33 MB, free: 0.9375 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.001361/0.001361, allocations: 165.1 kB / 38.73 MB, free: 2.398 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.019/1.019, 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.004315/0.004315, allocations: 0.8257 MB / 276.5 MB, free: 0.7461 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.616/1.616, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(AixLib.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.497e-06/3.497e-06, allocations: 4 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.632e-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.InverseXRegularized): time 0.002277/0.002304, allocations: 0.6578 MB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.004519, allocations: 1.477 MB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.004557, allocations: 0 / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.929e-05/0.004576, allocations: 3.938 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.717e-05/0.004663, allocations: 7.922 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.0052, allocations: 131.4 kB / 0.6402 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.026e-05/0.00527, allocations: 23.92 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.005315, allocations: 4 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.005377, allocations: 15.92 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.005447, allocations: 23.91 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.005464, allocations: 0 / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.005886, allocations: 243.5 kB / 0.6405 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.005911, allocations: 15.92 kB / 0.6405 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.005934, allocations: 7.938 kB / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.006258, allocations: 203.4 kB / 0.6407 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.006262, allocations: 0 / 0.6407 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006263, allocations: 0 / 0.6407 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.006267, allocations: 0 / 0.6407 GB, free: 11.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004265/0.006693, allocations: 268.5 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.006737, allocations: 11.98 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.007, allocations: 52.81 kB / 0.641 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.00711, allocations: 125.6 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.007129, allocations: 4.375 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.007151, allocations: 4.375 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.00733, allocations: 70.92 kB / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.007341, allocations: 192 / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.007349, allocations: 384 / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.007358, allocations: 3.938 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.007404, allocations: 19.98 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.007523, allocations: 61.05 kB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 9.306e-05/0.007616, allocations: 38.5 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.00765, allocations: 20.98 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.007665, allocations: 3.984 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.007692, allocations: 38.56 kB / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.007694, allocations: 0 / 0.6414 GB, free: 10.43 MB / 0.6043 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.001417/0.009111, allocations: 357.7 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.009148, allocations: 55.34 kB / 0.6418 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.009494, allocations: 114.7 kB / 0.6419 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.009513, allocations: 25.7 kB / 0.6419 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.00954, allocations: 80.14 kB / 0.642 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.009588, allocations: 39.67 kB / 0.642 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.009645, allocations: 25.7 kB / 0.642 GB, free: 9.699 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.009734, allocations: 314.8 kB / 0.6423 GB, free: 9.383 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.992e-05/0.009784, allocations: 20.17 kB / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.046e-05/0.009824, allocations: 16 kB / 0.6424 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.327e-05/0.009907, allocations: 44.98 kB / 0.6424 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.009908, allocations: 4 kB / 0.6424 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001359/0.01004, allocations: 65.62 kB / 0.6425 GB, free: 9.227 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.01006, allocations: 4 kB / 0.6425 GB, free: 9.223 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.01007, allocations: 3.984 kB / 0.6425 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.01008, allocations: 0 / 0.6425 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.01026, allocations: 43.91 kB / 0.6425 GB, free: 9.176 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.01026, allocations: 0 / 0.6425 GB, free: 9.176 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/0.01035, allocations: 23.97 kB / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.01036, allocations: 0 / 0.6425 GB, free: 9.152 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 (9): * Single equations (assignments): 9 * 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 7.902e-05/0.01044, allocations: 121.8 kB / 0.6427 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.01047, allocations: 7.984 kB / 0.6427 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.0105, allocations: 8.438 kB / 0.6427 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01051, allocations: 0 / 0.6427 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.01051, allocations: 3.938 kB / 0.6427 GB, free: 9 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.01051, allocations: 0 / 0.6427 GB, free: 9 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.01108, allocations: 308.3 kB / 0.643 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.01108, allocations: 0 / 0.643 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.01121, allocations: 31.97 kB / 0.643 GB, free: 8.637 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.01121, allocations: 7.938 kB / 0.643 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01123, allocations: 12.05 kB / 0.643 GB, free: 8.617 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01123, allocations: 3.938 kB / 0.643 GB, free: 8.613 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.01123, allocations: 4 kB / 0.643 GB, free: 8.609 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.0114, allocations: 165.2 kB / 0.6432 GB, free: 8.426 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.01141, allocations: 7.953 kB / 0.6432 GB, free: 8.418 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.01143, allocations: 7.938 kB / 0.6432 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.01156, allocations: 27.97 kB / 0.6432 GB, free: 8.383 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.0116, allocations: 11.92 kB / 0.6432 GB, free: 8.371 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.01161, allocations: 0 / 0.6432 GB, free: 8.371 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.525e-05/0.01163, allocations: 20.83 kB / 0.6433 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.01163, allocations: 0 / 0.6433 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002981/0.01193, allocations: 43.86 kB / 0.6433 GB, free: 8.305 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.0002003/0.01213, allocations: 104.3 kB / 0.6434 GB, free: 8.195 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.01228, allocations: 60.75 kB / 0.6435 GB, free: 8.133 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.01228, allocations: 4 kB / 0.6435 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.995e-05/0.01234, allocations: 32.78 kB / 0.6435 GB, free: 8.094 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.01254, allocations: 8 kB / 0.6435 GB, free: 8.086 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000604/0.01315, allocations: 258.2 kB / 0.6437 GB, free: 7.801 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.666e-05/0.01319, allocations: 67.2 kB / 0.6438 GB, free: 7.715 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 8.863e-05/0.01328, allocations: 16.73 kB / 0.6438 GB, free: 7.699 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.01339, allocations: 59.36 kB / 0.6439 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of SimCode: time 9.81e-07/0.01339, allocations: 0 / 0.6439 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of Templates: time 0.004639/0.01803, allocations: 1.968 MB / 0.6458 GB, free: 5.672 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3825760199688375]