Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009368/0.0009368, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001062/0.001062, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7677/0.7677, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.5212 GB, free: 1.43 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.208e-05, allocations: 4.281 kB / 0.5212 GB, free: 1.426 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001203/0.001225, allocations: 0.6096 MB / 0.5218 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.002848, allocations: 1.462 MB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.797e-05/0.002876, allocations: 1.75 kB / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.002891, allocations: 0 / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 2.705e-05/0.002918, allocations: 0 / 0.5232 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.003286, allocations: 146.7 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.95e-05/0.003335, allocations: 23.98 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.893e-05/0.003364, allocations: 3.984 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.003421, allocations: 26.12 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.003478, allocations: 15.97 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.003493, allocations: 7.938 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.003742, allocations: 247.5 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.003757, allocations: 7.922 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.647e-05/0.003773, allocations: 15.97 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.003991, allocations: 201.3 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003993, allocations: 0 / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003994, allocations: 0 / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.003997, allocations: 0 / 0.5239 GB, free: 14.7 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.0003463/0.004344, allocations: 392.5 kB / 0.5243 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.00438, allocations: 12.02 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.0046, allocations: 52 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.092e-05/0.004671, allocations: 113.6 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.004684, allocations: 384 / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.004701, allocations: 8.375 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.004841, allocations: 102 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.004847, allocations: 1.344 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.004856, allocations: 4.375 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.004863, allocations: 3.938 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.004896, allocations: 12.67 kB / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.005008, allocations: 105.2 kB / 0.5247 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.005163, allocations: 56.36 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.005189, allocations: 20.75 kB / 0.5247 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.005337, allocations: 52.34 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.005361, allocations: 45.39 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.005362, allocations: 0 / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.0003596/0.005722, allocations: 209.7 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.005744, allocations: 55.34 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.005804, allocations: 160.9 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.005817, allocations: 25.7 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.005848, allocations: 126.9 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.00589, allocations: 23.83 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.005943, allocations: 23.36 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.006078, allocations: 496.1 kB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.006107, allocations: 8 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-05/0.006128, allocations: 13.5 kB / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.006178, allocations: 23.67 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006179, allocations: 0 / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.726e-05/0.006266, allocations: 65.58 kB / 0.526 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.006279, allocations: 8.5 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.006283, allocations: 0.9062 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.006293, allocations: 0 / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.006369, allocations: 16.73 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.006372, allocations: 8.438 kB / 0.526 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.006404, allocations: 11.05 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.00641, allocations: 0 / 0.526 GB, free: 12.27 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 7.033e-05/0.00648, allocations: 164.6 kB / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.006491, allocations: 0 / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.006625, allocations: 87.83 kB / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.006627, allocations: 0 / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.00663, allocations: 6.016 kB / 0.5263 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.006635, allocations: 7.922 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.01e-05/0.006715, allocations: 97.27 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.006717, allocations: 8 kB / 0.5264 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/0.006783, allocations: 16.92 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.006787, allocations: 5.141 kB / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.006794, allocations: 0 / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.006795, allocations: 4 kB / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.006797, allocations: 3.984 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.00693, allocations: 109.7 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.006958, allocations: 11.94 kB / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.00697, allocations: 11.92 kB / 0.5265 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.007005, allocations: 5.281 kB / 0.5266 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.007022, allocations: 7.984 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.007029, allocations: 4.719 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.007061, allocations: 123.7 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007061, allocations: 0 / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001484/0.00721, allocations: 37.36 kB / 0.5267 GB, free: 11.52 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.0001574/0.007367, allocations: 127 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.167e-05/0.007459, allocations: 36.58 kB / 0.5269 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.007461, allocations: 0 / 0.5269 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/0.00749, allocations: 36.25 kB / 0.5269 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.007602, allocations: 6.938 kB / 0.5269 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.007881, allocations: 147.4 kB / 0.5271 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.833e-05/0.007909, allocations: 59.34 kB / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.367e-05/0.007963, allocations: 18.5 kB / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.248e-05/0.008025, allocations: 78.19 kB / 0.5272 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.008026, allocations: 0 / 0.5272 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of Templates: time 0.002848/0.01087, allocations: 1.331 MB / 0.5285 GB, free: 9.715 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6910337107256055]