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.0009476/0.0009476, 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.0009711/0.0009711, 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.145/1.145, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.828/0.828, allocations: 154.9 MB / 415.1 MB, free: 236 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.873e-06/1.873e-06, allocations: 0 / 480.5 MB, free: 6.422 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.705e-05, allocations: 6.547 kB / 480.5 MB, free: 6.418 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002/0.002027, allocations: 0.6562 MB / 481.1 MB, free: 5.797 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.004193, allocations: 1.473 MB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.004221, allocations: 1.875 kB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.004239, allocations: 4.922 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.312e-05/0.004272, allocations: 0 / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.004838, allocations: 146.2 kB / 482.8 MB, free: 4.188 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.22e-05/0.00492, allocations: 29.72 kB / 482.8 MB, free: 4.16 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.00496, allocations: 8.922 kB / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.525e-05/0.005045, allocations: 20.73 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.005134, allocations: 25.06 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.005151, allocations: 0.9062 kB / 482.8 MB, free: 4.109 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.005597, allocations: 258.7 kB / 483.1 MB, free: 3.859 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.005619, allocations: 12.69 kB / 483.1 MB, free: 3.848 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.005641, allocations: 11.98 kB / 483.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.005952, allocations: 200.3 kB / 483.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.005955, allocations: 0 / 483.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005956, allocations: 1.156 kB / 483.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.00596, allocations: 0 / 483.3 MB, free: 3.641 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.0004096/0.00637, allocations: 267.3 kB / 483.6 MB, free: 3.359 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.006409, allocations: 13.97 kB / 483.6 MB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003035/0.006712, allocations: 58.47 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/0.006805, allocations: 101.8 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.006821, allocations: 4.969 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.006843, allocations: 8.375 kB / 483.8 MB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.007031, allocations: 102.5 kB / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.007039, allocations: 192 / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.00705, allocations: 1.188 kB / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.007057, allocations: 3.938 kB / 483.9 MB, free: 3.039 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.724e-05/0.007105, allocations: 12.67 kB / 483.9 MB, free: 3.027 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.007232, allocations: 69.34 kB / 483.9 MB, free: 2.945 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.007431, allocations: 43.73 kB / 484 MB, free: 2.895 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.007465, allocations: 13.48 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/0.007669, allocations: 50.62 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.007697, allocations: 38.48 kB / 484.1 MB, free: 2.785 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.007699, allocations: 5.781 kB / 484.1 MB, free: 2.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005041/0.008203, allocations: 197.2 kB / 484.3 MB, free: 2.559 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.008239, allocations: 55.41 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.816e-05/0.008297, allocations: 99.19 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.008314, allocations: 34.7 kB / 484.5 MB, free: 2.344 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.741e-05/0.008342, allocations: 84.12 kB / 484.5 MB, free: 2.258 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.008374, allocations: 19.78 kB / 484.6 MB, free: 2.238 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.008418, allocations: 18.72 kB / 484.6 MB, free: 2.215 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.008508, allocations: 318.8 kB / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.008537, allocations: 9.078 kB / 484.9 MB, free: 1.887 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.301e-05/0.00856, allocations: 8 kB / 484.9 MB, free: 1.879 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.836e-05/0.008618, allocations: 24.78 kB / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008619, allocations: 2.344 kB / 484.9 MB, free: 1.852 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.799e-05/0.008717, allocations: 49.69 kB / 485 MB, free: 1.797 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.00873, allocations: 4 kB / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.008734, allocations: 0 / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.008746, allocations: 0 / 485 MB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.008857, allocations: 21.02 kB / 485 MB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.008859, allocations: 0 / 485 MB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.008908, allocations: 12.7 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.008916, allocations: 1.906 kB / 485 MB, free: 1.762 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 6.931e-05/0.008986, allocations: 113.8 kB / 485.1 MB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.009003, allocations: 8.234 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.009163, allocations: 76.22 kB / 485.2 MB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.009165, allocations: 0.5 kB / 485.2 MB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.009167, allocations: 0 / 485.2 MB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.009171, allocations: 4.719 kB / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.219e-05/0.009263, allocations: 73.89 kB / 485.3 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009265, allocations: 1.094 kB / 485.3 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.009367, allocations: 19.97 kB / 485.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.009369, allocations: 0.875 kB / 485.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.009379, allocations: 0 / 485.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.00938, allocations: 0.9688 kB / 485.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.009381, allocations: 0 / 485.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.009548, allocations: 101.5 kB / 485.4 MB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.009582, allocations: 7.984 kB / 485.4 MB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.009597, allocations: 0.75 kB / 485.4 MB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.009653, allocations: 4.5 kB / 485.4 MB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.009677, allocations: 8.516 kB / 485.4 MB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.009686, allocations: 0.9062 kB / 485.4 MB, free: 1.305 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.191e-05/0.009697, allocations: 8.859 kB / 485.5 MB, free: 1.293 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.009698, allocations: 0.9375 kB / 485.5 MB, free: 1.293 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.009933, allocations: 35.86 kB / 485.5 MB, free: 1.258 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.0001797/0.01011, allocations: 109.1 kB / 485.6 MB, free: 1.141 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.01022, allocations: 38.56 kB / 485.6 MB, free: 1.102 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.01022, allocations: 4 kB / 485.6 MB, free: 1.098 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.489e-05/0.01026, allocations: 16.84 kB / 485.7 MB, free: 1.078 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.717e-05/0.01034, allocations: 4 kB / 485.7 MB, free: 1.074 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.01072, allocations: 145.2 kB / 485.8 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.551e-05/0.01076, allocations: 59.3 kB / 485.9 MB, free: 0.832 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.16e-05/0.01085, allocations: 27.34 kB / 485.9 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.01093, allocations: 56.09 kB / 485.9 MB, free: 0.7578 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01094, allocations: 0 / 485.9 MB, free: 0.7578 MB / 442.7 MB Notification: Performance of Templates: time 0.003854/0.01479, allocations: 1.323 MB / 487.3 MB, free: 15.53 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.69103748165071]