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.001028/0.001028, allocations: 93.06 kB / 19.65 MB, free: 280 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.001034/0.001034, allocations: 169 kB / 23.02 MB, free: 1.551 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.9714/0.9714, allocations: 177.1 MB / 203.4 MB, free: 5.664 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.838/0.838, allocations: 154.9 MB / 414.8 MB, free: 396 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.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 1.663e-06/1.663e-06, allocations: 0.7656 kB / 0.5208 GB, free: 1.73 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/2.995e-05, allocations: 4 kB / 0.5208 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.004761/0.004791, allocations: 0.7972 MB / 0.5215 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.006572, allocations: 1.493 MB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.487e-05/0.006607, allocations: 0 / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.00664, allocations: 3.938 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.006689, allocations: 7.938 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.0102, allocations: 145.5 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.496e-05/0.0103, allocations: 51.89 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.01034, allocations: 9.453 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.63e-05/0.01044, allocations: 35.89 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.01049, allocations: 27.95 kB / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.01051, allocations: 4 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.01085, allocations: 256.1 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.01087, allocations: 15.92 kB / 0.5235 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.0109, allocations: 16.88 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.01121, allocations: 223.4 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01121, allocations: 0 / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.01122, allocations: 1.656 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.01122, allocations: 0 / 0.5238 GB, free: 14.66 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.0006758/0.0119, allocations: 420.1 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.01194, allocations: 12.69 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003022/0.01224, allocations: 59.3 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.971e-05/0.01233, allocations: 116.5 kB / 0.5243 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.01235, allocations: 5.156 kB / 0.5243 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.01238, allocations: 8.375 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.01263, allocations: 155.7 kB / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.01264, allocations: 2.719 kB / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.01265, allocations: 8.359 kB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.01266, allocations: 7.938 kB / 0.5245 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.545e-05/0.01274, allocations: 27.11 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.01619, allocations: 323.6 kB / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.01638, allocations: 81.28 kB / 0.5249 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.01642, allocations: 19.67 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.01644, allocations: 4 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.01646, allocations: 41.33 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.01646, allocations: 6.688 kB / 0.525 GB, free: 13.27 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.01274/0.0292, allocations: 1.993 MB / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.02924, allocations: 51.41 kB / 0.527 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.02932, allocations: 161.9 kB / 0.5271 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.02936, allocations: 29.7 kB / 0.5272 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.02941, allocations: 142.8 kB / 0.5273 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.02946, allocations: 43.78 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.02957, allocations: 75.23 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.02968, allocations: 0.4922 MB / 0.5279 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.02987, allocations: 139.9 kB / 0.528 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.03004, allocations: 143.9 kB / 0.5282 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.0304, allocations: 291.5 kB / 0.5285 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.03041, allocations: 0 / 0.5285 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005287/0.03093, allocations: 381.5 kB / 0.5288 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.03095, allocations: 4 kB / 0.5288 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.03096, allocations: 5.531 kB / 0.5288 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.03097, allocations: 0 / 0.5288 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.03133, allocations: 89.27 kB / 0.5289 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.03134, allocations: 3.984 kB / 0.5289 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.03156, allocations: 33.31 kB / 0.5289 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.03159, allocations: 20.81 kB / 0.529 GB, free: 9.109 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.0001203/0.03171, allocations: 169.1 kB / 0.5291 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.03178, allocations: 11.89 kB / 0.5291 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.03182, allocations: 12.81 kB / 0.5292 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.03182, allocations: 4 kB / 0.5292 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.03183, allocations: 0.5625 kB / 0.5292 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.03183, allocations: 1.25 kB / 0.5292 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009026/0.03273, allocations: 0.8824 MB / 0.53 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.03273, allocations: 0.6562 kB / 0.53 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.03307, allocations: 89.17 kB / 0.5301 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.03308, allocations: 4.922 kB / 0.5301 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.03311, allocations: 19.94 kB / 0.5301 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.03311, allocations: 0 / 0.5301 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.03312, allocations: 5.25 kB / 0.5301 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007748/0.03389, allocations: 0.653 MB / 0.5308 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.03398, allocations: 39.86 kB / 0.5308 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.03402, allocations: 0 / 0.5308 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.03426, allocations: 29.02 kB / 0.5308 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.03433, allocations: 35.86 kB / 0.5309 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.03437, allocations: 27.88 kB / 0.5309 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.03441, allocations: 124.8 kB / 0.531 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.03441, allocations: 0 / 0.531 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002524/0.03466, allocations: 55.94 kB / 0.5311 GB, free: 6.844 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.0001846/0.03484, allocations: 120.6 kB / 0.5312 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004707/0.03531, allocations: 327.4 kB / 0.5315 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.03532, allocations: 0 / 0.5315 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.03553, allocations: 187 kB / 0.5317 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.03576, allocations: 37.64 kB / 0.5317 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.03752, allocations: 0.6165 MB / 0.5323 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.181e-05/0.03756, allocations: 64.14 kB / 0.5324 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003108/0.03787, allocations: 89.12 kB / 0.5325 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.03806, allocations: 57.36 kB / 0.5325 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of SimCode: time 7.62e-07/0.03806, allocations: 3.938 kB / 0.5325 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of Templates: time 0.005205/0.04327, allocations: 3.871 MB / 0.5363 GB, free: 1.562 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.865949186962098]