Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001038/0.001038, allocations: 80.94 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.001182/0.001182, allocations: 177 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.088/1.088, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7476/0.7476, allocations: 154.6 MB / 414.8 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 480.1 MB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.377e-05, allocations: 2.312 kB / 480.1 MB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001046/0.00106, allocations: 0.6133 MB / 480.7 MB, free: 6.234 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.002477, allocations: 1.473 MB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.002499, allocations: 0 / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.002512, allocations: 1.062 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.747e-05/0.00254, allocations: 1.203 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.002953, allocations: 149.3 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.003008, allocations: 25.59 kB / 482.3 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.216e-05/0.003041, allocations: 6.062 kB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.396e-05/0.003094, allocations: 24.73 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.003156, allocations: 16.52 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.003169, allocations: 4.5 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.003424, allocations: 250.4 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.00344, allocations: 9.703 kB / 482.6 MB, free: 4.305 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.003456, allocations: 11.97 kB / 482.6 MB, free: 4.293 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.003671, allocations: 199.9 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003673, allocations: 0 / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003674, allocations: 0.875 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.003677, allocations: 0 / 482.8 MB, free: 4.098 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003013/0.003978, allocations: 276.2 kB / 483.1 MB, free: 3.809 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/0.004005, allocations: 8.031 kB / 483.1 MB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.004208, allocations: 51.56 kB / 483.2 MB, free: 3.754 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.869e-05/0.004276, allocations: 114.2 kB / 483.3 MB, free: 3.617 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.004289, allocations: 4.375 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.004307, allocations: 1.781 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.004432, allocations: 97.67 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.004438, allocations: 4.188 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.004446, allocations: 3.375 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.004452, allocations: 3.938 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.233e-05/0.004484, allocations: 13.39 kB / 483.4 MB, free: 3.484 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.291e-05/0.004577, allocations: 69 kB / 483.5 MB, free: 3.402 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.004719, allocations: 42.55 kB / 483.5 MB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.004741, allocations: 17.75 kB / 483.5 MB, free: 3.332 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.004878, allocations: 54.95 kB / 483.6 MB, free: 3.281 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.004897, allocations: 34.56 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.004898, allocations: 0.875 kB / 483.6 MB, free: 3.238 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003527/0.00525, allocations: 203.9 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.005274, allocations: 51.41 kB / 483.9 MB, free: 2.945 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.297e-05/0.005317, allocations: 103.3 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.005329, allocations: 26.33 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/0.00535, allocations: 80.77 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.005378, allocations: 31.77 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.005407, allocations: 14.34 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.005483, allocations: 314.8 kB / 484.4 MB, free: 2.352 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.005501, allocations: 8.625 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.005516, allocations: 4.719 kB / 484.4 MB, free: 2.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.364e-05/0.00556, allocations: 32.77 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.005561, allocations: 0.5312 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.973e-05/0.00562, allocations: 46.25 kB / 484.5 MB, free: 2.254 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.00563, allocations: 9.375 kB / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.005634, allocations: 0 / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.005644, allocations: 0 / 484.5 MB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.005706, allocations: 17.2 kB / 484.5 MB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.00571, allocations: 3.984 kB / 484.5 MB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.005739, allocations: 8.469 kB / 484.6 MB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.005745, allocations: 4 kB / 484.6 MB, free: 2.215 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 (6): * Single equations (assignments): 6 * 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 5.251e-05/0.005798, allocations: 114.8 kB / 484.7 MB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.005808, allocations: 7.984 kB / 484.7 MB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.005912, allocations: 71.84 kB / 484.7 MB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.005913, allocations: 0 / 484.7 MB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.005914, allocations: 0 / 484.7 MB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.005919, allocations: 3.938 kB / 484.8 MB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.258e-05/0.005981, allocations: 71.91 kB / 484.8 MB, free: 1.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.005983, allocations: 4 kB / 484.8 MB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.006037, allocations: 19.97 kB / 484.8 MB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.006038, allocations: 0 / 484.8 MB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.006046, allocations: 5.438 kB / 484.9 MB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.006047, allocations: 3.938 kB / 484.9 MB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.006049, allocations: 7.938 kB / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.006157, allocations: 89.78 kB / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.00618, allocations: 4 kB / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.006191, allocations: 5.547 kB / 485 MB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.389e-05/0.006225, allocations: 12 kB / 485 MB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.006241, allocations: 3.984 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.006245, allocations: 1.281 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.445e-06/0.006254, allocations: 8.859 kB / 485 MB, free: 1.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.006254, allocations: 0 / 485 MB, free: 1.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001311/0.006385, allocations: 32.7 kB / 485 MB, free: 1.719 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001141/0.006499, allocations: 112.8 kB / 485.1 MB, free: 1.598 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.043e-05/0.006569, allocations: 33.25 kB / 485.2 MB, free: 1.562 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.006572, allocations: 4.969 kB / 485.2 MB, free: 1.559 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.153e-05/0.006593, allocations: 16.84 kB / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.25e-05/0.006656, allocations: 8.531 kB / 485.2 MB, free: 1.531 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002459/0.006902, allocations: 139.6 kB / 485.3 MB, free: 1.371 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.507e-05/0.006927, allocations: 55.89 kB / 485.4 MB, free: 1.297 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.475e-05/0.006982, allocations: 24.8 kB / 485.4 MB, free: 1.281 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.007039, allocations: 56.31 kB / 485.5 MB, free: 1.227 MB / 442.7 MB Notification: Performance of SimCode: time 5.51e-07/0.007039, allocations: 0 / 485.5 MB, free: 1.227 MB / 442.7 MB Notification: Performance of Templates: time 0.002464/0.009504, allocations: 1.332 MB / 486.8 MB, free: 15.98 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.69589116377756]