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.0008061/0.0008062, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009632/0.0009631, allocations: 180.5 kB / 16.92 MB, free: 6.652 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.316/1.316, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9125/0.9125, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 13.31 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1493, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006456/0.15, allocations: 327 kB / 0.5889 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003689/0.1504, allocations: 159.6 kB / 0.5891 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.1504, allocations: 0 / 0.5891 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.1504, allocations: 0 / 0.5891 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.842e-05/0.1505, allocations: 3.938 kB / 0.5891 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.1507, allocations: 27.97 kB / 0.5891 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.127e-05/0.1507, allocations: 27.86 kB / 0.5892 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.302e-05/0.1508, allocations: 0 / 0.5892 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.002e-05/0.1508, allocations: 11.98 kB / 0.5892 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.1509, allocations: 7.922 kB / 0.5892 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1509, allocations: 4 kB / 0.5892 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.151, allocations: 31.97 kB / 0.5892 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.151, allocations: 0 / 0.5892 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.151, allocations: 45.61 kB / 0.5892 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.919e-05/0.1511, allocations: 7.984 kB / 0.5893 GB, free: 1.973 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1511, allocations: 0 / 0.5893 GB, free: 1.973 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1511, allocations: 0 / 0.5893 GB, free: 1.973 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.1511, allocations: 4 kB / 0.5893 GB, free: 1.969 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.0003411/0.1515, allocations: 327.6 kB / 0.5896 GB, free: 1.598 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1515, allocations: 8.031 kB / 0.5896 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.1515, allocations: 8.844 kB / 0.5896 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1516, allocations: 164.4 kB / 0.5897 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1517, allocations: 384 / 0.5897 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.1517, allocations: 4.375 kB / 0.5898 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.984e-05/0.1518, allocations: 46.25 kB / 0.5898 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1518, allocations: 8.125 kB / 0.5898 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1518, allocations: 3.938 kB / 0.5898 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1518, allocations: 0 / 0.5898 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.1519, allocations: 11.98 kB / 0.5898 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.152, allocations: 166 kB / 0.59 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.981e-05/0.1521, allocations: 42.56 kB / 0.59 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.1522, allocations: 16.98 kB / 0.59 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.995e-05/0.1523, allocations: 89.09 kB / 0.5901 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1523, allocations: 34.5 kB / 0.5902 GB, free: 0.875 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1523, allocations: 0 / 0.5902 GB, free: 0.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001193/0.1535, allocations: 484.3 kB / 0.5906 GB, free: 336 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.1536, allocations: 55.41 kB / 0.5907 GB, free: 268 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.665e-05/0.1536, allocations: 89.86 kB / 0.5908 GB, free: 168 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1536, allocations: 29.83 kB / 0.5908 GB, free: 132 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.1537, allocations: 88.12 kB / 0.5909 GB, free: 40 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.1537, allocations: 23.59 kB / 0.5909 GB, free: 16 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.1538, allocations: 17.72 kB / 0.5909 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.1539, allocations: 318.8 kB / 0.5912 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.1539, allocations: 12 kB / 0.5912 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/0.1539, allocations: 15.98 kB / 0.5912 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.036e-05/0.154, allocations: 37.03 kB / 0.5913 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.154, allocations: 0 / 0.5913 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001042/0.1541, allocations: 77.56 kB / 0.5913 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1541, allocations: 11.94 kB / 0.5914 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.1541, allocations: 0 / 0.5914 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1542, allocations: 0 / 0.5914 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.1542, allocations: 19.98 kB / 0.5914 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1542, allocations: 0 / 0.5914 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.1543, allocations: 0 / 0.5914 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1543, allocations: 4 kB / 0.5914 GB, free: 15.49 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 6.944e-05/0.1544, allocations: 113.8 kB / 0.5915 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.1544, allocations: 11.94 kB / 0.5915 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.1545, allocations: 73.64 kB / 0.5916 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1545, allocations: 0 / 0.5916 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1546, allocations: 3.984 kB / 0.5916 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1546, allocations: 7.984 kB / 0.5916 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.1547, allocations: 165.7 kB / 0.5917 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1547, allocations: 0 / 0.5917 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.5e-05/0.1548, allocations: 11.94 kB / 0.5917 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1548, allocations: 7.938 kB / 0.5918 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1548, allocations: 7.984 kB / 0.5918 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1548, allocations: 0 / 0.5918 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1548, allocations: 192 / 0.5918 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.155, allocations: 118.8 kB / 0.5919 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.155, allocations: 85.05 kB / 0.592 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.155, allocations: 0 / 0.592 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.588e-05/0.1551, allocations: 8 kB / 0.592 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.1551, allocations: 3.984 kB / 0.592 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.1551, allocations: 8.062 kB / 0.592 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.57e-05/0.1552, allocations: 75.28 kB / 0.592 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1552, allocations: 0 / 0.592 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002247/0.1554, allocations: 32 kB / 0.5921 GB, free: 14.66 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.0002066/0.1556, allocations: 135.1 kB / 0.5922 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.1557, allocations: 39.98 kB / 0.5922 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1557, allocations: 0 / 0.5922 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.1558, allocations: 31.95 kB / 0.5923 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.1559, allocations: 4 kB / 0.5923 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.1562, allocations: 174.3 kB / 0.5924 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.1564, allocations: 0.6848 MB / 0.5931 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.1565, allocations: 11.44 kB / 0.5931 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1565, allocations: 0 / 0.5931 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.002276/0.1588, allocations: 0.9115 MB / 0.594 GB, free: 12.62 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)