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.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009382/0.0009381, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001078/0.001078, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8808/0.8808, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 13.34 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 82.31 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007098/0.1611, allocations: 319.1 kB / 0.5875 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003343/0.1614, allocations: 151.6 kB / 0.5877 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.98e-05/0.1615, allocations: 0 / 0.5877 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.768e-06/0.1615, allocations: 0 / 0.5877 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.158e-05/0.1615, allocations: 0 / 0.5877 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.1618, allocations: 26.78 kB / 0.5877 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.189e-05/0.1618, allocations: 11.98 kB / 0.5877 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.1619, allocations: 4 kB / 0.5877 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.1619, allocations: 7.938 kB / 0.5877 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.162, allocations: 15.92 kB / 0.5877 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.162, allocations: 0 / 0.5877 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.315e-05/0.1621, allocations: 31.91 kB / 0.5877 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.1621, allocations: 3.984 kB / 0.5878 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.1621, allocations: 33.7 kB / 0.5878 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.442e-05/0.1622, allocations: 15.97 kB / 0.5878 GB, free: 2.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.1622, allocations: 0 / 0.5878 GB, free: 2.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1622, allocations: 0 / 0.5878 GB, free: 2.508 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1622, allocations: 0 / 0.5878 GB, free: 2.508 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.0003553/0.1626, allocations: 325.8 kB / 0.5881 GB, free: 2.145 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1626, allocations: 12.03 kB / 0.5881 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.1627, allocations: 7.906 kB / 0.5881 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1628, allocations: 163 kB / 0.5883 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1628, allocations: 3.938 kB / 0.5883 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1628, allocations: 4 kB / 0.5883 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.953e-05/0.1629, allocations: 45.67 kB / 0.5883 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.1629, allocations: 0 / 0.5883 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.163, allocations: 0 / 0.5883 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.163, allocations: 0 / 0.5883 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.018e-05/0.163, allocations: 12 kB / 0.5883 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.1632, allocations: 173.9 kB / 0.5885 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.499e-05/0.1633, allocations: 42.5 kB / 0.5886 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.904e-05/0.1634, allocations: 81.22 kB / 0.5886 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1634, allocations: 38.56 kB / 0.5887 GB, free: 1.441 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1634, allocations: 0 / 0.5887 GB, free: 1.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001193/0.1646, allocations: 492.4 kB / 0.5891 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1647, allocations: 55.41 kB / 0.5892 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.1647, allocations: 97.84 kB / 0.5893 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1648, allocations: 25.7 kB / 0.5893 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.1648, allocations: 80.14 kB / 0.5894 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.1648, allocations: 23.66 kB / 0.5894 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.1648, allocations: 0 / 0.5894 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.1649, allocations: 323 kB / 0.5897 GB, free: 260 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.395e-05/0.165, allocations: 23.81 kB / 0.5897 GB, free: 236 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.165, allocations: 8 kB / 0.5897 GB, free: 228 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.165, allocations: 23.94 kB / 0.5898 GB, free: 204 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/0.165, allocations: 0 / 0.5898 GB, free: 204 kB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000101/0.1651, allocations: 69.58 kB / 0.5898 GB, free: 128 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1652, allocations: 4 kB / 0.5898 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1652, allocations: 0 / 0.5898 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1652, allocations: 0 / 0.5898 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.1653, allocations: 12 kB / 0.5899 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1653, allocations: 4 kB / 0.5899 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.1653, allocations: 8 kB / 0.5899 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1653, allocations: 3.984 kB / 0.5899 GB, free: 96 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.915e-05/0.1654, allocations: 117.7 kB / 0.59 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.1654, allocations: 4 kB / 0.59 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.1656, allocations: 77.64 kB / 0.5901 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1656, allocations: 3.984 kB / 0.5901 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1656, allocations: 0 / 0.5901 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1656, allocations: 4 kB / 0.5901 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.1657, allocations: 169.6 kB / 0.5902 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1657, allocations: 3.953 kB / 0.5902 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-05/0.1658, allocations: 15.94 kB / 0.5902 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1658, allocations: 0 / 0.5902 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1658, allocations: 192 / 0.5902 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.1659, allocations: 8 kB / 0.5903 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1659, allocations: 0 / 0.5903 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.166, allocations: 117.4 kB / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.1661, allocations: 81.06 kB / 0.5904 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1661, allocations: 3.984 kB / 0.5904 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.1661, allocations: 4.031 kB / 0.5904 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.1662, allocations: 4 kB / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1662, allocations: 4 kB / 0.5905 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.903e-05/0.1662, allocations: 79.22 kB / 0.5905 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1662, allocations: 0 / 0.5905 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002014/0.1664, allocations: 27.98 kB / 0.5906 GB, free: 15.28 MB / 0.4981 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 (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.000206/0.1666, allocations: 143.3 kB / 0.5907 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.867e-05/0.1667, allocations: 40.05 kB / 0.5907 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1668, allocations: 0 / 0.5907 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/0.1668, allocations: 19.94 kB / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.567e-05/0.1669, allocations: 4 kB / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.1672, allocations: 156.8 kB / 0.5909 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1674, allocations: 0.6809 MB / 0.5916 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.1674, allocations: 8.172 kB / 0.5916 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.1675, allocations: 11.44 kB / 0.5916 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1675, allocations: 0 / 0.5916 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.002726/0.1702, allocations: 0.8218 MB / 0.5924 GB, free: 13.36 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: