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.001339/0.001339, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.001465/0.001465, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.293/1.293, allocations: 154.8 MB / 414.3 MB, free: 480 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 178] 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.764e-06/1.764e-06, allocations: 0 / 0.5199 GB, free: 1.137 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.077e-05, allocations: 2.312 kB / 0.5199 GB, free: 1.133 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001665/0.001696, allocations: 0.6035 MB / 0.5205 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.004313, allocations: 1.428 MB / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.00434, allocations: 0 / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.004357, allocations: 5.281 kB / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.004397, allocations: 0 / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.004961, allocations: 147.4 kB / 0.522 GB, free: 14.97 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.382e-05/0.005035, allocations: 27.97 kB / 0.5221 GB, free: 14.94 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.005072, allocations: 0 / 0.5221 GB, free: 14.94 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.005163, allocations: 23.97 kB / 0.5221 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.025e-05/0.005244, allocations: 19.91 kB / 0.5221 GB, free: 14.9 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.005263, allocations: 4 kB / 0.5221 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.005701, allocations: 252 kB / 0.5224 GB, free: 14.65 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.005721, allocations: 8.969 kB / 0.5224 GB, free: 14.64 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.005754, allocations: 11.98 kB / 0.5224 GB, free: 14.63 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.006127, allocations: 203.4 kB / 0.5226 GB, free: 14.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.006131, allocations: 0.625 kB / 0.5226 GB, free: 14.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006131, allocations: 1.25 kB / 0.5226 GB, free: 14.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.006135, allocations: 0 / 0.5226 GB, free: 14.43 MB / 458.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.00062/0.006755, allocations: 290 kB / 0.5229 GB, free: 14.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.006797, allocations: 8.969 kB / 0.5229 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005476/0.007344, allocations: 69.38 kB / 0.5229 GB, free: 14.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.007497, allocations: 109.8 kB / 0.523 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.007514, allocations: 384 / 0.523 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.007546, allocations: 8.984 kB / 0.523 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.007872, allocations: 101.4 kB / 0.5231 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.007883, allocations: 1.031 kB / 0.5231 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.007903, allocations: 8.297 kB / 0.5231 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.007911, allocations: 6.031 kB / 0.5232 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.008253, allocations: 62.48 kB / 0.5232 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.00846, allocations: 117.3 kB / 0.5233 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006765/0.009137, allocations: 120.8 kB / 0.5234 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.009314, allocations: 39.36 kB / 0.5235 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004814/0.009795, allocations: 83.52 kB / 0.5236 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.009832, allocations: 34.5 kB / 0.5236 GB, free: 13.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.009833, allocations: 0 / 0.5236 GB, free: 13.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.001284/0.01112, allocations: 338 kB / 0.5239 GB, free: 12.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.01116, allocations: 55.34 kB / 0.524 GB, free: 12.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/0.01125, allocations: 94.52 kB / 0.5241 GB, free: 12.78 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.01127, allocations: 25.7 kB / 0.5241 GB, free: 12.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.01132, allocations: 84.77 kB / 0.5242 GB, free: 12.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.01136, allocations: 17.39 kB / 0.5242 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.01141, allocations: 17.72 kB / 0.5242 GB, free: 12.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.01159, allocations: 314.8 kB / 0.5245 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.01178, allocations: 37.52 kB / 0.5245 GB, free: 12.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.01195, allocations: 33.78 kB / 0.5246 GB, free: 12.24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.01228, allocations: 81.83 kB / 0.5246 GB, free: 12.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.01228, allocations: 0 / 0.5246 GB, free: 12.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004145/0.0127, allocations: 119.8 kB / 0.5248 GB, free: 12.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.01271, allocations: 8 kB / 0.5248 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01272, allocations: 0.7188 kB / 0.5248 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.01274, allocations: 0 / 0.5248 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.01291, allocations: 25.45 kB / 0.5248 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.01292, allocations: 5.547 kB / 0.5248 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01303, allocations: 15.98 kB / 0.5248 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.01304, allocations: 8.609 kB / 0.5248 GB, free: 11.98 MB / 458.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 0.0001008/0.01314, allocations: 110.8 kB / 0.5249 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.01317, allocations: 4 kB / 0.5249 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.01367, allocations: 140.1 kB / 0.5251 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01367, allocations: 0 / 0.5251 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.01368, allocations: 3.938 kB / 0.5251 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01368, allocations: 0 / 0.5251 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.01383, allocations: 115.4 kB / 0.5252 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01383, allocations: 0 / 0.5252 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.014, allocations: 27.91 kB / 0.5252 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.014, allocations: 0.9688 kB / 0.5252 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.01402, allocations: 4 kB / 0.5252 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.01402, allocations: 0 / 0.5252 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01402, allocations: 5.438 kB / 0.5252 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/0.01466, allocations: 194.6 kB / 0.5254 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.0147, allocations: 8.016 kB / 0.5254 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.01474, allocations: 4 kB / 0.5254 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.01486, allocations: 11.98 kB / 0.5254 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.0149, allocations: 9.109 kB / 0.5254 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.01491, allocations: 4.328 kB / 0.5254 GB, free: 11.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.23e-05/0.01496, allocations: 81.06 kB / 0.5255 GB, free: 11.23 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01496, allocations: 0 / 0.5255 GB, free: 11.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002529/0.01522, allocations: 31.88 kB / 0.5255 GB, free: 11.2 MB / 458.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.0002481/0.01547, allocations: 131.1 kB / 0.5257 GB, free: 11.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004127/0.01588, allocations: 76.81 kB / 0.5257 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01588, allocations: 3.938 kB / 0.5257 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.01606, allocations: 45.17 kB / 0.5258 GB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.01624, allocations: 11.47 kB / 0.5258 GB, free: 10.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/0.01695, allocations: 184.2 kB / 0.526 GB, free: 10.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.126e-05/0.01702, allocations: 67.86 kB / 0.526 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.972e-05/0.01712, allocations: 21.52 kB / 0.5261 GB, free: 10.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.01718, allocations: 12.5 kB / 0.5261 GB, free: 10.62 MB / 458.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01718, allocations: 3.219 kB / 0.5261 GB, free: 10.62 MB / 458.7 MB Notification: Performance of Templates: time 0.00433/0.02151, allocations: 1.219 MB / 0.5273 GB, free: 9.461 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.882255791919306]