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.001398/0.001398, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001754/0.001754, allocations: 177.3 kB / 23.49 MB, free: 1.059 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.9898/0.9898, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.7845/0.7845, allocations: 154.8 MB / 415.1 MB, free: 0.4922 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.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 2.124e-06/2.124e-06, allocations: 0.5469 kB / 0.5206 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.334e-05, allocations: 6.031 kB / 0.5206 GB, free: 2.055 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0013/0.001333, allocations: 0.6151 MB / 0.5212 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003399/0.001673, allocations: 160.6 kB / 0.5214 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.001705, allocations: 0 / 0.5214 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.001723, allocations: 1.75 kB / 0.5214 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.489e-05/0.001748, allocations: 3.938 kB / 0.5214 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.002088, allocations: 31.89 kB / 0.5214 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.889e-05/0.002157, allocations: 12 kB / 0.5214 GB, free: 1.262 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.002204, allocations: 5.547 kB / 0.5215 GB, free: 1.258 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.733e-05/0.002241, allocations: 8 kB / 0.5215 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.074e-05/0.002332, allocations: 11.97 kB / 0.5215 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.002351, allocations: 0 / 0.5215 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.311e-05/0.002444, allocations: 32.66 kB / 0.5215 GB, free: 1.207 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.002465, allocations: 4 kB / 0.5215 GB, free: 1.203 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.002491, allocations: 5.469 kB / 0.5215 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.002644, allocations: 39.86 kB / 0.5216 GB, free: 1.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.002651, allocations: 4 kB / 0.5216 GB, free: 1.156 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.002652, allocations: 0 / 0.5216 GB, free: 1.156 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.00266, allocations: 1.344 kB / 0.5216 GB, free: 1.156 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.0003819/0.003042, allocations: 356.3 kB / 0.5219 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.003083, allocations: 11.97 kB / 0.5219 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.003128, allocations: 4.938 kB / 0.5219 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.71e-05/0.003225, allocations: 105.6 kB / 0.522 GB, free: 0.625 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.003245, allocations: 4.375 kB / 0.522 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.003274, allocations: 7.656 kB / 0.522 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.003388, allocations: 63.95 kB / 0.5221 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.003395, allocations: 192 / 0.5221 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.003406, allocations: 4.375 kB / 0.5221 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.003415, allocations: 8.312 kB / 0.5221 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.16e-05/0.003447, allocations: 11.92 kB / 0.5221 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.003585, allocations: 124.6 kB / 0.5222 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.027e-05/0.003675, allocations: 47.61 kB / 0.5223 GB, free: 312 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.003704, allocations: 20.38 kB / 0.5223 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-05/0.003784, allocations: 4 kB / 0.5223 GB, free: 284 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.003811, allocations: 42.22 kB / 0.5223 GB, free: 232 kB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.003813, allocations: 0 / 0.5223 GB, free: 232 kB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.001027/0.00484, allocations: 416 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.004874, allocations: 63.34 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/0.004946, allocations: 149.9 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.004957, allocations: 26.42 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.004985, allocations: 126.9 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.005017, allocations: 29.06 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.005052, allocations: 27.38 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.005211, allocations: 0.4884 MB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.005231, allocations: 5.344 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.602e-05/0.005247, allocations: 8 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.199e-05/0.005299, allocations: 35.67 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.0053, allocations: 0 / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.458e-05/0.005385, allocations: 76.53 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.005398, allocations: 8 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.005404, allocations: 0 / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.005418, allocations: 0 / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.005482, allocations: 19.97 kB / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.005488, allocations: 3.938 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.0055, allocations: 0 / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.005506, allocations: 6.75 kB / 0.5238 GB, free: 14.64 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.652e-05/0.005573, allocations: 156.6 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.005582, allocations: 7.938 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.005709, allocations: 73.64 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.005712, allocations: 4 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.005717, allocations: 4.125 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.005722, allocations: 4.547 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.108e-05/0.005803, allocations: 124.6 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.005804, allocations: 5.281 kB / 0.5241 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.005854, allocations: 8 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.005857, allocations: 7.984 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.005866, allocations: 4.594 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.005868, allocations: 400 / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005869, allocations: 0.5 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.00601, allocations: 124.7 kB / 0.5243 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.006019, allocations: 9.781 kB / 0.5243 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.006033, allocations: 0 / 0.5243 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.006055, allocations: 0 / 0.5243 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.006079, allocations: 7.984 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.006085, allocations: 3.938 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.701e-05/0.006122, allocations: 129.6 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006122, allocations: 0 / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001576/0.00628, allocations: 27.94 kB / 0.5244 GB, free: 13.89 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.0001925/0.006472, allocations: 135.1 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.006577, allocations: 46.12 kB / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006578, allocations: 0 / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.006601, allocations: 23.62 kB / 0.5246 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.006729, allocations: 11.98 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.007, allocations: 138.2 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.15e-05/0.007032, allocations: 63.28 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.007067, allocations: 5.969 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.00709, allocations: 12.5 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.00709, allocations: 1.562 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.002804/0.009895, allocations: 0.8953 MB / 0.5257 GB, free: 12.56 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.8964084521867335]