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.001346/0.001346, 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.001096/0.001096, 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.9655/0.9655, 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.9529/0.9529, allocations: 154.8 MB / 414.7 MB, free: 0.4961 MB / 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.674e-06/1.674e-06, allocations: 0 / 0.5206 GB, free: 1.898 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.811e-05, allocations: 2.859 kB / 0.5206 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001928/0.001957, allocations: 0.7972 MB / 0.5214 GB, free: 1.117 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.004142, allocations: 1.5 MB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.004186, allocations: 4 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.004224, allocations: 3.938 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.012e-05/0.004274, allocations: 3.938 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.00483, allocations: 147.2 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.187e-05/0.004922, allocations: 43.91 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.004968, allocations: 11.97 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.005074, allocations: 36.69 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.045e-05/0.005135, allocations: 23.95 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.005155, allocations: 4.875 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.00554, allocations: 255.4 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.005567, allocations: 22.94 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.005596, allocations: 11.98 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.006003, allocations: 227.3 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.006005, allocations: 0 / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.02e-07/0.006006, allocations: 0 / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.00601, allocations: 0 / 0.5236 GB, free: 14.83 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.0005289/0.006539, allocations: 424.1 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.00658, allocations: 12.03 kB / 0.524 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003088/0.006889, allocations: 59.44 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.007005, allocations: 117.5 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.007031, allocations: 8.375 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.007067, allocations: 5.094 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.007352, allocations: 163.2 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.007364, allocations: 1.406 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.00738, allocations: 4.375 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.007391, allocations: 3.938 kB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.999e-05/0.007481, allocations: 32.59 kB / 0.5244 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005177/0.007999, allocations: 321.4 kB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.008185, allocations: 78.97 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.008229, allocations: 29.05 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.008245, allocations: 0 / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.00827, allocations: 33.39 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.008271, allocations: 0 / 0.5249 GB, free: 13.43 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.009851/0.01812, allocations: 1.991 MB / 0.5268 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.01815, allocations: 55.34 kB / 0.5269 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.573e-05/0.01824, allocations: 165.9 kB / 0.527 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.01828, allocations: 30.27 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.01833, allocations: 139.8 kB / 0.5272 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.01839, allocations: 43.64 kB / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.01854, allocations: 71.23 kB / 0.5273 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.01867, allocations: 0.4931 MB / 0.5278 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.01893, allocations: 139.9 kB / 0.5279 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.01918, allocations: 147.4 kB / 0.528 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/0.01971, allocations: 284.8 kB / 0.5283 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01971, allocations: 0 / 0.5283 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007546/0.02047, allocations: 379 kB / 0.5287 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.02048, allocations: 11.94 kB / 0.5287 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.02049, allocations: 6.078 kB / 0.5287 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.02051, allocations: 0 / 0.5287 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.02123, allocations: 96.75 kB / 0.5288 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.02123, allocations: 1.25 kB / 0.5288 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.02156, allocations: 30.34 kB / 0.5288 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.02161, allocations: 23.92 kB / 0.5288 GB, free: 9.273 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.0001229/0.02173, allocations: 164.5 kB / 0.529 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.02183, allocations: 11.95 kB / 0.529 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.02187, allocations: 10.44 kB / 0.529 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.02187, allocations: 4.188 kB / 0.529 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.02188, allocations: 0 / 0.529 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.02188, allocations: 11.91 kB / 0.529 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.02314, allocations: 0.8824 MB / 0.5299 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.02314, allocations: 1.062 kB / 0.5299 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.02363, allocations: 89.53 kB / 0.53 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.02364, allocations: 0 / 0.53 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.02369, allocations: 23.94 kB / 0.53 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.02369, allocations: 7.938 kB / 0.53 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.02369, allocations: 1.594 kB / 0.53 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.02477, allocations: 0.6451 MB / 0.5306 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.02489, allocations: 43.84 kB / 0.5307 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.02494, allocations: 4 kB / 0.5307 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.02531, allocations: 29.44 kB / 0.5307 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.0254, allocations: 24.42 kB / 0.5307 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/0.02545, allocations: 31.86 kB / 0.5308 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.293e-05/0.0255, allocations: 125.9 kB / 0.5309 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.0255, allocations: 7.938 kB / 0.5309 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003674/0.02586, allocations: 47.94 kB / 0.5309 GB, free: 7.004 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.0001909/0.02605, allocations: 119.1 kB / 0.5311 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006228/0.02668, allocations: 326.7 kB / 0.5314 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02668, allocations: 0 / 0.5314 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.02699, allocations: 189.4 kB / 0.5315 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.02731, allocations: 38.73 kB / 0.5316 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.02969, allocations: 0.6174 MB / 0.5322 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.556e-05/0.02974, allocations: 67.28 kB / 0.5323 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004264/0.03016, allocations: 89.84 kB / 0.5323 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.03041, allocations: 56.89 kB / 0.5324 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.03041, allocations: 5.469 kB / 0.5324 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of Templates: time 0.006499/0.03691, allocations: 3.763 MB / 0.5361 GB, free: 1.82 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: 4.065535541623831]