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.05232/0.05232, allocations: 9.131 MB / 28.99 MB, free: 6.121 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.0009328/0.0009328, allocations: 90.66 kB / 35.33 MB, free: 0.7852 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.001148/0.001148, allocations: 167.4 kB / 38.74 MB, free: 2.125 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 0.9469/0.9469, allocations: 177.2 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.01129/0.01129, allocations: 0.8183 MB / 276.5 MB, free: 0.7383 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.641/1.641, allocations: 274.9 MB / 0.5419 GB, free: 0.5938 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.563e-06/1.563e-06, allocations: 0 / 0.638 GB, free: 13.98 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.247e-05, allocations: 2.312 kB / 0.638 GB, free: 13.98 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001642/0.001665, allocations: 0.8583 MB / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.003543, allocations: 1.505 MB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.003581, allocations: 8 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.003611, allocations: 7.922 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/0.003657, allocations: 3.938 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.004122, allocations: 147.2 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.004201, allocations: 47.91 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.00424, allocations: 7.969 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.004333, allocations: 31.97 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.383e-05/0.004387, allocations: 27.89 kB / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.004403, allocations: 4 kB / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.004708, allocations: 259.5 kB / 0.6408 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.004728, allocations: 15.97 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.00475, allocations: 15.92 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.005002, allocations: 219.4 kB / 0.6411 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.005006, allocations: 0 / 0.6411 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.01e-07/0.005007, allocations: 7.938 kB / 0.6411 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.005011, allocations: 0 / 0.6411 GB, free: 10.81 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.0003855/0.005396, allocations: 296.4 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.005431, allocations: 15.98 kB / 0.6414 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000219/0.00565, allocations: 52.88 kB / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.223e-05/0.005732, allocations: 109.7 kB / 0.6415 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.005751, allocations: 8.375 kB / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.005771, allocations: 8.359 kB / 0.6415 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.005967, allocations: 154.2 kB / 0.6417 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.005979, allocations: 4.141 kB / 0.6417 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.005988, allocations: 384 / 0.6417 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.005995, allocations: 3.938 kB / 0.6417 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.577e-05/0.00604, allocations: 27.92 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.006364, allocations: 216.2 kB / 0.6419 GB, free: 9.848 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.006479, allocations: 58.48 kB / 0.642 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.148e-05/0.0065, allocations: 17.02 kB / 0.642 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.006516, allocations: 11.92 kB / 0.642 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.006536, allocations: 30.56 kB / 0.642 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 3.857e-06/0.00654, allocations: 7.984 kB / 0.642 GB, free: 9.703 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.007864/0.0144, allocations: 2.133 MB / 0.6441 GB, free: 7.512 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.01443, allocations: 55.41 kB / 0.6442 GB, free: 7.445 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.01449, allocations: 102.7 kB / 0.6443 GB, free: 7.332 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.01452, allocations: 33.64 kB / 0.6443 GB, free: 7.293 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.01455, allocations: 92.06 kB / 0.6444 GB, free: 7.199 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.0146, allocations: 39.64 kB / 0.6444 GB, free: 7.16 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.01471, allocations: 65.56 kB / 0.6445 GB, free: 7.09 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.01477, allocations: 314.8 kB / 0.6448 GB, free: 6.773 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.0149, allocations: 99.92 kB / 0.6449 GB, free: 6.676 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.01502, allocations: 95.94 kB / 0.645 GB, free: 6.582 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.01529, allocations: 220.6 kB / 0.6452 GB, free: 6.363 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01529, allocations: 7.938 kB / 0.6452 GB, free: 6.355 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003247/0.01562, allocations: 245.7 kB / 0.6454 GB, free: 6.109 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.01563, allocations: 4 kB / 0.6454 GB, free: 6.105 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01564, allocations: 0 / 0.6454 GB, free: 6.105 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01565, allocations: 7.984 kB / 0.6454 GB, free: 6.098 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.01601, allocations: 99.75 kB / 0.6455 GB, free: 6 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.01602, allocations: 8 kB / 0.6455 GB, free: 5.992 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.01622, allocations: 27.97 kB / 0.6456 GB, free: 5.965 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.01626, allocations: 15.94 kB / 0.6456 GB, free: 5.949 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.0001005/0.01636, allocations: 125.7 kB / 0.6457 GB, free: 5.816 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.01641, allocations: 8 kB / 0.6457 GB, free: 5.809 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.01644, allocations: 8.125 kB / 0.6457 GB, free: 5.805 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01644, allocations: 8 kB / 0.6457 GB, free: 5.797 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.01645, allocations: 0 / 0.6457 GB, free: 5.797 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01645, allocations: 3.984 kB / 0.6457 GB, free: 5.793 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.01703, allocations: 470.4 kB / 0.6462 GB, free: 5.309 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01703, allocations: 0 / 0.6462 GB, free: 5.309 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.01738, allocations: 95.75 kB / 0.6463 GB, free: 5.215 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.01738, allocations: 4 kB / 0.6463 GB, free: 5.211 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003039/0.01768, allocations: 27.92 kB / 0.6463 GB, free: 5.184 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01769, allocations: 0 / 0.6463 GB, free: 5.184 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01769, allocations: 0 / 0.6463 GB, free: 5.184 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.01821, allocations: 451.2 kB / 0.6467 GB, free: 4.727 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.01828, allocations: 23.91 kB / 0.6468 GB, free: 4.703 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.01832, allocations: 7.938 kB / 0.6468 GB, free: 4.695 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.01855, allocations: 35.98 kB / 0.6468 GB, free: 4.66 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.01861, allocations: 23.92 kB / 0.6468 GB, free: 4.637 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.01865, allocations: 19.92 kB / 0.6468 GB, free: 4.617 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.205e-05/0.01866, allocations: 8.859 kB / 0.6468 GB, free: 4.605 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.01866, allocations: 0 / 0.6468 GB, free: 4.605 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002303/0.01889, allocations: 55.94 kB / 0.6469 GB, free: 4.551 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.0001542/0.01904, allocations: 96.28 kB / 0.647 GB, free: 4.445 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0003149/0.01936, allocations: 240.6 kB / 0.6472 GB, free: 4.207 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.01936, allocations: 0 / 0.6472 GB, free: 4.207 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.01951, allocations: 132.7 kB / 0.6473 GB, free: 4.074 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.0197, allocations: 32.2 kB / 0.6474 GB, free: 4.043 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.02121, allocations: 0.5594 MB / 0.6479 GB, free: 3.457 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.583e-05/0.02125, allocations: 67.2 kB / 0.648 GB, free: 3.371 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.000313/0.02156, allocations: 100.7 kB / 0.6481 GB, free: 3.273 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.02185, allocations: 95.23 kB / 0.6482 GB, free: 3.18 MB / 0.6043 GB Notification: Performance of SimCode: time 7.21e-07/0.02185, allocations: 0 / 0.6482 GB, free: 3.18 MB / 0.6043 GB Notification: Performance of Templates: time 0.006277/0.02813, allocations: 3.871 MB / 0.652 GB, free: 15.28 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.471059537958354]