Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_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.05273/0.05273, allocations: 9.129 MB / 28.99 MB, free: 0.8164 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.001101/0.001101, allocations: 91.16 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.001651/0.001651, allocations: 167.9 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.052/1.052, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004041/0.004041, allocations: 0.8184 MB / 276.5 MB, free: 0.7539 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.683/1.683, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.029e-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.InverseXDerivative_2_Check): time 0.001383/0.001403, allocations: 0.8112 MB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.00284, allocations: 1.505 MB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.002872, allocations: 0 / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.528e-05/0.002897, allocations: 7.938 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.171e-05/0.002939, allocations: 0 / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.00335, allocations: 147.3 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.003555, allocations: 51.89 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.323e-05/0.003588, allocations: 4 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.508e-05/0.003673, allocations: 35.95 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.422e-05/0.003717, allocations: 23.91 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.003731, allocations: 4 kB / 0.6405 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.003988, allocations: 255.4 kB / 0.6407 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.004008, allocations: 15.98 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.004028, allocations: 19.91 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.004266, allocations: 215.4 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004268, allocations: 0 / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004269, allocations: 3.938 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.004273, allocations: 0 / 0.6409 GB, free: 10.94 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003569/0.00463, allocations: 300.4 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.00466, allocations: 15.98 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.004859, allocations: 52.88 kB / 0.6413 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.613e-05/0.004935, allocations: 117.7 kB / 0.6414 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.004952, allocations: 8.375 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.004972, allocations: 8.375 kB / 0.6414 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.005149, allocations: 146.3 kB / 0.6416 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.00516, allocations: 12.12 kB / 0.6416 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.005169, allocations: 384 / 0.6416 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.005175, allocations: 3.938 kB / 0.6416 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.335e-05/0.005218, allocations: 27.94 kB / 0.6416 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.005505, allocations: 204.2 kB / 0.6418 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.005618, allocations: 62.47 kB / 0.6419 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.005638, allocations: 20.86 kB / 0.6419 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.00565, allocations: 7.938 kB / 0.6419 GB, free: 9.879 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.005673, allocations: 30.56 kB / 0.6419 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.005674, allocations: 0 / 0.6419 GB, free: 9.84 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=11): time 0.007592/0.01327, allocations: 2.148 MB / 0.644 GB, free: 7.633 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.0133, allocations: 51.41 kB / 0.6441 GB, free: 7.57 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.07e-05/0.01337, allocations: 114.7 kB / 0.6442 GB, free: 7.445 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.01341, allocations: 25.7 kB / 0.6442 GB, free: 7.414 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.01344, allocations: 88.08 kB / 0.6443 GB, free: 7.324 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.0135, allocations: 47.62 kB / 0.6443 GB, free: 7.277 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.01361, allocations: 61.56 kB / 0.6444 GB, free: 7.211 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.01369, allocations: 314.8 kB / 0.6447 GB, free: 6.895 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.01382, allocations: 91.94 kB / 0.6448 GB, free: 6.805 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.01394, allocations: 107.9 kB / 0.6449 GB, free: 6.699 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.01422, allocations: 224.6 kB / 0.6451 GB, free: 6.477 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01422, allocations: 3.938 kB / 0.6451 GB, free: 6.473 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003374/0.01456, allocations: 249.7 kB / 0.6453 GB, free: 6.223 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.01458, allocations: 4 kB / 0.6453 GB, free: 6.219 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.01458, allocations: 0 / 0.6453 GB, free: 6.219 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.0146, allocations: 0 / 0.6453 GB, free: 6.219 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.01494, allocations: 87.81 kB / 0.6454 GB, free: 6.133 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.01495, allocations: 0 / 0.6454 GB, free: 6.133 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.01515, allocations: 23.97 kB / 0.6454 GB, free: 6.109 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.01518, allocations: 23.92 kB / 0.6455 GB, free: 6.086 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 0.0001291/0.01531, allocations: 121.7 kB / 0.6456 GB, free: 5.957 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.01537, allocations: 12 kB / 0.6456 GB, free: 5.945 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.01541, allocations: 8.125 kB / 0.6456 GB, free: 5.941 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01542, allocations: 0 / 0.6456 GB, free: 5.941 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01542, allocations: 0 / 0.6456 GB, free: 5.941 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.01542, allocations: 3.984 kB / 0.6456 GB, free: 5.938 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006538/0.01608, allocations: 474.4 kB / 0.6461 GB, free: 5.449 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01608, allocations: 0 / 0.6461 GB, free: 5.449 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/0.0164, allocations: 91.81 kB / 0.6461 GB, free: 5.359 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.0164, allocations: 0 / 0.6461 GB, free: 5.359 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.01643, allocations: 15.94 kB / 0.6462 GB, free: 5.344 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.01644, allocations: 3.984 kB / 0.6462 GB, free: 5.34 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01644, allocations: 0 / 0.6462 GB, free: 5.34 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.017, allocations: 447.2 kB / 0.6466 GB, free: 4.887 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/0.01709, allocations: 27.91 kB / 0.6466 GB, free: 4.859 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.01713, allocations: 7.969 kB / 0.6466 GB, free: 4.852 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.01735, allocations: 35.89 kB / 0.6467 GB, free: 4.816 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.0174, allocations: 23.92 kB / 0.6467 GB, free: 4.793 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.01743, allocations: 19.94 kB / 0.6467 GB, free: 4.773 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.518e-05/0.01745, allocations: 12.83 kB / 0.6467 GB, free: 4.758 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.01745, allocations: 0 / 0.6467 GB, free: 4.758 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003894/0.01784, allocations: 55.94 kB / 0.6468 GB, free: 4.703 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.0001771/0.01802, allocations: 92.36 kB / 0.6468 GB, free: 4.602 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.01833, allocations: 236.6 kB / 0.6471 GB, free: 4.367 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.01833, allocations: 0 / 0.6471 GB, free: 4.367 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.01848, allocations: 128.7 kB / 0.6472 GB, free: 4.238 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.01865, allocations: 35.86 kB / 0.6472 GB, free: 4.203 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.02027, allocations: 0.5627 MB / 0.6478 GB, free: 3.613 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.606e-05/0.02031, allocations: 67.2 kB / 0.6478 GB, free: 3.527 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.0002861/0.0206, allocations: 88.73 kB / 0.6479 GB, free: 3.441 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002663/0.02086, allocations: 103.2 kB / 0.648 GB, free: 3.34 MB / 0.6043 GB Notification: Performance of SimCode: time 7.82e-07/0.02086, allocations: 0 / 0.648 GB, free: 3.34 MB / 0.6043 GB Notification: Performance of Templates: time 0.004821/0.02568, allocations: 3.88 MB / 0.6518 GB, free: 15.43 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.411126215942204]