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.001027/0.001027, 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.001038/0.001038, 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.048/1.048, 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.8937/0.8937, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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.463e-06/1.463e-06, allocations: 0 / 480.1 MB, free: 6.766 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.56e-05, allocations: 8.312 kB / 480.1 MB, free: 6.762 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001762/0.001787, allocations: 0.6563 MB / 480.8 MB, free: 6.141 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.003836, allocations: 1.474 MB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.003861, allocations: 0 / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.003877, allocations: 1.219 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.003914, allocations: 4.984 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.004407, allocations: 147.7 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.788e-05/0.004485, allocations: 25.7 kB / 482.4 MB, free: 4.5 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.004526, allocations: 9.297 kB / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.004599, allocations: 17.11 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.004686, allocations: 24.72 kB / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.004701, allocations: 0 / 482.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004268/0.005128, allocations: 265.3 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.005146, allocations: 7.984 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.005168, allocations: 11.92 kB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.005468, allocations: 195.6 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.005471, allocations: 4.844 kB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005472, allocations: 0 / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.005476, allocations: 1.156 kB / 483 MB, free: 3.984 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.0004104/0.005886, allocations: 271.3 kB / 483.2 MB, free: 3.699 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.005928, allocations: 15.97 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.006226, allocations: 52.22 kB / 483.3 MB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.006331, allocations: 105.8 kB / 483.4 MB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.006347, allocations: 1 kB / 483.4 MB, free: 3.508 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.006368, allocations: 4.719 kB / 483.4 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.00656, allocations: 97.86 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.00657, allocations: 4.688 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.006588, allocations: 4.938 kB / 483.5 MB, free: 3.391 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.0066, allocations: 7.938 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.967e-05/0.006649, allocations: 12.58 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.006777, allocations: 65.88 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.006967, allocations: 43.06 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.007002, allocations: 22.62 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.007187, allocations: 49.36 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.007215, allocations: 35.06 kB / 483.7 MB, free: 3.129 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.007217, allocations: 0.875 kB / 483.7 MB, free: 3.129 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004735/0.00769, allocations: 195.6 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.00772, allocations: 55.41 kB / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.497e-05/0.007775, allocations: 102.6 kB / 484.1 MB, free: 2.727 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.00779, allocations: 31.39 kB / 484.1 MB, free: 2.691 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.007816, allocations: 84.12 kB / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.007846, allocations: 23.73 kB / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.007891, allocations: 21.7 kB / 484.2 MB, free: 2.555 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.927e-05/0.00798, allocations: 320.5 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.008005, allocations: 8 kB / 484.6 MB, free: 2.227 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.008029, allocations: 8 kB / 484.6 MB, free: 2.219 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.338e-05/0.008082, allocations: 20.84 kB / 484.6 MB, free: 2.195 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.008083, allocations: 0.75 kB / 484.6 MB, free: 2.195 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.831e-05/0.008171, allocations: 45.69 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.008183, allocations: 5.25 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.008187, allocations: 0 / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.008201, allocations: 4 kB / 484.6 MB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.008291, allocations: 24.66 kB / 484.7 MB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.008294, allocations: 1.125 kB / 484.7 MB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.00834, allocations: 11.94 kB / 484.7 MB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.008348, allocations: 0.5312 kB / 484.7 MB, free: 2.102 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 6.769e-05/0.008415, allocations: 114.6 kB / 484.8 MB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.00843, allocations: 4 kB / 484.8 MB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.00857, allocations: 68.94 kB / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008572, allocations: 0 / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.008574, allocations: 0.5 kB / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.008579, allocations: 5.188 kB / 484.9 MB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.451e-05/0.008674, allocations: 78.2 kB / 484.9 MB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.008677, allocations: 3.984 kB / 484.9 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.008781, allocations: 24.86 kB / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008782, allocations: 0 / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.00879, allocations: 1.219 kB / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.008792, allocations: 0 / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.008793, allocations: 0 / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.008939, allocations: 89.58 kB / 485.1 MB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.008971, allocations: 11.75 kB / 485.1 MB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.008986, allocations: 4 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.009036, allocations: 12.52 kB / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.009057, allocations: 1.375 kB / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.009065, allocations: 0 / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.15e-05/0.009076, allocations: 8.859 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009076, allocations: 0.8438 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.009277, allocations: 43.73 kB / 485.1 MB, free: 1.602 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.0001626/0.009439, allocations: 109.6 kB / 485.2 MB, free: 1.484 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.009541, allocations: 28.78 kB / 485.3 MB, free: 1.453 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.009545, allocations: 4.625 kB / 485.3 MB, free: 1.449 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.009585, allocations: 29.64 kB / 485.3 MB, free: 1.418 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.202e-05/0.009667, allocations: 4 kB / 485.3 MB, free: 1.414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.01001, allocations: 136.5 kB / 485.4 MB, free: 1.258 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.01005, allocations: 59.34 kB / 485.5 MB, free: 1.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.329e-05/0.01013, allocations: 25.02 kB / 485.5 MB, free: 1.164 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.01022, allocations: 55.38 kB / 485.6 MB, free: 1.109 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01022, allocations: 0.9062 kB / 485.6 MB, free: 1.109 MB / 442.7 MB Notification: Performance of Templates: time 0.004384/0.0146, allocations: 1.32 MB / 486.9 MB, free: 15.88 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7232275088317692]