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.0007747/0.0007747, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009968/0.001772, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007156/0.0007156, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009768/0.001692, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.013/1.013, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09955/1.113, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7706/0.7706, allocations: 155.3 MB / 399.5 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2797/1.05, allocations: 49.13 MB / 448.6 MB, free: 5.918 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.183e-06/1.183e-06, allocations: 0 / 450 MB, free: 4.547 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.533e-05, allocations: 8.375 kB / 450 MB, free: 4.543 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002325/0.00235, allocations: 0.8604 MB / 450.9 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.004431, allocations: 1.511 MB / 452.4 MB, free: 2.207 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.004465, allocations: 0 / 452.4 MB, free: 2.207 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.58e-05/0.00449, allocations: 3.938 kB / 452.4 MB, free: 2.203 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.501e-05/0.004515, allocations: 4.703 kB / 452.4 MB, free: 2.199 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.004842, allocations: 145.3 kB / 452.5 MB, free: 2.062 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.258e-05/0.004904, allocations: 44.8 kB / 452.6 MB, free: 2.023 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.447e-05/0.004939, allocations: 3 kB / 452.6 MB, free: 2.023 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.005025, allocations: 42.36 kB / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.152e-05/0.005067, allocations: 30.36 kB / 452.7 MB, free: 1.957 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.00508, allocations: 4 kB / 452.7 MB, free: 1.953 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.005345, allocations: 269.2 kB / 452.9 MB, free: 1.695 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.00536, allocations: 4 kB / 452.9 MB, free: 1.691 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.005377, allocations: 15.94 kB / 453 MB, free: 1.676 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.005581, allocations: 177.2 kB / 453.1 MB, free: 1.504 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.058e-06/0.00559, allocations: 0 / 453.1 MB, free: 1.504 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005591, allocations: 0 / 453.1 MB, free: 1.504 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.005598, allocations: 0 / 453.1 MB, free: 1.504 MB / 426.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.0003632/0.005961, allocations: 324.1 kB / 453.4 MB, free: 1.168 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.005989, allocations: 12.03 kB / 453.5 MB, free: 1.156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.006228, allocations: 135.7 kB / 453.6 MB, free: 1.008 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.525e-05/0.006294, allocations: 111.3 kB / 453.7 MB, free: 0.875 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.006309, allocations: 8.375 kB / 453.7 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.006327, allocations: 6.719 kB / 453.7 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.006484, allocations: 154.2 kB / 453.9 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.006492, allocations: 4.188 kB / 453.9 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.006499, allocations: 1.781 kB / 453.9 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.006504, allocations: 3.938 kB / 453.9 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.006543, allocations: 21.95 kB / 453.9 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.006803, allocations: 213.7 kB / 454.1 MB, free: 452 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.00691, allocations: 62.53 kB / 454.2 MB, free: 380 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.006929, allocations: 17.75 kB / 454.2 MB, free: 360 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.00694, allocations: 11.94 kB / 454.2 MB, free: 348 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.006956, allocations: 31.56 kB / 454.2 MB, free: 308 kB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.006957, allocations: 0 / 454.2 MB, free: 308 kB / 426.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.007237/0.01419, allocations: 2.16 MB / 456.4 MB, free: 14.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.01422, allocations: 53.09 kB / 456.4 MB, free: 14.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.01426, allocations: 111.3 kB / 456.5 MB, free: 13.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.0143, allocations: 29.7 kB / 456.6 MB, free: 13.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.01432, allocations: 88.09 kB / 456.7 MB, free: 13.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.01437, allocations: 44.69 kB / 456.7 MB, free: 13.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.206e-05/0.01447, allocations: 61.56 kB / 456.8 MB, free: 13.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.01453, allocations: 314.8 kB / 457.1 MB, free: 13.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.01464, allocations: 100.6 kB / 457.2 MB, free: 13.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.95e-05/0.01474, allocations: 104.3 kB / 457.3 MB, free: 13.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.01497, allocations: 224.6 kB / 457.5 MB, free: 12.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.01497, allocations: 0.75 kB / 457.5 MB, free: 12.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002852/0.01526, allocations: 250.3 kB / 457.7 MB, free: 12.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.01527, allocations: 5.656 kB / 457.7 MB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.01527, allocations: 0 / 457.7 MB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.01528, allocations: 4 kB / 457.7 MB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.01563, allocations: 126.2 kB / 457.9 MB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.01563, allocations: 0 / 457.9 MB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.0159, allocations: 32.73 kB / 457.9 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.01593, allocations: 19.94 kB / 457.9 MB, free: 12.55 MB / 442.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 9.582e-05/0.01603, allocations: 114.4 kB / 458 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.01608, allocations: 14.09 kB / 458 MB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.01611, allocations: 12.12 kB / 458.1 MB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.01611, allocations: 0 / 458.1 MB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.01612, allocations: 1.312 kB / 458.1 MB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01612, allocations: 0 / 458.1 MB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.01663, allocations: 474.9 kB / 458.5 MB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01663, allocations: 5.188 kB / 458.5 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.01698, allocations: 121.5 kB / 458.6 MB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.01704, allocations: 27.89 kB / 458.7 MB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.01705, allocations: 0 / 458.7 MB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.01707, allocations: 23.94 kB / 458.7 MB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01708, allocations: 0.6875 kB / 458.7 MB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01708, allocations: 320 / 458.7 MB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.01754, allocations: 448.6 kB / 459.1 MB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.01757, allocations: 7.984 kB / 459.1 MB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.01779, allocations: 27.91 kB / 459.2 MB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.01784, allocations: 27.92 kB / 459.2 MB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.01787, allocations: 19.92 kB / 459.2 MB, free: 11.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.095e-05/0.01788, allocations: 13.62 kB / 459.2 MB, free: 11.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01788, allocations: 0 / 459.2 MB, free: 11.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.01809, allocations: 55.94 kB / 459.3 MB, free: 11.14 MB / 442.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.0001356/0.01822, allocations: 89.62 kB / 459.4 MB, free: 11.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.01851, allocations: 247.9 kB / 459.6 MB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.01851, allocations: 0 / 459.6 MB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.01868, allocations: 137.2 kB / 459.7 MB, free: 10.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.01888, allocations: 112 kB / 459.9 MB, free: 10.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.02027, allocations: 0.5723 MB / 460.4 MB, free: 9.992 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.0203, allocations: 61.78 kB / 460.5 MB, free: 9.914 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002829/0.02059, allocations: 96.77 kB / 460.6 MB, free: 9.875 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.02084, allocations: 103.9 kB / 460.7 MB, free: 9.773 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02084, allocations: 0 / 460.7 MB, free: 9.773 MB / 442.7 MB Notification: Performance of Templates: time 0.004315/0.02516, allocations: 3.875 MB / 464.6 MB, free: 6.047 MB / 442.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.703439445234835]