Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 191 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 207.6 MB / 232.8 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3073/0.3073, allocations: 55.67 MB / 340.7 MB, free: 13.98 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 79.88 kB / 482.1 MB, free: 6.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3699, allocations: 62.86 MB / 0.5322 GB, free: 7.883 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001807/0.3717, allocations: 0.5815 MB / 0.5327 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.3735, allocations: 1.5 MB / 0.5342 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.3735, allocations: 0 / 0.5342 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.3736, allocations: 1.156 kB / 0.5342 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.305e-05/0.3736, allocations: 7.938 kB / 0.5342 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.3741, allocations: 135.7 kB / 0.5343 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.488e-05/0.3742, allocations: 24.41 kB / 0.5344 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.3743, allocations: 7.469 kB / 0.5344 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.995e-05/0.3743, allocations: 14.16 kB / 0.5344 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.3744, allocations: 29.42 kB / 0.5344 GB, free: 6.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.3744, allocations: 2.156 kB / 0.5344 GB, free: 6.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/0.3749, allocations: 261.5 kB / 0.5347 GB, free: 6.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.3749, allocations: 8.578 kB / 0.5347 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.375, allocations: 18.3 kB / 0.5347 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.3754, allocations: 171.1 kB / 0.5348 GB, free: 6.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3754, allocations: 0 / 0.5348 GB, free: 6.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3754, allocations: 0 / 0.5348 GB, free: 6.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3754, allocations: 1.094 kB / 0.5348 GB, free: 6.223 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000579/0.376, allocations: 303 kB / 0.5351 GB, free: 5.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.3761, allocations: 9.75 kB / 0.5351 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005731/0.3766, allocations: 71.25 kB / 0.5352 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.3767, allocations: 113.2 kB / 0.5353 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.3768, allocations: 7.469 kB / 0.5353 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.3768, allocations: 6.344 kB / 0.5353 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.3771, allocations: 82.23 kB / 0.5354 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.3771, allocations: 0.6094 kB / 0.5354 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.3772, allocations: 1.188 kB / 0.5354 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3772, allocations: 1.188 kB / 0.5354 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.3775, allocations: 72.67 kB / 0.5355 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.3778, allocations: 138.6 kB / 0.5356 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.3784, allocations: 138 kB / 0.5358 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.3786, allocations: 54.73 kB / 0.5358 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.3786, allocations: 5.125 kB / 0.5358 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.3786, allocations: 32.47 kB / 0.5358 GB, free: 5.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3786, allocations: 0 / 0.5358 GB, free: 5.449 MB / 398.1 MB 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.01077/0.3894, allocations: 2.282 MB / 0.5381 GB, free: 4.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.3894, allocations: 52.22 kB / 0.5381 GB, free: 4.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.13e-05/0.3895, allocations: 98.89 kB / 0.5382 GB, free: 4.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.3895, allocations: 30.58 kB / 0.5382 GB, free: 4.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.478e-05/0.3895, allocations: 81.8 kB / 0.5383 GB, free: 4.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.3896, allocations: 38.62 kB / 0.5384 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.3896, allocations: 36.05 kB / 0.5384 GB, free: 4.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.251e-05/0.3897, allocations: 319.5 kB / 0.5387 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.3902, allocations: 102.6 kB / 0.5388 GB, free: 4.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.3906, allocations: 113.3 kB / 0.5389 GB, free: 4.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009433/0.3916, allocations: 202.6 kB / 0.5391 GB, free: 4.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3916, allocations: 12.38 kB / 0.5391 GB, free: 4.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001085/0.3927, allocations: 261.6 kB / 0.5394 GB, free: 3.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3927, allocations: 9.812 kB / 0.5394 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3927, allocations: 0.75 kB / 0.5394 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3927, allocations: 0.75 kB / 0.5394 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.3931, allocations: 64.72 kB / 0.5394 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3931, allocations: 5 kB / 0.5394 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.3934, allocations: 37.41 kB / 0.5395 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.3935, allocations: 6.5 kB / 0.5395 GB, free: 3.922 MB / 398.1 MB 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 8.307e-05/0.3935, allocations: 125.5 kB / 0.5396 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.3936, allocations: 7.156 kB / 0.5396 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.3936, allocations: 9.734 kB / 0.5396 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3936, allocations: 1.766 kB / 0.5396 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3936, allocations: 0.5312 kB / 0.5396 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3936, allocations: 1.078 kB / 0.5396 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.395, allocations: 0.5132 MB / 0.5401 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.395, allocations: 6.953 kB / 0.5401 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/0.3954, allocations: 61.61 kB / 0.5402 GB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3954, allocations: 4.781 kB / 0.5402 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.3954, allocations: 6 kB / 0.5402 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3954, allocations: 0 / 0.5402 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3954, allocations: 9.656 kB / 0.5402 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.3969, allocations: 476.7 kB / 0.5407 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.397, allocations: 18.53 kB / 0.5407 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.397, allocations: 1.219 kB / 0.5407 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.3973, allocations: 45.25 kB / 0.5407 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.3974, allocations: 16.19 kB / 0.5407 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.3974, allocations: 8.047 kB / 0.5407 GB, free: 3.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 1.959e-05/0.3974, allocations: 89.69 kB / 0.5408 GB, free: 3.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3974, allocations: 0 / 0.5408 GB, free: 3.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004348/0.3978, allocations: 97.31 kB / 0.5409 GB, free: 3.121 MB / 398.1 MB 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.0003819/0.3982, allocations: 171.2 kB / 0.5411 GB, free: 3.004 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.3992, allocations: 228.4 kB / 0.5413 GB, free: 2.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3992, allocations: 4 kB / 0.5413 GB, free: 2.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.3997, allocations: 115.8 kB / 0.5414 GB, free: 2.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.4, allocations: 12.17 kB / 0.5414 GB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.4023, allocations: 489.9 kB / 0.5419 GB, free: 2.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.4024, allocations: 0.6888 MB / 0.5426 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000249/0.4026, allocations: 58.45 kB / 0.5426 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.4027, allocations: 20.88 kB / 0.5426 GB, free: 2.031 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4027, allocations: 0 / 0.5426 GB, free: 2.031 MB / 398.1 MB Notification: Performance of Templates: time 0.006017/0.4088, allocations: 2.348 MB / 0.5449 GB, free: 1.82 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.067573209293187] Failed to read output from testmodel.py, exit status != 0: 0.41676001716405153 0.43532037 0.055639868 Calling exit ...