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.001466/0.001466, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001116/0.001116, allocations: 169 kB / 23.27 MB, free: 1.223 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.2 MB / 203.7 MB, free: 5.52 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.7774/0.7774, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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 2.795e-06/2.795e-06, allocations: 4.766 kB / 0.5208 GB, free: 1.801 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.334e-05, allocations: 5.375 kB / 0.5208 GB, free: 1.797 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001428/0.001451, allocations: 0.6098 MB / 0.5214 GB, free: 1.207 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.003194, allocations: 1.463 MB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.003222, allocations: 0 / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.003238, allocations: 0 / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 2.812e-05/0.003266, allocations: 0.9688 kB / 0.5229 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.003726, allocations: 142.3 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.235e-05/0.003789, allocations: 31.95 kB / 0.523 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.369e-05/0.003823, allocations: 8 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.003883, allocations: 12.48 kB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.003953, allocations: 28.69 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.003967, allocations: 0 / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.004314, allocations: 256.6 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.004331, allocations: 7.969 kB / 0.5233 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.004352, allocations: 11.98 kB / 0.5233 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.00463, allocations: 200.1 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004632, allocations: 0 / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004633, allocations: 1.812 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.004636, allocations: 0 / 0.5235 GB, free: 15.05 MB / 0.4948 GB 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.0003677/0.005004, allocations: 391.9 kB / 0.5239 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.005042, allocations: 12.03 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004411/0.005483, allocations: 52.08 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.776e-05/0.005561, allocations: 112.6 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.005574, allocations: 1 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.005592, allocations: 5.125 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.005748, allocations: 106 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.005755, allocations: 192 / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.005764, allocations: 384 / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.00577, allocations: 5.156 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.073e-05/0.005811, allocations: 19.92 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.005937, allocations: 101.3 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.006112, allocations: 60.94 kB / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.00614, allocations: 15.69 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.006321, allocations: 52.88 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.006342, allocations: 37.33 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.006343, allocations: 0 / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.0003758/0.006719, allocations: 217.7 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.006743, allocations: 55.41 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.006864, allocations: 155.4 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.006877, allocations: 25.7 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.006907, allocations: 130.9 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.006937, allocations: 19.81 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.006978, allocations: 28.31 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.007085, allocations: 496.1 kB / 0.5255 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.007108, allocations: 8.938 kB / 0.5255 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.007131, allocations: 7.984 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.52e-05/0.007186, allocations: 33.86 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.007187, allocations: 0 / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001095/0.007297, allocations: 69.58 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.007308, allocations: 4 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.007313, allocations: 4 kB / 0.5257 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.007324, allocations: 0 / 0.5257 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.007403, allocations: 17.3 kB / 0.5257 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.007407, allocations: 3.938 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.798e-05/0.007445, allocations: 8.641 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.007452, allocations: 4.781 kB / 0.5257 GB, free: 12.62 MB / 0.4948 GB 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.762e-05/0.007519, allocations: 155.4 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.007535, allocations: 8 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.007676, allocations: 80.53 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.007677, allocations: 0 / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.007679, allocations: 3.984 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.007683, allocations: 3.938 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.773e-05/0.007771, allocations: 105.2 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.007773, allocations: 320 / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.00785, allocations: 24.7 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.007854, allocations: 7.281 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.007861, allocations: 0 / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.007863, allocations: 3.984 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.007865, allocations: 3.984 kB / 0.5261 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.008021, allocations: 120.3 kB / 0.5262 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.008049, allocations: 3.953 kB / 0.5262 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.008062, allocations: 7.984 kB / 0.5262 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.417e-05/0.008106, allocations: 11.59 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.008127, allocations: 7.984 kB / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.008138, allocations: 0 / 0.5262 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.008172, allocations: 123.2 kB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008173, allocations: 0 / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002077/0.00838, allocations: 31.86 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB 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.0002677/0.008648, allocations: 135 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.408e-05/0.008742, allocations: 38.45 kB / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008743, allocations: 0 / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.008776, allocations: 23.67 kB / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.008907, allocations: 10.03 kB / 0.5266 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.009214, allocations: 146.2 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.024e-05/0.009244, allocations: 60 kB / 0.5268 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.894e-05/0.009313, allocations: 16.97 kB / 0.5268 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.00939, allocations: 79.38 kB / 0.5268 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.009391, allocations: 4 kB / 0.5269 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.002918/0.01231, allocations: 1.327 MB / 0.5281 GB, free: 10.07 MB / 0.4948 GB " [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.8139456468634307]