Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001391/0.001391, allocations: 92.7 kB / 19.44 MB, free: 324 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.001595/0.001595, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.278/1.278, allocations: 154.8 MB / 414.4 MB, free: 460 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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.251e-05/3.5e-05, allocations: 4.141 kB / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002884/0.002919, allocations: 0.7855 MB / 0.5207 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.006385, allocations: 1.456 MB / 0.5221 GB, free: 32 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.006429, allocations: 0.75 kB / 0.5221 GB, free: 32 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.00647, allocations: 3.938 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.006533, allocations: 5.219 kB / 0.5221 GB, free: 24 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.007334, allocations: 149.7 kB / 0.5223 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.007467, allocations: 53.61 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.007513, allocations: 7.984 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.007636, allocations: 31.95 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.752e-05/0.007734, allocations: 31.89 kB / 0.5224 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.007759, allocations: 4 kB / 0.5224 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000686/0.008445, allocations: 252.9 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.008472, allocations: 7.984 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/0.008533, allocations: 23.91 kB / 0.5227 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005395/0.009072, allocations: 224.2 kB / 0.5229 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.009076, allocations: 0 / 0.5229 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.009077, allocations: 0 / 0.5229 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.009082, allocations: 5.406 kB / 0.5229 GB, free: 15.25 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009582/0.01004, allocations: 329.8 kB / 0.5232 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.01009, allocations: 13.38 kB / 0.5232 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007575/0.01084, allocations: 76.7 kB / 0.5233 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.011, allocations: 105.8 kB / 0.5234 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.01103, allocations: 4.375 kB / 0.5234 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.01108, allocations: 12.91 kB / 0.5234 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/0.01173, allocations: 159.5 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.01175, allocations: 1.656 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.01178, allocations: 4.375 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.01179, allocations: 7.922 kB / 0.5236 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.0126, allocations: 107.2 kB / 0.5237 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008566/0.01345, allocations: 263.2 kB / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.01459, allocations: 157.9 kB / 0.5241 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.01501, allocations: 55.22 kB / 0.5241 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.01503, allocations: 1.469 kB / 0.5241 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.722e-05/0.0151, allocations: 34.56 kB / 0.5241 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.0151, allocations: 0 / 0.5241 GB, free: 13.85 MB / 0.4948 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.03072/0.04583, allocations: 2.696 MB / 0.5268 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.0459, allocations: 51.41 kB / 0.5268 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.04608, allocations: 106.5 kB / 0.5269 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.686e-05/0.04616, allocations: 25.7 kB / 0.527 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.04627, allocations: 94.34 kB / 0.527 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.04639, allocations: 39.62 kB / 0.5271 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003023/0.04669, allocations: 69.58 kB / 0.5271 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002573/0.04695, allocations: 322.8 kB / 0.5275 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.04808, allocations: 190.2 kB / 0.5276 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.0492, allocations: 191.2 kB / 0.5278 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/0.05155, allocations: 397 kB / 0.5282 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.05156, allocations: 0.6875 kB / 0.5282 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00288/0.05444, allocations: 483 kB / 0.5287 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.05446, allocations: 7.562 kB / 0.5287 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.05447, allocations: 1.016 kB / 0.5287 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/0.0545, allocations: 0 / 0.5287 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.05587, allocations: 111.6 kB / 0.5288 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.05588, allocations: 0 / 0.5288 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.0569, allocations: 49.84 kB / 0.5288 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.05701, allocations: 24.53 kB / 0.5288 GB, free: 9.055 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 (13): * Single equations (assignments): 13 * 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.0002848/0.05729, allocations: 118.8 kB / 0.529 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.0575, allocations: 11.95 kB / 0.529 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.942e-05/0.05758, allocations: 20.05 kB / 0.529 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.05759, allocations: 0.625 kB / 0.529 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.05759, allocations: 1.906 kB / 0.529 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.0576, allocations: 0 / 0.529 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/0.06157, allocations: 0.9655 MB / 0.5299 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.06157, allocations: 2.781 kB / 0.5299 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.06294, allocations: 100.4 kB / 0.53 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.06295, allocations: 0 / 0.53 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-05/0.06304, allocations: 25.62 kB / 0.5301 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.218e-06/0.06305, allocations: 3.984 kB / 0.5301 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.06305, allocations: 0 / 0.5301 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/0.06731, allocations: 0.8006 MB / 0.5308 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.06759, allocations: 40.77 kB / 0.5309 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.06771, allocations: 4 kB / 0.5309 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.06883, allocations: 52.48 kB / 0.5309 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.06901, allocations: 27.92 kB / 0.531 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.06911, allocations: 24.06 kB / 0.531 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.546e-05/0.06921, allocations: 87.27 kB / 0.5311 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.06921, allocations: 0 / 0.5311 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007201/0.06993, allocations: 55.98 kB / 0.5311 GB, free: 6.641 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0003286/0.07025, allocations: 111.2 kB / 0.5312 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002547/0.0728, allocations: 423.4 kB / 0.5316 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.0728, allocations: 0 / 0.5316 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.07409, allocations: 223.7 kB / 0.5318 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000705/0.0748, allocations: 31.94 kB / 0.5319 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007108/0.08191, allocations: 0.7499 MB / 0.5326 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.08203, allocations: 79.27 kB / 0.5327 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00101/0.08304, allocations: 96.7 kB / 0.5328 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.08352, allocations: 56.38 kB / 0.5328 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of SimCode: time 1.653e-06/0.08352, allocations: 0 / 0.5328 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of Templates: time 0.01228/0.0958, allocations: 3.709 MB / 0.5365 GB, free: 1.152 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.06648947391659]