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.04321/0.04321, allocations: 9.131 MB / 28.99 MB, free: 6.098 MB / 24.77 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.001325/0.001325, allocations: 95.2 kB / 35.33 MB, free: 0.7734 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.001874/0.001874, allocations: 170.4 kB / 38.73 MB, free: 2.145 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.022/1.022, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.004145/0.004145, allocations: 0.8263 MB / 276.5 MB, free: 0.7266 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.675/1.675, 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.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.664e-06/1.664e-06, allocations: 0 / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.252e-05, allocations: 6.25 kB / 0.638 GB, free: 14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001334/0.001357, allocations: 0.6777 MB / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.00307, allocations: 1.477 MB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.00309, allocations: 3.938 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.003102, allocations: 0 / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.625e-05/0.003128, allocations: 4 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.003507, allocations: 139.3 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.67e-05/0.003564, allocations: 27.97 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.003597, allocations: 11.98 kB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.003653, allocations: 27.91 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.48e-05/0.003718, allocations: 23.97 kB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.003736, allocations: 0 / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.00403, allocations: 251.5 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.004045, allocations: 11.98 kB / 0.6406 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.004062, allocations: 11.97 kB / 0.6406 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.004275, allocations: 207.4 kB / 0.6408 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.004278, allocations: 0 / 0.6408 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.01e-07/0.004278, allocations: 0 / 0.6408 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.004282, allocations: 0 / 0.6408 GB, free: 11.12 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.0006111/0.004893, allocations: 256.3 kB / 0.641 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.004935, allocations: 15.98 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.005159, allocations: 52.81 kB / 0.6411 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.739e-05/0.005236, allocations: 117.7 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.005249, allocations: 4.375 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.005265, allocations: 4.719 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.005398, allocations: 96.61 kB / 0.6413 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.005405, allocations: 192 / 0.6413 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.005414, allocations: 4.375 kB / 0.6413 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.00542, allocations: 3.938 kB / 0.6413 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.789e-05/0.005458, allocations: 19.91 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.494e-05/0.005553, allocations: 69 kB / 0.6414 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.005701, allocations: 38.61 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.005724, allocations: 16.86 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.005863, allocations: 48.03 kB / 0.6415 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.005884, allocations: 34.56 kB / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.005885, allocations: 0 / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5): time 0.000366/0.006251, allocations: 197.2 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.006274, allocations: 55.41 kB / 0.6418 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.075e-05/0.006315, allocations: 102.6 kB / 0.6419 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.006326, allocations: 25.83 kB / 0.6419 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.857e-05/0.006345, allocations: 88.14 kB / 0.642 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.006372, allocations: 27.77 kB / 0.642 GB, free: 9.707 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.006403, allocations: 17.72 kB / 0.642 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.006472, allocations: 314.8 kB / 0.6423 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.006491, allocations: 7.984 kB / 0.6423 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.675e-05/0.006508, allocations: 8 kB / 0.6423 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.006552, allocations: 25.02 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006554, allocations: 4 kB / 0.6423 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.526e-05/0.006619, allocations: 45.69 kB / 0.6424 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.006634, allocations: 8 kB / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.006637, allocations: 3.938 kB / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.006648, allocations: 0 / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.006721, allocations: 19.98 kB / 0.6424 GB, free: 9.238 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.006723, allocations: 0 / 0.6424 GB, free: 9.238 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.006755, allocations: 15.92 kB / 0.6424 GB, free: 9.223 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.006761, allocations: 0 / 0.6424 GB, free: 9.223 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 4.942e-05/0.00681, allocations: 109.8 kB / 0.6425 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.006821, allocations: 11.92 kB / 0.6426 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.00693, allocations: 69.47 kB / 0.6426 GB, free: 9.02 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006931, allocations: 0 / 0.6426 GB, free: 9.02 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006933, allocations: 3.938 kB / 0.6426 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.006937, allocations: 7.938 kB / 0.6426 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.385e-05/0.007001, allocations: 69.91 kB / 0.6427 GB, free: 8.922 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.007003, allocations: 4 kB / 0.6427 GB, free: 8.918 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.079e-05/0.007064, allocations: 19.97 kB / 0.6427 GB, free: 8.898 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.007065, allocations: 0 / 0.6427 GB, free: 8.898 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.007072, allocations: 0 / 0.6427 GB, free: 8.898 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.007072, allocations: 0 / 0.6427 GB, free: 8.898 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.007073, allocations: 0 / 0.6427 GB, free: 8.898 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.00721, allocations: 93.03 kB / 0.6428 GB, free: 8.789 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.007242, allocations: 8.031 kB / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.007258, allocations: 8.172 kB / 0.6428 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.252e-05/0.0073, allocations: 8 kB / 0.6428 GB, free: 8.766 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.007321, allocations: 11.92 kB / 0.6428 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.007326, allocations: 0 / 0.6428 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.057e-06/0.007335, allocations: 8.859 kB / 0.6429 GB, free: 8.742 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.007336, allocations: 0 / 0.6429 GB, free: 8.742 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001337/0.007469, allocations: 35.86 kB / 0.6429 GB, free: 8.707 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.0001403/0.00761, allocations: 112.4 kB / 0.643 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.949e-05/0.007689, allocations: 28.78 kB / 0.643 GB, free: 8.559 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.007691, allocations: 0 / 0.643 GB, free: 8.559 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.452e-05/0.007716, allocations: 28.78 kB / 0.643 GB, free: 8.527 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.461e-05/0.00778, allocations: 4 kB / 0.6431 GB, free: 8.523 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.008042, allocations: 136.7 kB / 0.6432 GB, free: 8.363 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.625e-05/0.008068, allocations: 59.22 kB / 0.6432 GB, free: 8.285 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.856e-05/0.008126, allocations: 24.31 kB / 0.6433 GB, free: 8.262 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.008189, allocations: 55.38 kB / 0.6433 GB, free: 8.207 MB / 0.6043 GB Notification: Performance of SimCode: time 6.21e-07/0.00819, allocations: 0 / 0.6433 GB, free: 8.207 MB / 0.6043 GB Notification: Performance of Templates: time 0.002552/0.01074, allocations: 1.334 MB / 0.6446 GB, free: 6.871 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.444525041617453]