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.001289/0.001289, 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.001284/0.001284, allocations: 189.1 kB / 16.25 MB, free: 6.621 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9334/0.9334, allocations: 135.6 MB / 425.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 72.31 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1539, allocations: 81.02 MB / 0.5845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001836/0.1558, allocations: 0.6602 MB / 0.5852 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004414/0.1562, allocations: 159.5 kB / 0.5853 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.1563, allocations: 0 / 0.5853 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.1563, allocations: 0 / 0.5853 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.1563, allocations: 3.938 kB / 0.5853 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1567, allocations: 39.97 kB / 0.5854 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.966e-05/0.1567, allocations: 15.92 kB / 0.5854 GB, free: 3.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.1568, allocations: 8 kB / 0.5854 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.863e-05/0.1568, allocations: 4 kB / 0.5854 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.1569, allocations: 11.91 kB / 0.5854 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1569, allocations: 0 / 0.5854 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.255e-05/0.157, allocations: 31.97 kB / 0.5854 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.157, allocations: 8 kB / 0.5854 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.157, allocations: 7.922 kB / 0.5854 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.33e-05/0.1571, allocations: 27.95 kB / 0.5855 GB, free: 3.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1571, allocations: 0 / 0.5855 GB, free: 3.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1571, allocations: 4 kB / 0.5855 GB, free: 3.316 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1571, allocations: 0 / 0.5855 GB, free: 3.316 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.000438/0.1576, allocations: 335.5 kB / 0.5858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1576, allocations: 12.03 kB / 0.5858 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.1577, allocations: 0.9375 kB / 0.5858 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1578, allocations: 164.4 kB / 0.586 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1578, allocations: 4.375 kB / 0.586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1578, allocations: 384 / 0.586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.1579, allocations: 47.95 kB / 0.586 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.158, allocations: 192 / 0.586 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.158, allocations: 7.875 kB / 0.586 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.158, allocations: 3.938 kB / 0.586 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.532e-05/0.158, allocations: 19.98 kB / 0.586 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.1582, allocations: 157.9 kB / 0.5862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.324e-05/0.1583, allocations: 42.62 kB / 0.5862 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.1584, allocations: 20.98 kB / 0.5862 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.1585, allocations: 93.03 kB / 0.5863 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.1585, allocations: 30.56 kB / 0.5864 GB, free: 2.215 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1585, allocations: 3.938 kB / 0.5864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001313/0.1599, allocations: 484.3 kB / 0.5868 GB, free: 1.664 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.1599, allocations: 51.41 kB / 0.5869 GB, free: 1.602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.276e-05/0.16, allocations: 97.86 kB / 0.587 GB, free: 1.496 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.16, allocations: 25.7 kB / 0.587 GB, free: 1.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.1601, allocations: 80.14 kB / 0.5871 GB, free: 1.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.1601, allocations: 31.55 kB / 0.5871 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.1602, allocations: 17.72 kB / 0.5871 GB, free: 1.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1603, allocations: 322.8 kB / 0.5874 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.1603, allocations: 4 kB / 0.5874 GB, free: 1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.919e-05/0.1604, allocations: 15.98 kB / 0.5874 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.722e-05/0.1605, allocations: 53.12 kB / 0.5875 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1605, allocations: 0 / 0.5875 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001083/0.1606, allocations: 65.69 kB / 0.5876 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1606, allocations: 7.938 kB / 0.5876 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1606, allocations: 0 / 0.5876 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1606, allocations: 4 kB / 0.5876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.541e-05/0.1607, allocations: 11.98 kB / 0.5876 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1607, allocations: 4 kB / 0.5876 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.277e-05/0.1608, allocations: 0 / 0.5876 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1608, allocations: 0 / 0.5876 GB, free: 0.832 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.13e-05/0.1609, allocations: 121.8 kB / 0.5877 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.1609, allocations: 3.938 kB / 0.5877 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.1611, allocations: 81.64 kB / 0.5878 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.1611, allocations: 3.984 kB / 0.5878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1611, allocations: 0 / 0.5878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1611, allocations: 8.109 kB / 0.5878 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.1612, allocations: 165.7 kB / 0.588 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1613, allocations: 0 / 0.588 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.1613, allocations: 12 kB / 0.588 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.1614, allocations: 11.92 kB / 0.588 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1614, allocations: 11.94 kB / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1614, allocations: 3.938 kB / 0.588 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1614, allocations: 0 / 0.588 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.1616, allocations: 109 kB / 0.5881 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.1616, allocations: 85.08 kB / 0.5882 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1616, allocations: 0 / 0.5882 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.1617, allocations: 8.062 kB / 0.5882 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.1617, allocations: 7.984 kB / 0.5882 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1617, allocations: 0 / 0.5882 GB, free: 108 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.075e-05/0.1618, allocations: 79.28 kB / 0.5883 GB, free: 28 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1618, allocations: 0 / 0.5883 GB, free: 28 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.162, allocations: 32.05 kB / 0.5883 GB, free: 15.99 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.0002242/0.1623, allocations: 131.1 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.1624, allocations: 35.98 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1624, allocations: 4.094 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.653e-05/0.1624, allocations: 27.92 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.1626, allocations: 8 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.1629, allocations: 149.6 kB / 0.5886 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.1632, allocations: 0.6807 MB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.033e-05/0.1633, allocations: 12.48 kB / 0.5893 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.1633, allocations: 11.44 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1633, allocations: 0 / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.003322/0.1666, allocations: 0.8787 MB / 0.5902 GB, free: 14.04 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)