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.007557/0.007558, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.001706/0.001706, allocations: 197.3 kB / 16.68 MB, free: 5.953 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8933/0.8933, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 71.81 kB / 0.5857 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1759, allocations: 80.93 MB / 0.6647 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001665/0.1776, allocations: 0.5876 MB / 0.6653 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003786/0.178, allocations: 162.4 kB / 0.6654 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.178, allocations: 0 / 0.6654 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.1781, allocations: 7.938 kB / 0.6654 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.835e-05/0.1781, allocations: 0 / 0.6654 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.1784, allocations: 39.81 kB / 0.6655 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.507e-05/0.1785, allocations: 19.98 kB / 0.6655 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.1785, allocations: 3.984 kB / 0.6655 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.1785, allocations: 4 kB / 0.6655 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.1786, allocations: 11.94 kB / 0.6655 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1786, allocations: 3.938 kB / 0.6655 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-05/0.1787, allocations: 35.95 kB / 0.6655 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.1787, allocations: 3.984 kB / 0.6655 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.1787, allocations: 15.88 kB / 0.6656 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.409e-05/0.1788, allocations: 27.94 kB / 0.6656 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1788, allocations: 4 kB / 0.6656 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1789, allocations: 0 / 0.6656 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1789, allocations: 0 / 0.6656 GB, free: 4.898 MB / 0.4981 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.0003791/0.1792, allocations: 335.5 kB / 0.6659 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1793, allocations: 9.109 kB / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.1793, allocations: 4.938 kB / 0.6659 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1794, allocations: 164.3 kB / 0.6661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.1795, allocations: 4.375 kB / 0.6661 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.1795, allocations: 8.375 kB / 0.6661 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.903e-05/0.1796, allocations: 42.25 kB / 0.6661 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1796, allocations: 192 / 0.6661 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1796, allocations: 7.938 kB / 0.6661 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1796, allocations: 0 / 0.6661 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.473e-05/0.1797, allocations: 15.92 kB / 0.6662 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.1798, allocations: 157.7 kB / 0.6663 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.454e-05/0.1799, allocations: 46.56 kB / 0.6663 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.18, allocations: 24.97 kB / 0.6664 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.313e-05/0.1801, allocations: 77.11 kB / 0.6664 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1801, allocations: 34.56 kB / 0.6665 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1801, allocations: 0 / 0.6665 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001223/0.1814, allocations: 488.4 kB / 0.6669 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1814, allocations: 55.41 kB / 0.667 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.607e-05/0.1815, allocations: 89.86 kB / 0.6671 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1815, allocations: 29.7 kB / 0.6671 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.1815, allocations: 80.14 kB / 0.6672 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.1816, allocations: 27.62 kB / 0.6672 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1816, allocations: 21.72 kB / 0.6672 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1817, allocations: 314.8 kB / 0.6675 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/0.1818, allocations: 20.05 kB / 0.6676 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.1818, allocations: 16 kB / 0.6676 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.225e-05/0.1819, allocations: 37.08 kB / 0.6676 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1819, allocations: 0 / 0.6676 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001348/0.182, allocations: 77.61 kB / 0.6677 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1821, allocations: 9.656 kB / 0.6677 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1821, allocations: 0 / 0.6677 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1821, allocations: 0 / 0.6677 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.1822, allocations: 12 kB / 0.6677 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1822, allocations: 3.938 kB / 0.6677 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.1822, allocations: 0 / 0.6677 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.078e-06/0.1822, allocations: 11.98 kB / 0.6677 GB, free: 2.41 MB / 0.4981 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 () * 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.272e-05/0.1823, allocations: 111.2 kB / 0.6678 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.1823, allocations: 15.83 kB / 0.6678 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.1825, allocations: 85.56 kB / 0.6679 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1825, allocations: 4 kB / 0.6679 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1825, allocations: 0 / 0.6679 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1825, allocations: 0 / 0.6679 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1827, allocations: 161.7 kB / 0.6681 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1827, allocations: 4 kB / 0.6681 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.002e-05/0.1828, allocations: 12 kB / 0.6681 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1828, allocations: 3.938 kB / 0.6681 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1828, allocations: 4 kB / 0.6681 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1828, allocations: 0 / 0.6681 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1828, allocations: 0 / 0.6681 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.183, allocations: 117 kB / 0.6682 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.183, allocations: 88.94 kB / 0.6683 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1831, allocations: 8.062 kB / 0.6683 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.808e-05/0.1831, allocations: 4.031 kB / 0.6683 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.1831, allocations: 0 / 0.6683 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1831, allocations: 4 kB / 0.6683 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.1832, allocations: 75.28 kB / 0.6684 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1832, allocations: 0 / 0.6684 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000232/0.1834, allocations: 35.98 kB / 0.6684 GB, free: 1.59 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 (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.000243/0.1837, allocations: 131.3 kB / 0.6685 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.1838, allocations: 43.91 kB / 0.6686 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1838, allocations: 0 / 0.6686 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.1838, allocations: 23.94 kB / 0.6686 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.184, allocations: 4 kB / 0.6686 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.1843, allocations: 137.4 kB / 0.6687 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1846, allocations: 0.6807 MB / 0.6694 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.1847, allocations: 19.67 kB / 0.6694 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.1847, allocations: 15.38 kB / 0.6694 GB, free: 488 kB / 0.4981 GB Notification: Performance of SimCode: time 7.62e-07/0.1847, allocations: 0 / 0.6694 GB, free: 488 kB / 0.4981 GB Notification: Performance of Templates: time 0.003159/0.1879, allocations: 0.8797 MB / 0.6703 GB, free: 15.6 MB / 0.5137 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)