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.001345/0.001345, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001726/0.001726, allocations: 177 kB / 23.36 MB, free: 1.137 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.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.434 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.7422/0.7422, allocations: 154.9 MB / 415.1 MB, free: 200 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.282e-06/1.282e-06, allocations: 0 / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.177e-05, allocations: 8.938 kB / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001187/0.001209, allocations: 0.6101 MB / 481 MB, free: 5.895 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.002723, allocations: 1.481 MB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.002748, allocations: 0 / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.002761, allocations: 3.938 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.808e-05/0.002789, allocations: 1.156 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.003214, allocations: 149.4 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.686e-05/0.003271, allocations: 28.62 kB / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.074e-05/0.003301, allocations: 0 / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.554e-05/0.003357, allocations: 29.27 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.003424, allocations: 16.73 kB / 482.7 MB, free: 4.203 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.00344, allocations: 4 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.00372, allocations: 250.6 kB / 483 MB, free: 3.961 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.003738, allocations: 8.75 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.003758, allocations: 16.81 kB / 483 MB, free: 3.938 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.003973, allocations: 199.5 kB / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003975, allocations: 0.875 kB / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003976, allocations: 0 / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.003979, allocations: 0 / 483.2 MB, free: 3.742 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.0003042/0.004283, allocations: 276.2 kB / 483.5 MB, free: 3.453 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.004315, allocations: 8.656 kB / 483.5 MB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.004526, allocations: 51.38 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.22e-05/0.004598, allocations: 110.4 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.00461, allocations: 8.375 kB / 483.7 MB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.004626, allocations: 0.9375 kB / 483.7 MB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.004765, allocations: 99.72 kB / 483.8 MB, free: 3.148 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.00477, allocations: 8.125 kB / 483.8 MB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.004778, allocations: 384 / 483.8 MB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.004782, allocations: 3.938 kB / 483.8 MB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.254e-05/0.004815, allocations: 9.078 kB / 483.8 MB, free: 3.129 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.083e-05/0.004906, allocations: 74.14 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.005043, allocations: 39.48 kB / 483.9 MB, free: 2.996 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.005065, allocations: 13.48 kB / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.005201, allocations: 51.78 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.005219, allocations: 35.62 kB / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.00522, allocations: 0 / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003665/0.005586, allocations: 202.9 kB / 484.2 MB, free: 2.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.005611, allocations: 51.41 kB / 484.2 MB, free: 2.598 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.005909, allocations: 104.3 kB / 484.3 MB, free: 2.484 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.005922, allocations: 29.64 kB / 484.4 MB, free: 2.449 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.033e-05/0.005942, allocations: 80.14 kB / 484.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.005971, allocations: 33.05 kB / 484.5 MB, free: 2.336 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.006, allocations: 13.72 kB / 484.5 MB, free: 2.316 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.006062, allocations: 310.8 kB / 484.8 MB, free: 2.004 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.006081, allocations: 12.83 kB / 484.8 MB, free: 1.992 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.006098, allocations: 8.062 kB / 484.8 MB, free: 1.984 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.00614, allocations: 29.98 kB / 484.8 MB, free: 1.953 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.006141, allocations: 0 / 484.8 MB, free: 1.953 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.407e-05/0.006206, allocations: 49.62 kB / 484.9 MB, free: 1.898 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.006217, allocations: 8.906 kB / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.006221, allocations: 0 / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.006229, allocations: 0.5938 kB / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.006293, allocations: 17.11 kB / 484.9 MB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.006296, allocations: 0 / 484.9 MB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.502e-05/0.006331, allocations: 12.86 kB / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.006339, allocations: 11.94 kB / 484.9 MB, free: 1.855 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 4.806e-05/0.006387, allocations: 107.2 kB / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/0.006397, allocations: 4 kB / 485 MB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.006504, allocations: 72.12 kB / 485.1 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006506, allocations: 0.875 kB / 485.1 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.006508, allocations: 3.984 kB / 485.1 MB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.006512, allocations: 3.938 kB / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.554e-05/0.006578, allocations: 72.25 kB / 485.2 MB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006579, allocations: 0 / 485.2 MB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.006637, allocations: 19.98 kB / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.006638, allocations: 0 / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.006644, allocations: 0 / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.006645, allocations: 1.75 kB / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.006647, allocations: 3.984 kB / 485.2 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.006757, allocations: 101 kB / 485.3 MB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.006783, allocations: 5.906 kB / 485.3 MB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.006793, allocations: 0 / 485.3 MB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.686e-05/0.00683, allocations: 15.98 kB / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.006845, allocations: 3.984 kB / 485.3 MB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.00685, allocations: 4.688 kB / 485.3 MB, free: 1.402 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.728e-06/0.00686, allocations: 8.859 kB / 485.4 MB, free: 1.391 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00686, allocations: 0.5312 kB / 485.4 MB, free: 1.391 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001302/0.00699, allocations: 30.09 kB / 485.4 MB, free: 1.363 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.0001297/0.00712, allocations: 116.2 kB / 485.5 MB, free: 1.238 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.411e-05/0.007194, allocations: 32.72 kB / 485.5 MB, free: 1.203 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.007196, allocations: 4 kB / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.053e-05/0.007217, allocations: 13.42 kB / 485.5 MB, free: 1.184 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.491e-05/0.007281, allocations: 14.2 kB / 485.6 MB, free: 1.172 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.007545, allocations: 129.3 kB / 485.7 MB, free: 1.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.657e-05/0.007571, allocations: 59.34 kB / 485.7 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.536e-05/0.007627, allocations: 21.2 kB / 485.8 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.007686, allocations: 61.05 kB / 485.8 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007686, allocations: 0 / 485.8 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of Templates: time 0.002834/0.01052, allocations: 1.332 MB / 487.2 MB, free: 15.63 MB / 458.7 MB " [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.68553663790226]