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.0009618/0.0009618, allocations: 92.22 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.001215/0.001215, allocations: 169 kB / 23.02 MB, free: 1.547 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.975/0.975, allocations: 177.1 MB / 203.4 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.7864/0.7864, allocations: 154.9 MB / 414.8 MB, free: 380 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 5.25e-06/5.25e-06, allocations: 3.984 kB / 0.5208 GB, free: 1.738 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.825e-05/5.35e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002126/0.00218, allocations: 0.6092 MB / 0.5214 GB, free: 1.148 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003673/0.002547, allocations: 153.8 kB / 0.5215 GB, free: 1 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.002575, allocations: 0 / 0.5215 GB, free: 1 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.002605, allocations: 0 / 0.5215 GB, free: 1 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.592e-05/0.002631, allocations: 5.344 kB / 0.5215 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.002997, allocations: 39.83 kB / 0.5215 GB, free: 0.957 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.837e-05/0.003066, allocations: 8 kB / 0.5216 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.003113, allocations: 9.141 kB / 0.5216 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.003163, allocations: 11.98 kB / 0.5216 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.63e-05/0.003259, allocations: 3.984 kB / 0.5216 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.003283, allocations: 4.812 kB / 0.5216 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.62e-05/0.003379, allocations: 27.97 kB / 0.5216 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.003403, allocations: 7.938 kB / 0.5216 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.003431, allocations: 5.266 kB / 0.5216 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.003595, allocations: 39.88 kB / 0.5217 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.0036, allocations: 3.984 kB / 0.5217 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.003602, allocations: 1.344 kB / 0.5217 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.00361, allocations: 0 / 0.5217 GB, free: 0.8398 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.0004518/0.004062, allocations: 356.3 kB / 0.522 GB, free: 464 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.004103, allocations: 8.812 kB / 0.522 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.004148, allocations: 8.875 kB / 0.522 GB, free: 448 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.785e-05/0.004235, allocations: 110.5 kB / 0.5221 GB, free: 312 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.004249, allocations: 4.375 kB / 0.5221 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.004273, allocations: 4.719 kB / 0.5221 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.004388, allocations: 63.95 kB / 0.5222 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.004396, allocations: 192 / 0.5222 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.004406, allocations: 6.438 kB / 0.5222 GB, free: 224 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.004415, allocations: 384 / 0.5222 GB, free: 224 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.004446, allocations: 11.92 kB / 0.5222 GB, free: 212 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.004592, allocations: 124.6 kB / 0.5223 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.004695, allocations: 51.05 kB / 0.5224 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.004725, allocations: 21.28 kB / 0.5224 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.817e-05/0.004803, allocations: 7.938 kB / 0.5224 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.00483, allocations: 41.38 kB / 0.5224 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.004831, allocations: 0.9688 kB / 0.5224 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0009689/0.0058, allocations: 413.9 kB / 0.5228 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.005837, allocations: 59.84 kB / 0.5229 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.945e-05/0.005906, allocations: 151.7 kB / 0.523 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.005918, allocations: 25.7 kB / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.005954, allocations: 126.9 kB / 0.5232 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.005986, allocations: 27.78 kB / 0.5232 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.006019, allocations: 29.09 kB / 0.5232 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.006134, allocations: 496.1 kB / 0.5237 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.006155, allocations: 11.98 kB / 0.5237 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.712e-05/0.006172, allocations: 7.984 kB / 0.5237 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.006225, allocations: 37.23 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.006227, allocations: 0 / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.541e-05/0.006322, allocations: 73.58 kB / 0.5238 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.006338, allocations: 4 kB / 0.5238 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.006345, allocations: 0 / 0.5238 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.00636, allocations: 1.188 kB / 0.5238 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.006454, allocations: 16.98 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.006463, allocations: 3.938 kB / 0.5239 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.006479, allocations: 4 kB / 0.5239 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.006489, allocations: 8.969 kB / 0.5239 GB, free: 14.32 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 7.51e-05/0.006564, allocations: 152.6 kB / 0.524 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.006577, allocations: 6.906 kB / 0.524 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.006728, allocations: 81.88 kB / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.00673, allocations: 4 kB / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.006736, allocations: 3.938 kB / 0.5241 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.006741, allocations: 0 / 0.5241 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.154e-05/0.006833, allocations: 124.6 kB / 0.5242 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.006834, allocations: 0 / 0.5242 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.528e-05/0.0069, allocations: 18.75 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.006902, allocations: 0 / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.006915, allocations: 3.984 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.006917, allocations: 3.938 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.00692, allocations: 0 / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.007079, allocations: 124.2 kB / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-06/0.007089, allocations: 4 kB / 0.5244 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.007102, allocations: 0.625 kB / 0.5244 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.769e-05/0.007129, allocations: 0 / 0.5244 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.007155, allocations: 13.2 kB / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.007163, allocations: 3.938 kB / 0.5244 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.677e-05/0.007199, allocations: 123.8 kB / 0.5245 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0072, allocations: 0 / 0.5245 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001877/0.007387, allocations: 29.5 kB / 0.5245 GB, free: 13.57 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.0002161/0.007603, allocations: 135.2 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.007723, allocations: 39.61 kB / 0.5247 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.007725, allocations: 1.281 kB / 0.5247 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.539e-05/0.007751, allocations: 31.61 kB / 0.5247 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.007881, allocations: 4.562 kB / 0.5247 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.008228, allocations: 146.2 kB / 0.5249 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.134e-05/0.008269, allocations: 64.12 kB / 0.5249 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.256e-05/0.008302, allocations: 5.719 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.008331, allocations: 12.5 kB / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.008332, allocations: 0 / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.003139/0.01147, allocations: 0.973 MB / 0.5259 GB, free: 12.18 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.8049654262140393]