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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 189.2 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8084/0.8084, allocations: 132.2 MB / 422.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.19 kB / 0.5013 GB, free: 9.109 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.199, allocations: 80.21 MB / 0.5796 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001997/0.2011, allocations: 0.6582 MB / 0.5803 GB, free: 8.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000404/0.2015, allocations: 159.5 kB / 0.5804 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.2015, allocations: 0 / 0.5804 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.2016, allocations: 0 / 0.5804 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.588e-05/0.2016, allocations: 3.938 kB / 0.5804 GB, free: 8.297 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.2019, allocations: 35.97 kB / 0.5804 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.234e-05/0.202, allocations: 11.98 kB / 0.5805 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.202, allocations: 8 kB / 0.5805 GB, free: 8.242 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.062e-05/0.2021, allocations: 4 kB / 0.5805 GB, free: 8.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.938e-05/0.2021, allocations: 19.91 kB / 0.5805 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2022, allocations: 4 kB / 0.5805 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.2022, allocations: 35.91 kB / 0.5805 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.2023, allocations: 0 / 0.5805 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.2023, allocations: 11.94 kB / 0.5805 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.2024, allocations: 27.94 kB / 0.5806 GB, free: 8.141 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2024, allocations: 0 / 0.5806 GB, free: 8.141 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2024, allocations: 0 / 0.5806 GB, free: 8.141 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2024, allocations: 0 / 0.5806 GB, free: 8.141 MB / 494.1 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.0004103/0.2029, allocations: 331.6 kB / 0.5809 GB, free: 7.766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2029, allocations: 12.03 kB / 0.5809 GB, free: 7.754 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.2029, allocations: 4.844 kB / 0.5809 GB, free: 7.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2031, allocations: 168.3 kB / 0.5811 GB, free: 7.547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.2031, allocations: 384 / 0.5811 GB, free: 7.547 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.2031, allocations: 4.359 kB / 0.5811 GB, free: 7.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.2032, allocations: 50.25 kB / 0.5811 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2033, allocations: 192 / 0.5811 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.2033, allocations: 11.88 kB / 0.5811 GB, free: 7.477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2033, allocations: 0 / 0.5811 GB, free: 7.477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.109e-05/0.2034, allocations: 19.92 kB / 0.5811 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.2035, allocations: 158 kB / 0.5813 GB, free: 7.254 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.2037, allocations: 50.55 kB / 0.5813 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.2037, allocations: 16.98 kB / 0.5814 GB, free: 7.176 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.2038, allocations: 77.11 kB / 0.5814 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.2039, allocations: 34.56 kB / 0.5815 GB, free: 7.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.2039, allocations: 4 kB / 0.5815 GB, free: 7.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001564/0.2054, allocations: 490.2 kB / 0.5819 GB, free: 6.484 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2055, allocations: 55.41 kB / 0.582 GB, free: 6.418 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.104e-05/0.2056, allocations: 89.86 kB / 0.5821 GB, free: 6.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2056, allocations: 25.7 kB / 0.5821 GB, free: 6.289 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.2056, allocations: 84.14 kB / 0.5822 GB, free: 6.203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.2057, allocations: 27.55 kB / 0.5822 GB, free: 6.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.2057, allocations: 29.84 kB / 0.5822 GB, free: 6.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2058, allocations: 314.8 kB / 0.5825 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.2059, allocations: 12 kB / 0.5825 GB, free: 5.812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/0.2059, allocations: 12 kB / 0.5826 GB, free: 5.801 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.971e-05/0.206, allocations: 36.84 kB / 0.5826 GB, free: 5.762 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.206, allocations: 0 / 0.5826 GB, free: 5.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001091/0.2061, allocations: 73.61 kB / 0.5827 GB, free: 5.684 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2061, allocations: 11.94 kB / 0.5827 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2062, allocations: 0 / 0.5827 GB, free: 5.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.2062, allocations: 4 kB / 0.5827 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/0.2063, allocations: 15.98 kB / 0.5827 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2063, allocations: 0 / 0.5827 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.2063, allocations: 0 / 0.5827 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.2063, allocations: 4 kB / 0.5827 GB, free: 5.648 MB / 494.1 MB 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 9.497e-05/0.2064, allocations: 114.4 kB / 0.5828 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.2065, allocations: 7.938 kB / 0.5828 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.2066, allocations: 89.56 kB / 0.5829 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2067, allocations: 0 / 0.5829 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.2067, allocations: 0 / 0.5829 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2067, allocations: 11.92 kB / 0.5829 GB, free: 5.414 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.2068, allocations: 161.7 kB / 0.5831 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2068, allocations: 0 / 0.5831 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-05/0.2069, allocations: 12 kB / 0.5831 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.2069, allocations: 7.938 kB / 0.5831 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2069, allocations: 3.984 kB / 0.5831 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2069, allocations: 0 / 0.5831 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.207, allocations: 0 / 0.5831 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.2071, allocations: 117.3 kB / 0.5832 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.2072, allocations: 85.08 kB / 0.5833 GB, free: 4.949 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.2072, allocations: 4 kB / 0.5833 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.699e-05/0.2073, allocations: 0 / 0.5833 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.2073, allocations: 7.984 kB / 0.5833 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.2073, allocations: 4 kB / 0.5833 GB, free: 4.934 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.042e-05/0.2074, allocations: 75.34 kB / 0.5834 GB, free: 4.859 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2074, allocations: 4.094 kB / 0.5834 GB, free: 4.855 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.2076, allocations: 32 kB / 0.5834 GB, free: 4.824 MB / 494.1 MB 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.0002581/0.2079, allocations: 135.2 kB / 0.5835 GB, free: 4.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.208, allocations: 40.05 kB / 0.5836 GB, free: 4.641 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.208, allocations: 4 kB / 0.5836 GB, free: 4.637 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.2081, allocations: 23.92 kB / 0.5836 GB, free: 4.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.2083, allocations: 8.859 kB / 0.5836 GB, free: 4.609 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.2086, allocations: 157.4 kB / 0.5838 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.209, allocations: 0.6807 MB / 0.5844 GB, free: 3.723 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.209, allocations: 11.69 kB / 0.5844 GB, free: 3.711 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.2091, allocations: 11.44 kB / 0.5844 GB, free: 3.699 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2091, allocations: 0 / 0.5844 GB, free: 3.699 MB / 494.1 MB Notification: Performance of Templates: time 0.003579/0.2127, allocations: 0.8726 MB / 0.5853 GB, free: 2.84 MB / 494.1 MB 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)