Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json 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.0009252/0.0009252, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009926/0.0009926, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7848/0.7848, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 480.4 MB, free: 6.465 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.918e-05, allocations: 5.688 kB / 480.4 MB, free: 6.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00141/0.001429, allocations: 0.7945 MB / 481.2 MB, free: 5.707 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.003066, allocations: 1.509 MB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.003105, allocations: 0 / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.003133, allocations: 4.922 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.003177, allocations: 0.875 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.003627, allocations: 154.5 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.406e-05/0.003701, allocations: 43.58 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.003738, allocations: 15.97 kB / 483 MB, free: 3.996 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.003825, allocations: 29.39 kB / 483 MB, free: 3.969 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.003874, allocations: 32.88 kB / 483 MB, free: 3.938 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.003892, allocations: 4 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.00417, allocations: 248.7 kB / 483.3 MB, free: 3.691 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.00419, allocations: 15.97 kB / 483.3 MB, free: 3.676 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.004213, allocations: 19.92 kB / 483.3 MB, free: 3.656 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.004449, allocations: 215.4 kB / 483.5 MB, free: 3.445 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004451, allocations: 0.8438 kB / 483.5 MB, free: 3.445 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.051e-06/0.004453, allocations: 0 / 483.5 MB, free: 3.445 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.004456, allocations: 0.75 kB / 483.5 MB, free: 3.445 MB / 442.7 MB 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.0004059/0.004862, allocations: 304.5 kB / 483.8 MB, free: 3.129 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.004896, allocations: 8.031 kB / 483.8 MB, free: 3.121 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.005115, allocations: 63.22 kB / 483.9 MB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.909e-05/0.005194, allocations: 110.9 kB / 484 MB, free: 2.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.005213, allocations: 8.375 kB / 484 MB, free: 2.922 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.005236, allocations: 11.23 kB / 484 MB, free: 2.914 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.005418, allocations: 148.2 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.005427, allocations: 192 / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.00544, allocations: 8.375 kB / 484.2 MB, free: 2.742 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.005446, allocations: 4.719 kB / 484.2 MB, free: 2.738 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.718e-05/0.005493, allocations: 27.39 kB / 484.2 MB, free: 2.715 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.005802, allocations: 216.7 kB / 484.4 MB, free: 2.488 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.005913, allocations: 59.75 kB / 484.5 MB, free: 2.422 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.005935, allocations: 16.84 kB / 484.5 MB, free: 2.402 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.005947, allocations: 4.625 kB / 484.5 MB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.00597, allocations: 38.55 kB / 484.5 MB, free: 2.352 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.005971, allocations: 1.031 kB / 484.5 MB, free: 2.352 MB / 442.7 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.00731/0.01328, allocations: 2.14 MB / 486.7 MB, free: 212 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.01331, allocations: 52.16 kB / 486.7 MB, free: 148 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.796e-05/0.01336, allocations: 101.4 kB / 486.8 MB, free: 36 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.01341, allocations: 39.98 kB / 486.8 MB, free: 15.99 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.01344, allocations: 88.08 kB / 486.9 MB, free: 15.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.01348, allocations: 39.59 kB / 487 MB, free: 15.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.459e-05/0.01358, allocations: 61.56 kB / 487 MB, free: 15.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.01365, allocations: 318.8 kB / 487.3 MB, free: 15.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.01377, allocations: 100.7 kB / 487.4 MB, free: 15.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.01388, allocations: 100.7 kB / 487.5 MB, free: 15.28 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.01411, allocations: 221.8 kB / 487.8 MB, free: 15.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01411, allocations: 0 / 487.8 MB, free: 15.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002968/0.01441, allocations: 253.5 kB / 488 MB, free: 14.81 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.01442, allocations: 5.812 kB / 488 MB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01443, allocations: 0 / 488 MB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.01444, allocations: 0 / 488 MB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.01475, allocations: 85.69 kB / 488.1 MB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.01475, allocations: 0 / 488.1 MB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.01494, allocations: 34.33 kB / 488.1 MB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.01497, allocations: 19.94 kB / 488.1 MB, free: 14.68 MB / 458.7 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 0.0001017/0.01507, allocations: 117.7 kB / 488.3 MB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.01513, allocations: 7.984 kB / 488.3 MB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.01516, allocations: 17.38 kB / 488.3 MB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01517, allocations: 0 / 488.3 MB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01517, allocations: 0 / 488.3 MB, free: 14.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01517, allocations: 3.938 kB / 488.3 MB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.01571, allocations: 467.5 kB / 488.7 MB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01571, allocations: 1.25 kB / 488.7 MB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.01601, allocations: 84.97 kB / 488.8 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.01601, allocations: 4 kB / 488.8 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.01604, allocations: 17 kB / 488.8 MB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01604, allocations: 320 / 488.8 MB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01604, allocations: 0 / 488.8 MB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.01655, allocations: 459.8 kB / 489.3 MB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.01663, allocations: 23.91 kB / 489.3 MB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.01666, allocations: 8.938 kB / 489.3 MB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.01688, allocations: 25.97 kB / 489.4 MB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.01693, allocations: 27.91 kB / 489.4 MB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.01696, allocations: 23.88 kB / 489.4 MB, free: 13.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.047e-05/0.01697, allocations: 10.17 kB / 489.4 MB, free: 13.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01697, allocations: 0 / 489.4 MB, free: 13.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002281/0.0172, allocations: 55.94 kB / 489.5 MB, free: 13.31 MB / 458.7 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.0001269/0.01733, allocations: 89.19 kB / 489.6 MB, free: 13.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002973/0.01762, allocations: 241.2 kB / 489.8 MB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01763, allocations: 0.9688 kB / 489.8 MB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.01777, allocations: 132.7 kB / 489.9 MB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.01793, allocations: 41.58 kB / 490 MB, free: 12.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.01936, allocations: 0.5618 MB / 490.5 MB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.363e-05/0.01939, allocations: 59.36 kB / 490.6 MB, free: 12.17 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.01969, allocations: 99.05 kB / 490.7 MB, free: 12.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.01994, allocations: 103.2 kB / 490.8 MB, free: 12.03 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01994, allocations: 0 / 490.8 MB, free: 12.03 MB / 458.7 MB Notification: Performance of Templates: time 0.004775/0.02472, allocations: 3.829 MB / 494.6 MB, free: 8.332 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.610529495868832]