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.002268/0.002268, allocations: 85.48 kB / 19.44 MB, free: 344 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.002746/0.002746, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.371/1.371, allocations: 154.8 MB / 414.4 MB, free: 464 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.613e-06/1.613e-06, allocations: 0 / 0.5199 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.025e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001782/0.001813, allocations: 0.6096 MB / 0.5205 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002427/0.004239, allocations: 1.454 MB / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/0.004261, allocations: 0.5625 kB / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.205e-05/0.004273, allocations: 0 / 0.5219 GB, free: 172 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.004309, allocations: 5.188 kB / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.004836, allocations: 141.5 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.292e-05/0.004909, allocations: 28.59 kB / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.004946, allocations: 0 / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/0.005026, allocations: 29.84 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.255e-05/0.005108, allocations: 19.97 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.005131, allocations: 4 kB / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/0.005573, allocations: 243.5 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.005598, allocations: 11.98 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.005628, allocations: 9.5 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.005999, allocations: 203.5 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.006003, allocations: 0 / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.213e-06/0.006004, allocations: 0 / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.006011, allocations: 5.281 kB / 0.5226 GB, free: 15.48 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.0006821/0.006693, allocations: 391.9 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.006733, allocations: 8.656 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000439/0.007172, allocations: 54.84 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.007302, allocations: 113.5 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.007322, allocations: 4.375 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.00735, allocations: 7.906 kB / 0.5232 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.007603, allocations: 91.91 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.007611, allocations: 192 / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.007626, allocations: 4.375 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.007632, allocations: 3.938 kB / 0.5233 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.007867, allocations: 45.08 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.00807, allocations: 117.2 kB / 0.5234 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.008592, allocations: 105.4 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.008726, allocations: 38.44 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.009043, allocations: 58.67 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.009075, allocations: 33.39 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.009076, allocations: 4 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.001071/0.01015, allocations: 285.8 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.01019, allocations: 59.92 kB / 0.524 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.01032, allocations: 160.9 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.01034, allocations: 25.7 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.01041, allocations: 126.9 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.01045, allocations: 19.84 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.01051, allocations: 31.3 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002559/0.01077, allocations: 496.1 kB / 0.5248 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.0109, allocations: 27.11 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.01102, allocations: 31.97 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.01127, allocations: 61.66 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01127, allocations: 0 / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003157/0.01159, allocations: 100.7 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.0116, allocations: 6.656 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01161, allocations: 0 / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.01162, allocations: 0 / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.01177, allocations: 27.86 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01177, allocations: 0 / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.623e-05/0.01186, allocations: 11.77 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.01187, allocations: 7.938 kB / 0.525 GB, free: 12.77 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 0.0001259/0.012, allocations: 156.6 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.01203, allocations: 4 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/0.01245, allocations: 112.1 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.01245, allocations: 4.547 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.01246, allocations: 6.312 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.01247, allocations: 4 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.01262, allocations: 120.6 kB / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01262, allocations: 0 / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.01276, allocations: 23.92 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01277, allocations: 0 / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.01278, allocations: 8.859 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01278, allocations: 0 / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01278, allocations: 0.5625 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005366/0.01332, allocations: 179 kB / 0.5256 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.01337, allocations: 4.688 kB / 0.5256 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.0134, allocations: 11.98 kB / 0.5257 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.01349, allocations: 6.031 kB / 0.5257 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.01353, allocations: 7.922 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.01354, allocations: 4 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.475e-05/0.01361, allocations: 127.2 kB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01361, allocations: 5.062 kB / 0.5258 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000245/0.01386, allocations: 31.86 kB / 0.5258 GB, free: 11.91 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.0002554/0.01411, allocations: 124.2 kB / 0.5259 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003267/0.01444, allocations: 73.45 kB / 0.526 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01444, allocations: 0.875 kB / 0.526 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.01459, allocations: 49.81 kB / 0.5261 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.01475, allocations: 8 kB / 0.5261 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006098/0.01536, allocations: 174 kB / 0.5262 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.547e-05/0.01542, allocations: 65.19 kB / 0.5263 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.237e-05/0.01551, allocations: 16.03 kB / 0.5263 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.01557, allocations: 16.44 kB / 0.5263 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.01557, allocations: 0.9375 kB / 0.5263 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.004501/0.02007, allocations: 1.217 MB / 0.5275 GB, free: 10.19 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: 6.018241478945129]