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.001201/0.001201, allocations: 92.22 kB / 19.65 MB, free: 276 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.001164/0.001164, allocations: 173 kB / 23.02 MB, free: 1.547 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.9602/0.9602, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8097/0.8097, allocations: 154.9 MB / 414.8 MB, free: 408 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.493e-06/1.493e-06, allocations: 0 / 0.5207 GB, free: 1.762 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.236e-05, allocations: 4.141 kB / 0.5208 GB, free: 1.758 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001125/0.001147, allocations: 0.6242 MB / 0.5214 GB, free: 1.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.002701, allocations: 1.468 MB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.002727, allocations: 0 / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.002745, allocations: 5.375 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 2.968e-05/0.002774, allocations: 0 / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.00329, allocations: 143.8 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.003354, allocations: 31.91 kB / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.00339, allocations: 0 / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.003445, allocations: 19.98 kB / 0.523 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.003511, allocations: 27.94 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.003527, allocations: 7.938 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002614/0.003788, allocations: 239.5 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.003805, allocations: 12.48 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.003827, allocations: 8.453 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.004069, allocations: 207.5 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.004072, allocations: 5.062 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004072, allocations: 0 / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.004076, allocations: 0 / 0.5235 GB, free: 14.99 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.0003845/0.004461, allocations: 392.8 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.004498, allocations: 12.75 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.004734, allocations: 47.47 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.706e-05/0.004811, allocations: 113.6 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.004822, allocations: 384 / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.004844, allocations: 5.375 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.005016, allocations: 105.2 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.005023, allocations: 1.562 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.005035, allocations: 384 / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.005041, allocations: 3.938 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/0.005089, allocations: 19.98 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.005217, allocations: 121.2 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.005406, allocations: 57.02 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.564e-05/0.005442, allocations: 23.77 kB / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.005612, allocations: 49.89 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.005637, allocations: 34.14 kB / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.005638, allocations: 4 kB / 0.5244 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.0004508/0.006089, allocations: 223.3 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.006116, allocations: 56.47 kB / 0.5247 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.813e-05/0.006174, allocations: 157.9 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.006188, allocations: 29.7 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.006217, allocations: 127.8 kB / 0.525 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.006242, allocations: 11.84 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.006279, allocations: 40.09 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.006384, allocations: 496.1 kB / 0.5255 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.00641, allocations: 10.75 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.006433, allocations: 11.98 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.504e-05/0.006488, allocations: 35.88 kB / 0.5256 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.006489, allocations: 0 / 0.5256 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.794e-05/0.006577, allocations: 65.62 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.006588, allocations: 4 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.006593, allocations: 0 / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.006604, allocations: 6.797 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.006676, allocations: 23.92 kB / 0.5257 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.006682, allocations: 3.984 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.981e-05/0.006712, allocations: 4 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.006719, allocations: 4 kB / 0.5257 GB, free: 12.52 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 6.725e-05/0.006786, allocations: 165.9 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.006798, allocations: 4 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.006936, allocations: 84.09 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006937, allocations: 0.6562 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.006941, allocations: 4.594 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.006945, allocations: 4 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.395e-05/0.007019, allocations: 117.2 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.007021, allocations: 4 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/0.007083, allocations: 23.36 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.007084, allocations: 0 / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.007093, allocations: 0 / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.007094, allocations: 4 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007095, allocations: 0 / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.007248, allocations: 124.2 kB / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.064e-05/0.007279, allocations: 8.172 kB / 0.5262 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.007291, allocations: 6.469 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.00733, allocations: 11.98 kB / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.007352, allocations: 7.938 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.007358, allocations: 3.984 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.868e-05/0.007387, allocations: 123.2 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007387, allocations: 0.9062 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001489/0.007536, allocations: 35.81 kB / 0.5264 GB, free: 11.73 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.0001317/0.007667, allocations: 128.6 kB / 0.5265 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.007788, allocations: 47.59 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.00779, allocations: 2.156 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.14e-05/0.007822, allocations: 27.67 kB / 0.5266 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.007929, allocations: 4 kB / 0.5266 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.008248, allocations: 160.5 kB / 0.5267 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.041e-05/0.008278, allocations: 55.36 kB / 0.5268 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.679e-05/0.008335, allocations: 20.33 kB / 0.5268 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.008371, allocations: 12.5 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/0.008372, allocations: 0 / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.00265/0.01102, allocations: 1.296 MB / 0.5281 GB, free: 10 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.7729904199950397]