Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001662, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7905/0.7905, allocations: 130.7 MB / 138.7 MB, free: 3.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.844/1.844, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009924/0.0009922, allocations: 100.4 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.172e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.546/0.546, allocations: 81.58 MB / 0.6282 GB, free: 42.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.7053, allocations: 109.9 MB / 0.7355 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.7056, allocations: 75.95 kB / 0.7356 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005668/0.7113, allocations: 2.039 MB / 0.7375 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7113, allocations: 4 kB / 0.7376 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.7114, allocations: 0 / 0.7376 GB, free: 14.77 MB / 0.5261 GB 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.0003385/0.7117, allocations: 326.5 kB / 0.7379 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.7118, allocations: 8.031 kB / 0.7379 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.7118, allocations: 7.906 kB / 0.7379 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.712, allocations: 167 kB / 0.738 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.712, allocations: 1.219 kB / 0.738 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.712, allocations: 4 kB / 0.738 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.298e-05/0.7121, allocations: 19.98 kB / 0.7381 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.699e-05/0.7122, allocations: 41.7 kB / 0.7381 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.7122, allocations: 3.984 kB / 0.7381 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.7122, allocations: 0 / 0.7381 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.7122, allocations: 0 / 0.7381 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.7124, allocations: 134.1 kB / 0.7382 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.7125, allocations: 46.56 kB / 0.7383 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.7125, allocations: 16.98 kB / 0.7383 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.7126, allocations: 85.11 kB / 0.7384 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.7127, allocations: 34.55 kB / 0.7384 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.7127, allocations: 0 / 0.7384 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.001106/0.7138, allocations: 444.1 kB / 0.7388 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.7138, allocations: 51.41 kB / 0.7389 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.7139, allocations: 89 kB / 0.739 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.714, allocations: 29.81 kB / 0.739 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.714, allocations: 84.14 kB / 0.7391 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.714, allocations: 19.66 kB / 0.7391 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.714, allocations: 4 kB / 0.7391 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7142, allocations: 314.8 kB / 0.7394 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.7142, allocations: 7.984 kB / 0.7394 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.7142, allocations: 12 kB / 0.7394 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.7143, allocations: 15.98 kB / 0.7394 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7143, allocations: 3.953 kB / 0.7394 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000113/0.7144, allocations: 73.47 kB / 0.7395 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.7144, allocations: 9.875 kB / 0.7395 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7145, allocations: 0 / 0.7395 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.7145, allocations: 7.984 kB / 0.7395 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.478e-05/0.7146, allocations: 8 kB / 0.7395 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.7146, allocations: 0 / 0.7395 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.7146, allocations: 4 kB / 0.7395 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.7146, allocations: 3.938 kB / 0.7395 GB, free: 12.45 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.7147, allocations: 101 kB / 0.7396 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.7147, allocations: 7.953 kB / 0.7396 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.7149, allocations: 82 kB / 0.7397 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.7149, allocations: 256 / 0.7397 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7149, allocations: 0 / 0.7397 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.715, allocations: 8 kB / 0.7397 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.7151, allocations: 138.2 kB / 0.7399 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7151, allocations: 0 / 0.7399 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.635e-05/0.7152, allocations: 16 kB / 0.7399 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.7152, allocations: 3.953 kB / 0.7399 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.7152, allocations: 3.984 kB / 0.7399 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7152, allocations: 8.391 kB / 0.7399 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7152, allocations: 0 / 0.7399 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.7154, allocations: 105 kB / 0.74 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.746e-05/0.7155, allocations: 81.14 kB / 0.7401 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.7155, allocations: 7.938 kB / 0.7401 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.7155, allocations: 0 / 0.7401 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.7156, allocations: 8 kB / 0.7401 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.7156, allocations: 8.062 kB / 0.7401 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.577e-05/0.7156, allocations: 75.28 kB / 0.7402 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7156, allocations: 0 / 0.7402 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002656/0.7159, allocations: 39.92 kB / 0.7402 GB, free: 11.69 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002649/0.7162, allocations: 140.8 kB / 0.7403 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.7163, allocations: 35.94 kB / 0.7404 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7163, allocations: 0 / 0.7404 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.7163, allocations: 16 kB / 0.7404 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.7165, allocations: 8.094 kB / 0.7404 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.7168, allocations: 101.8 kB / 0.7405 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.7171, allocations: 0.6845 MB / 0.7412 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.7171, allocations: 4.188 kB / 0.7412 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.7171, allocations: 11.44 kB / 0.7412 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.7172, allocations: 4 kB / 0.7412 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.002967/0.7201, allocations: 0.7143 MB / 0.7419 GB, free: 9.91 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)