Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.0009752/0.0009752, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.00124/0.00124, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.034/1.034, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7673/0.7673, allocations: 154.9 MB / 415.9 MB, free: 256 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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 3.938 kB / 0.522 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.957e-05, allocations: 3.75 kB / 0.522 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.004622/0.004641, allocations: 0.6139 MB / 0.5226 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003168/0.004958, allocations: 146.9 kB / 0.5227 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.004985, allocations: 0 / 0.5227 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.004999, allocations: 4 kB / 0.5227 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 1.978e-05/0.005019, allocations: 0 / 0.5227 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.005279, allocations: 38.72 kB / 0.5227 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.995e-05/0.005329, allocations: 20.73 kB / 0.5228 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.005371, allocations: 0 / 0.5228 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.005402, allocations: 12.75 kB / 0.5228 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.005463, allocations: 7.938 kB / 0.5228 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.005475, allocations: 0.75 kB / 0.5228 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.142e-05/0.005546, allocations: 31.95 kB / 0.5228 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.005564, allocations: 13.39 kB / 0.5228 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.19e-05/0.005576, allocations: 0 / 0.5228 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.566e-05/0.005672, allocations: 39.88 kB / 0.5229 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005674, allocations: 0 / 0.5229 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005674, allocations: 1.344 kB / 0.5229 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005678, allocations: 0 / 0.5229 GB, free: 0.5469 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000297/0.005975, allocations: 356.3 kB / 0.5232 GB, free: 164 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.006009, allocations: 9.938 kB / 0.5232 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.006039, allocations: 4.938 kB / 0.5232 GB, free: 152 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.996e-05/0.006119, allocations: 112.5 kB / 0.5233 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.006131, allocations: 4.375 kB / 0.5233 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.006148, allocations: 4.656 kB / 0.5233 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.542e-05/0.006243, allocations: 74.03 kB / 0.5234 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.006251, allocations: 192 / 0.5234 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.006258, allocations: 384 / 0.5234 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.006264, allocations: 4.359 kB / 0.5234 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.006295, allocations: 15.92 kB / 0.5234 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001137/0.006409, allocations: 101.8 kB / 0.5235 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.309e-05/0.006492, allocations: 51.55 kB / 0.5236 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.006512, allocations: 12.69 kB / 0.5236 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-05/0.006561, allocations: 7.984 kB / 0.5236 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.006585, allocations: 37.52 kB / 0.5236 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.006585, allocations: 0.7188 kB / 0.5236 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.003833/0.01042, allocations: 407.2 kB / 0.524 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.01045, allocations: 55.41 kB / 0.5241 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/0.01051, allocations: 158.5 kB / 0.5242 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.01052, allocations: 30.98 kB / 0.5242 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.01056, allocations: 126.9 kB / 0.5244 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.01059, allocations: 23.78 kB / 0.5244 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.01062, allocations: 28.11 kB / 0.5244 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.01074, allocations: 0.4884 MB / 0.5249 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.01075, allocations: 7.25 kB / 0.5249 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.01077, allocations: 11.98 kB / 0.5249 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.092e-05/0.01081, allocations: 27.67 kB / 0.5249 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.01081, allocations: 0 / 0.5249 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.003e-05/0.01089, allocations: 69.58 kB / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.0109, allocations: 4 kB / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.01091, allocations: 0 / 0.525 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.01092, allocations: 4 kB / 0.525 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.355e-05/0.01097, allocations: 11.98 kB / 0.525 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.01097, allocations: 3.031 kB / 0.525 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.01099, allocations: 7.938 kB / 0.525 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.01099, allocations: 0 / 0.525 GB, free: 14.08 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 (8): * Single equations (assignments): 8 * 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.435e-05/0.01106, allocations: 160.6 kB / 0.5252 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.01107, allocations: 0 / 0.5252 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.01117, allocations: 81.5 kB / 0.5253 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01118, allocations: 0 / 0.5253 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01118, allocations: 5.5 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01118, allocations: 7.922 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.88e-05/0.01126, allocations: 97.27 kB / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.01126, allocations: 0 / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.01131, allocations: 16.48 kB / 0.5254 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.01131, allocations: 2.812 kB / 0.5254 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.01132, allocations: 8.188 kB / 0.5254 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01132, allocations: 4 kB / 0.5254 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.01132, allocations: 0 / 0.5254 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.01145, allocations: 120.6 kB / 0.5255 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-06/0.01145, allocations: 4 kB / 0.5255 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.01146, allocations: 0 / 0.5255 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.372e-05/0.01149, allocations: 2.438 kB / 0.5255 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.0115, allocations: 7.984 kB / 0.5255 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.01151, allocations: 0 / 0.5255 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.088e-05/0.01154, allocations: 119.2 kB / 0.5256 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01154, allocations: 4 kB / 0.5256 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002039/0.01174, allocations: 31.94 kB / 0.5257 GB, free: 13.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0001465/0.01189, allocations: 132.6 kB / 0.5258 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.987e-05/0.01197, allocations: 47.59 kB / 0.5258 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.01197, allocations: 1.031 kB / 0.5258 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.518e-05/0.01199, allocations: 27.67 kB / 0.5259 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.01213, allocations: 11.92 kB / 0.5259 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.01234, allocations: 139.3 kB / 0.526 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.145e-05/0.01238, allocations: 59.34 kB / 0.5261 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.01241, allocations: 5.438 kB / 0.5261 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.01246, allocations: 80.62 kB / 0.5262 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.01246, allocations: 0 / 0.5262 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.005741/0.0182, allocations: 1 MB / 0.5271 GB, free: 11.88 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7945683989673853]