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.0007436/0.0007436, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007457/0.0007457, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8321/0.8321, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-531:686: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-531:694: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.692/0.692, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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.894e-06/1.894e-06, allocations: 0 / 0.6194 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/3.121e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001288/0.001319, allocations: 0.6038 MB / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.002839, allocations: 1.431 MB / 0.6214 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.002867, allocations: 0 / 0.6214 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.002885, allocations: 7.938 kB / 0.6214 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.765e-05/0.002912, allocations: 3.938 kB / 0.6214 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.003401, allocations: 135.4 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.676e-05/0.003467, allocations: 31.91 kB / 0.6216 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.003509, allocations: 8 kB / 0.6216 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.707e-05/0.003566, allocations: 19.98 kB / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.003634, allocations: 19.95 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.003651, allocations: 3.984 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.003939, allocations: 255.4 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.003955, allocations: 3.984 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.003977, allocations: 11.94 kB / 0.6219 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.004232, allocations: 203.4 kB / 0.6221 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.004235, allocations: 3.938 kB / 0.6221 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.924e-06/0.004237, allocations: 0 / 0.6221 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.004242, allocations: 0 / 0.6221 GB, free: 10.38 MB / 0.5886 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.0004227/0.004665, allocations: 294 kB / 0.6223 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.004702, allocations: 8.031 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002757/0.004978, allocations: 68.84 kB / 0.6224 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.23e-05/0.00506, allocations: 109.8 kB / 0.6225 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.005083, allocations: 384 / 0.6225 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.005108, allocations: 8.328 kB / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.005292, allocations: 103.9 kB / 0.6226 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.005299, allocations: 192 / 0.6226 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.005311, allocations: 384 / 0.6226 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.00532, allocations: 3.938 kB / 0.6226 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.005472, allocations: 67.88 kB / 0.6227 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.005608, allocations: 113.3 kB / 0.6228 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.005957, allocations: 118.6 kB / 0.6229 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.011e-05/0.006047, allocations: 48.91 kB / 0.623 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/0.006288, allocations: 75.91 kB / 0.623 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.006311, allocations: 38.55 kB / 0.6231 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.006312, allocations: 0 / 0.6231 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0007454/0.007058, allocations: 333 kB / 0.6234 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.007091, allocations: 55.34 kB / 0.6234 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.333e-05/0.007154, allocations: 93.86 kB / 0.6235 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.007169, allocations: 25.7 kB / 0.6236 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/0.007193, allocations: 84.2 kB / 0.6236 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.007223, allocations: 19.91 kB / 0.6237 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.00726, allocations: 21.7 kB / 0.6237 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.007345, allocations: 318.8 kB / 0.624 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.584e-05/0.007431, allocations: 35.95 kB / 0.624 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.007503, allocations: 35.97 kB / 0.624 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.007667, allocations: 80.98 kB / 0.6241 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.007668, allocations: 0 / 0.6241 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002026/0.007871, allocations: 109.6 kB / 0.6242 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.007884, allocations: 8 kB / 0.6242 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.00789, allocations: 3.984 kB / 0.6242 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.007904, allocations: 4 kB / 0.6242 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.777e-05/0.007982, allocations: 27.86 kB / 0.6243 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.007987, allocations: 0 / 0.6243 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.008029, allocations: 11.98 kB / 0.6243 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.008038, allocations: 8 kB / 0.6243 GB, free: 7.883 MB / 0.5886 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.122e-05/0.008099, allocations: 114.8 kB / 0.6244 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-06/0.008108, allocations: 0 / 0.6244 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.008379, allocations: 129.4 kB / 0.6245 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.008384, allocations: 7.984 kB / 0.6245 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.00839, allocations: 3.938 kB / 0.6245 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.008393, allocations: 4 kB / 0.6245 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.008495, allocations: 109.3 kB / 0.6246 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008496, allocations: 0 / 0.6246 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.152e-05/0.008578, allocations: 27.91 kB / 0.6247 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.008581, allocations: 0 / 0.6247 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.008591, allocations: 4 kB / 0.6247 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.008594, allocations: 0 / 0.6247 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.008595, allocations: 0 / 0.6247 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.008925, allocations: 197 kB / 0.6249 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.008964, allocations: 8.031 kB / 0.6249 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.008979, allocations: 3.984 kB / 0.6249 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.906e-05/0.009028, allocations: 11.98 kB / 0.6249 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.009051, allocations: 7.938 kB / 0.6249 GB, free: 7.203 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.009058, allocations: 3.984 kB / 0.6249 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.855e-05/0.009087, allocations: 83.28 kB / 0.625 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009087, allocations: 4.156 kB / 0.625 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001682/0.009255, allocations: 31.81 kB / 0.625 GB, free: 7.082 MB / 0.5886 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.000178/0.009433, allocations: 131 kB / 0.6251 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.009658, allocations: 83.92 kB / 0.6252 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.00966, allocations: 0 / 0.6252 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.009739, allocations: 47.89 kB / 0.6253 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.00986, allocations: 4 kB / 0.6253 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.01028, allocations: 194.5 kB / 0.6254 GB, free: 6.59 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.832e-05/0.01031, allocations: 63.34 kB / 0.6255 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.01036, allocations: 20.48 kB / 0.6255 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.01036, allocations: 0 / 0.6255 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of Templates: time 0.002063/0.01242, allocations: 1.148 MB / 0.6266 GB, free: 5.344 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.028613732196391] Failed to read output from testmodel.py, exit status != 0: 0.018205025233328342 0.030867971 0.024358213 Calling exit ...