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.000678/0.000678, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008543/0.001532, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009694/0.0009694, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008747/0.001844, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9117/0.9117, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08724/0.999, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.7607/0.7607, allocations: 154.6 MB / 398.5 MB, free: 0.5039 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2627/1.023, allocations: 49.04 MB / 447.6 MB, free: 6.66 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/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.863e-06/1.863e-06, allocations: 3.938 kB / 448.9 MB, free: 5.312 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.363e-05, allocations: 8.562 kB / 449 MB, free: 5.305 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001868/0.001891, allocations: 0.661 MB / 449.6 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.003998, allocations: 1.489 MB / 451.1 MB, free: 3.191 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.004018, allocations: 0 / 451.1 MB, free: 3.191 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.246e-06/0.004027, allocations: 3.938 kB / 451.1 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.17e-05/0.004038, allocations: 0.5469 kB / 451.1 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.004523, allocations: 133.8 kB / 451.2 MB, free: 3.062 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.789e-05/0.004611, allocations: 26.17 kB / 451.3 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.004651, allocations: 4 kB / 451.3 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.004738, allocations: 26.78 kB / 451.3 MB, free: 3.012 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.659e-05/0.004835, allocations: 24.61 kB / 451.3 MB, free: 2.988 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.004853, allocations: 0 / 451.3 MB, free: 2.988 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/0.005331, allocations: 260 kB / 451.6 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.005349, allocations: 1.422 kB / 451.6 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.00537, allocations: 7.172 kB / 451.6 MB, free: 2.738 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.005687, allocations: 167.7 kB / 451.7 MB, free: 2.574 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.798e-05/0.005705, allocations: 0 / 451.7 MB, free: 2.574 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005706, allocations: 0 / 451.7 MB, free: 2.574 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.005726, allocations: 0 / 451.7 MB, free: 2.574 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005498/0.006276, allocations: 280.8 kB / 452 MB, free: 2.277 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.006312, allocations: 8.656 kB / 452 MB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.006669, allocations: 135.7 kB / 452.2 MB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.006775, allocations: 109.8 kB / 452.3 MB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.006795, allocations: 384 / 452.3 MB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.006831, allocations: 4.375 kB / 452.3 MB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.007041, allocations: 102.4 kB / 452.4 MB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.007049, allocations: 192 / 452.4 MB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.00706, allocations: 1.031 kB / 452.4 MB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.007069, allocations: 6.781 kB / 452.4 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.464e-05/0.007123, allocations: 8 kB / 452.4 MB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.007254, allocations: 69.03 kB / 452.5 MB, free: 1.781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.007477, allocations: 48.06 kB / 452.5 MB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.007513, allocations: 12.86 kB / 452.5 MB, free: 1.711 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.007725, allocations: 50.97 kB / 452.6 MB, free: 1.664 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.007757, allocations: 30.56 kB / 452.6 MB, free: 1.625 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.007759, allocations: 4.844 kB / 452.6 MB, free: 1.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005271/0.008286, allocations: 203.3 kB / 452.8 MB, free: 1.391 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.00832, allocations: 56.03 kB / 452.8 MB, free: 1.324 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.008378, allocations: 103.3 kB / 452.9 MB, free: 1.211 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.008394, allocations: 26.33 kB / 453 MB, free: 1.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.008424, allocations: 80.14 kB / 453.1 MB, free: 1.098 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.008455, allocations: 16.47 kB / 453.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.008503, allocations: 29.62 kB / 453.1 MB, free: 1.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.008587, allocations: 319.4 kB / 453.4 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.008613, allocations: 8.672 kB / 453.4 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.997e-05/0.008633, allocations: 4 kB / 453.4 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.973e-05/0.008693, allocations: 26.81 kB / 453.4 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.008694, allocations: 0 / 453.4 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.212e-05/0.008786, allocations: 53.69 kB / 453.5 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.0088, allocations: 4 kB / 453.5 MB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.008805, allocations: 0.75 kB / 453.5 MB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/0.008814, allocations: 0 / 453.5 MB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.008931, allocations: 24.8 kB / 453.5 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.008936, allocations: 4.609 kB / 453.5 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.117e-05/0.008987, allocations: 13.83 kB / 453.5 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.008995, allocations: 0.625 kB / 453.5 MB, free: 0.5859 MB / 426.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 7.301e-05/0.009068, allocations: 119 kB / 453.7 MB, free: 472 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.009087, allocations: 7.984 kB / 453.7 MB, free: 464 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.00925, allocations: 77.48 kB / 453.7 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.009252, allocations: 0 / 453.7 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.009254, allocations: 0 / 453.7 MB, free: 384 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.00926, allocations: 3.938 kB / 453.8 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.357e-05/0.009353, allocations: 69.91 kB / 453.8 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009355, allocations: 0.75 kB / 453.8 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.009475, allocations: 24.75 kB / 453.8 MB, free: 268 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.009509, allocations: 4 kB / 453.8 MB, free: 264 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.009512, allocations: 1.156 kB / 453.9 MB, free: 264 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.009523, allocations: 4 kB / 453.9 MB, free: 260 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.009526, allocations: 4 kB / 453.9 MB, free: 256 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.009528, allocations: 0.9062 kB / 453.9 MB, free: 256 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.00968, allocations: 98.69 kB / 454 MB, free: 140 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.009694, allocations: 8.844 kB / 454 MB, free: 132 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.671e-05/0.009741, allocations: 5.156 kB / 454 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.009757, allocations: 3.984 kB / 454 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.009765, allocations: 8 kB / 454 MB, free: 116 kB / 426.7 MB Notification: Performance of sorting global known variables: time 8.606e-06/0.009774, allocations: 5.609 kB / 454 MB, free: 108 kB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009774, allocations: 3.938 kB / 454 MB, free: 104 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001284/0.009902, allocations: 32.45 kB / 454 MB, free: 72 kB / 426.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.0001695/0.01007, allocations: 105.7 kB / 454.1 MB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.361e-05/0.01016, allocations: 40.77 kB / 454.2 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.01016, allocations: 0.8125 kB / 454.2 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/0.01018, allocations: 24.78 kB / 454.2 MB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.534e-05/0.01025, allocations: 9.219 kB / 454.2 MB, free: 15.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/0.01051, allocations: 133.9 kB / 454.3 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.01055, allocations: 59.34 kB / 454.4 MB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.0106, allocations: 17.34 kB / 454.4 MB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.01066, allocations: 55.97 kB / 454.5 MB, free: 15.59 MB / 442.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01066, allocations: 0 / 454.5 MB, free: 15.59 MB / 442.7 MB Notification: Performance of Templates: time 0.002591/0.01325, allocations: 1.336 MB / 455.8 MB, free: 14.34 MB / 442.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.5084354849532247]