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.001386/0.001386, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001787/0.001787, allocations: 195.2 kB / 16.25 MB, free: 6.629 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.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.028/1.028, allocations: 135.1 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 60.38 kB / 0.5049 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1699, allocations: 80.92 MB / 0.5839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001834/0.1718, allocations: 0.6534 MB / 0.5845 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003706/0.1722, allocations: 159.5 kB / 0.5847 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.1722, allocations: 0 / 0.5847 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.1723, allocations: 0 / 0.5847 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.265e-05/0.1723, allocations: 3.938 kB / 0.5847 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.1726, allocations: 39.95 kB / 0.5847 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.622e-05/0.1727, allocations: 19.92 kB / 0.5847 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.1727, allocations: 11.98 kB / 0.5848 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.704e-05/0.1727, allocations: 4 kB / 0.5848 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.1728, allocations: 15.88 kB / 0.5848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.1728, allocations: 0 / 0.5848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.028e-05/0.1729, allocations: 35.95 kB / 0.5848 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.1729, allocations: 3.984 kB / 0.5848 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.173, allocations: 11.94 kB / 0.5848 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.29e-05/0.1731, allocations: 23.95 kB / 0.5848 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1731, allocations: 0 / 0.5848 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1731, allocations: 0 / 0.5848 GB, free: 3.883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1731, allocations: 0 / 0.5848 GB, free: 3.883 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.0003938/0.1735, allocations: 339.6 kB / 0.5852 GB, free: 3.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1735, allocations: 8.031 kB / 0.5852 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.1736, allocations: 8.844 kB / 0.5852 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1737, allocations: 160.4 kB / 0.5853 GB, free: 3.289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.1737, allocations: 384 / 0.5853 GB, free: 3.289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1737, allocations: 4.375 kB / 0.5853 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.1738, allocations: 46.25 kB / 0.5854 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1739, allocations: 192 / 0.5854 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1739, allocations: 15.81 kB / 0.5854 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1739, allocations: 0 / 0.5854 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.211e-05/0.1739, allocations: 11.98 kB / 0.5854 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.1741, allocations: 166 kB / 0.5856 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.018e-05/0.1742, allocations: 46.56 kB / 0.5856 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.1742, allocations: 20.97 kB / 0.5856 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.1744, allocations: 77.11 kB / 0.5857 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1744, allocations: 42.5 kB / 0.5858 GB, free: 2.773 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.1744, allocations: 0 / 0.5858 GB, free: 2.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001242/0.1756, allocations: 480.1 kB / 0.5862 GB, free: 2.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1757, allocations: 55.39 kB / 0.5863 GB, free: 2.164 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.218e-05/0.1757, allocations: 89.86 kB / 0.5863 GB, free: 2.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1758, allocations: 29.7 kB / 0.5864 GB, free: 2.031 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.1758, allocations: 89.92 kB / 0.5865 GB, free: 1.941 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.1758, allocations: 19.64 kB / 0.5865 GB, free: 1.922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.1759, allocations: 29.7 kB / 0.5865 GB, free: 1.887 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.176, allocations: 310.8 kB / 0.5868 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/0.176, allocations: 19.92 kB / 0.5868 GB, free: 1.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.3e-05/0.1761, allocations: 12 kB / 0.5868 GB, free: 1.543 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.221e-05/0.1761, allocations: 32.8 kB / 0.5869 GB, free: 1.508 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1761, allocations: 448 / 0.5869 GB, free: 1.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001077/0.1762, allocations: 73.58 kB / 0.5869 GB, free: 1.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1763, allocations: 15.94 kB / 0.587 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1763, allocations: 0 / 0.587 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1763, allocations: 0 / 0.587 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.1764, allocations: 16 kB / 0.587 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1764, allocations: 0 / 0.587 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.1764, allocations: 0 / 0.587 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1764, allocations: 4 kB / 0.587 GB, free: 1.395 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 7.091e-05/0.1765, allocations: 117.8 kB / 0.5871 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.1765, allocations: 7.938 kB / 0.5871 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.1767, allocations: 85.94 kB / 0.5872 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1767, allocations: 0 / 0.5872 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1767, allocations: 4 kB / 0.5872 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1767, allocations: 3.938 kB / 0.5872 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.1769, allocations: 161.7 kB / 0.5873 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1769, allocations: 0 / 0.5873 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.16e-05/0.177, allocations: 15.98 kB / 0.5874 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.177, allocations: 7.875 kB / 0.5874 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.177, allocations: 3.984 kB / 0.5874 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.177, allocations: 4.078 kB / 0.5874 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.177, allocations: 3.984 kB / 0.5874 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.1772, allocations: 117 kB / 0.5875 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.1772, allocations: 85.05 kB / 0.5876 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1773, allocations: 0 / 0.5876 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.943e-05/0.1773, allocations: 8.016 kB / 0.5876 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.1773, allocations: 0 / 0.5876 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1774, allocations: 4 kB / 0.5876 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.029e-05/0.1774, allocations: 83.34 kB / 0.5877 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1774, allocations: 0 / 0.5877 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.1776, allocations: 31.98 kB / 0.5877 GB, free: 0.5586 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.0002232/0.1779, allocations: 135.2 kB / 0.5878 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.178, allocations: 35.98 kB / 0.5878 GB, free: 392 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.178, allocations: 0 / 0.5878 GB, free: 392 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.497e-05/0.178, allocations: 27.92 kB / 0.5879 GB, free: 364 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.1782, allocations: 4.094 kB / 0.5879 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.1785, allocations: 161.3 kB / 0.588 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.1787, allocations: 0.6807 MB / 0.5887 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.1788, allocations: 11.92 kB / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.1788, allocations: 15.44 kB / 0.5887 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1788, allocations: 0 / 0.5887 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.002926/0.1817, allocations: 0.8697 MB / 0.5896 GB, free: 14.6 MB / 0.4981 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)