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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001035/0.001035, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7101/0.7101, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.783/1.783, allocations: 221.3 MB / 400.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 91.75 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.111e-05/4.145e-05, allocations: 5.656 kB / 0.5601 GB, free: 87.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.205, allocations: 82.29 MB / 0.6404 GB, free: 7.836 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6285/0.8335, allocations: 110.8 MB / 0.7486 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.8338, allocations: 72.33 kB / 0.7487 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005439/0.8392, allocations: 2.051 MB / 0.7507 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.524e-06/0.8393, allocations: 0 / 0.7507 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.8393, allocations: 0 / 0.7507 GB, free: 27.67 MB / 0.5105 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.000303/0.8396, allocations: 331.8 kB / 0.751 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.8397, allocations: 7.719 kB / 0.751 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.8397, allocations: 3.906 kB / 0.751 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.8398, allocations: 170.1 kB / 0.7512 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.8398, allocations: 0 / 0.7512 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.8399, allocations: 7.812 kB / 0.7512 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.84, allocations: 42.78 kB / 0.7512 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.84, allocations: 0 / 0.7512 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.84, allocations: 0 / 0.7512 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.84, allocations: 0 / 0.7512 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.8401, allocations: 17.39 kB / 0.7512 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.8403, allocations: 165.6 kB / 0.7514 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.8404, allocations: 51.06 kB / 0.7515 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.8404, allocations: 18.98 kB / 0.7515 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.8405, allocations: 87.81 kB / 0.7516 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.8406, allocations: 30.56 kB / 0.7516 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.8406, allocations: 0 / 0.7516 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.001152/0.8417, allocations: 467.7 kB / 0.752 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.8418, allocations: 55.16 kB / 0.7521 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.8418, allocations: 95.88 kB / 0.7522 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.8419, allocations: 25.7 kB / 0.7522 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.8419, allocations: 80.14 kB / 0.7523 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.8419, allocations: 25.3 kB / 0.7523 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.842, allocations: 3.312 kB / 0.7523 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8421, allocations: 313 kB / 0.7526 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.8421, allocations: 11.19 kB / 0.7526 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.8421, allocations: 11.44 kB / 0.7526 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/0.8422, allocations: 29.67 kB / 0.7526 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.8422, allocations: 0 / 0.7526 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.258e-05/0.8423, allocations: 69.81 kB / 0.7527 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.8423, allocations: 8.625 kB / 0.7527 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.8423, allocations: 0 / 0.7527 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.8423, allocations: 0 / 0.7527 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.681e-05/0.8424, allocations: 13.94 kB / 0.7527 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.8424, allocations: 0 / 0.7527 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.8425, allocations: 3.562 kB / 0.7527 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.8425, allocations: 3.844 kB / 0.7527 GB, free: 25.7 MB / 0.5105 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 6.991e-05/0.8425, allocations: 108.9 kB / 0.7528 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.8426, allocations: 3.969 kB / 0.7529 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.8427, allocations: 87.75 kB / 0.7529 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8427, allocations: 0 / 0.7529 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.8428, allocations: 0.6875 kB / 0.7529 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8428, allocations: 0 / 0.7529 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.8429, allocations: 161.1 kB / 0.7531 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.8429, allocations: 3.953 kB / 0.7531 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.328e-05/0.843, allocations: 14.47 kB / 0.7531 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.843, allocations: 4.25 kB / 0.7531 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.843, allocations: 7.25 kB / 0.7531 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.843, allocations: 4 kB / 0.7531 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.843, allocations: 0 / 0.7531 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.8432, allocations: 121.6 kB / 0.7532 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.8432, allocations: 83.64 kB / 0.7533 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.8432, allocations: 3.875 kB / 0.7533 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.611e-05/0.8433, allocations: 64 / 0.7533 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.8433, allocations: 10.09 kB / 0.7533 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.8433, allocations: 7.625 kB / 0.7533 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.854e-05/0.8433, allocations: 79.12 kB / 0.7534 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8433, allocations: 0 / 0.7534 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002038/0.8436, allocations: 41.47 kB / 0.7535 GB, free: 25.07 MB / 0.5105 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.0002189/0.8438, allocations: 136.2 kB / 0.7536 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.8439, allocations: 44.06 kB / 0.7536 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8439, allocations: 4.094 kB / 0.7536 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.641e-05/0.8439, allocations: 18.88 kB / 0.7536 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.844, allocations: 3.562 kB / 0.7537 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.8443, allocations: 101.8 kB / 0.7537 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.8446, allocations: 0.6821 MB / 0.7544 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.722e-05/0.8447, allocations: 8.578 kB / 0.7544 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.8447, allocations: 17.55 kB / 0.7544 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.8447, allocations: 0 / 0.7544 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of Templates: time 0.002703/0.8474, allocations: 0.7285 MB / 0.7552 GB, free: 24.09 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)