Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.04927/0.04927, allocations: 9.129 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.001124/0.001124, 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.001838/0.001838, 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.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.005194/0.005194, allocations: 0.8255 MB / 276.5 MB, free: 0.7227 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.629/1.629, allocations: 274.9 MB / 0.5419 GB, free: 0.6484 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.209e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001246/0.001268, allocations: 0.6345 MB / 0.6385 GB, free: 13.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.002778, allocations: 1.477 MB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.197e-05/0.0028, allocations: 0 / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.002816, allocations: 3.938 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.999e-05/0.002846, allocations: 0 / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.003285, allocations: 147.4 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.172e-05/0.003347, allocations: 27.97 kB / 0.6402 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.00338, allocations: 4 kB / 0.6402 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.893e-05/0.003439, allocations: 23.92 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.399e-05/0.003503, allocations: 19.95 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.003517, allocations: 4 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.003798, allocations: 251.4 kB / 0.6405 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.003814, allocations: 7.984 kB / 0.6405 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.003831, allocations: 11.98 kB / 0.6405 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.004073, allocations: 207.4 kB / 0.6407 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.004075, allocations: 0 / 0.6407 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004076, allocations: 0 / 0.6407 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.00408, allocations: 0 / 0.6407 GB, free: 11.25 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003309/0.004411, allocations: 264.3 kB / 0.6409 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.004446, allocations: 11.98 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.004663, allocations: 52.88 kB / 0.641 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.446e-05/0.004737, allocations: 109.7 kB / 0.6411 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.00475, allocations: 4.312 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.004771, allocations: 8.719 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.00491, allocations: 104.6 kB / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.004917, allocations: 192 / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.004926, allocations: 384 / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.004932, allocations: 3.938 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.363e-05/0.004965, allocations: 15.92 kB / 0.6412 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.005072, allocations: 72.98 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.005226, allocations: 38.61 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.31e-05/0.005249, allocations: 16.94 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.005397, allocations: 47.95 kB / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.005419, allocations: 34.56 kB / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.00542, allocations: 0 / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5): time 0.0003809/0.005801, allocations: 201.2 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.005829, allocations: 51.41 kB / 0.6417 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.179e-05/0.005881, allocations: 110.6 kB / 0.6418 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.005895, allocations: 25.7 kB / 0.6418 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.005919, allocations: 80.14 kB / 0.6419 GB, free: 9.859 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.005949, allocations: 19.8 kB / 0.6419 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.005986, allocations: 21.7 kB / 0.6419 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.00607, allocations: 314.8 kB / 0.6422 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.195e-05/0.006092, allocations: 12.12 kB / 0.6422 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.006108, allocations: 4 kB / 0.6422 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.34e-05/0.006151, allocations: 20.84 kB / 0.6422 GB, free: 9.457 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006153, allocations: 0 / 0.6422 GB, free: 9.457 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.389e-05/0.006227, allocations: 53.88 kB / 0.6423 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.006238, allocations: 8 kB / 0.6423 GB, free: 9.391 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.006243, allocations: 3.938 kB / 0.6423 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.006257, allocations: 0 / 0.6423 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.006329, allocations: 19.97 kB / 0.6423 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.006331, allocations: 4 kB / 0.6423 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.006362, allocations: 11.94 kB / 0.6423 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.006368, allocations: 0 / 0.6423 GB, free: 9.352 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 (6): * Single equations (assignments): 6 * 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.07e-05/0.006429, allocations: 117.8 kB / 0.6425 GB, free: 9.227 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.006442, allocations: 4 kB / 0.6425 GB, free: 9.223 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.006562, allocations: 77.34 kB / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006563, allocations: 0 / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006565, allocations: 3.938 kB / 0.6425 GB, free: 9.137 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.006568, allocations: 3.938 kB / 0.6425 GB, free: 9.133 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.043e-05/0.006639, allocations: 69.91 kB / 0.6426 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.006641, allocations: 3.984 kB / 0.6426 GB, free: 9.043 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.006705, allocations: 19.98 kB / 0.6426 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.006707, allocations: 0 / 0.6426 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.006715, allocations: 4 kB / 0.6426 GB, free: 9.02 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.006717, allocations: 4 kB / 0.6426 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006718, allocations: 336 / 0.6426 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.006843, allocations: 89.03 kB / 0.6427 GB, free: 8.91 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.006871, allocations: 7.984 kB / 0.6427 GB, free: 8.902 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.006883, allocations: 3.984 kB / 0.6427 GB, free: 8.898 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.006922, allocations: 8 kB / 0.6427 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.006942, allocations: 16.14 kB / 0.6428 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.006949, allocations: 4 kB / 0.6428 GB, free: 8.871 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.157e-06/0.006958, allocations: 8.859 kB / 0.6428 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006958, allocations: 0 / 0.6428 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001364/0.007094, allocations: 31.86 kB / 0.6428 GB, free: 8.828 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001431/0.007238, allocations: 112.3 kB / 0.6429 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.003e-05/0.007318, allocations: 32.78 kB / 0.6429 GB, free: 8.676 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.00732, allocations: 0 / 0.6429 GB, free: 8.676 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.541e-05/0.007346, allocations: 28.88 kB / 0.643 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.737e-05/0.007413, allocations: 4 kB / 0.643 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.007685, allocations: 132.7 kB / 0.6431 GB, free: 8.484 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.88e-05/0.007714, allocations: 59.22 kB / 0.6431 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.109e-05/0.007765, allocations: 19.98 kB / 0.6432 GB, free: 8.387 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.00783, allocations: 55.38 kB / 0.6432 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of SimCode: time 1.212e-06/0.007831, allocations: 4 kB / 0.6432 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of Templates: time 0.002925/0.01076, allocations: 1.318 MB / 0.6445 GB, free: 7.008 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.366964078973979]