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.001338/0.001338, allocations: 100.1 kB / 15.88 MB, free: 12 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.001601/0.001601, allocations: 199.2 kB / 16.79 MB, free: 6.828 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.417/1.417, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9277/0.9277, allocations: 135.1 MB / 425.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.59 kB / 0.5053 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1384, allocations: 80.93 MB / 0.5844 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001671/0.1401, allocations: 0.6491 MB / 0.585 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003862/0.1405, allocations: 167.5 kB / 0.5852 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.297e-05/0.1406, allocations: 0 / 0.5852 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.1406, allocations: 4 kB / 0.5852 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.167e-05/0.1406, allocations: 0 / 0.5852 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.1409, allocations: 35.84 kB / 0.5852 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.969e-05/0.1409, allocations: 15.98 kB / 0.5852 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.141, allocations: 4 kB / 0.5852 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.638e-05/0.141, allocations: 0 / 0.5852 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.1411, allocations: 15.91 kB / 0.5852 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1411, allocations: 0 / 0.5852 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.1412, allocations: 31.97 kB / 0.5853 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.1412, allocations: 4 kB / 0.5853 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.1412, allocations: 7.938 kB / 0.5853 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.919e-05/0.1413, allocations: 27.95 kB / 0.5853 GB, free: 4.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1413, allocations: 0 / 0.5853 GB, free: 4.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1413, allocations: 0 / 0.5853 GB, free: 4.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1413, allocations: 0 / 0.5853 GB, free: 4.02 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.0003796/0.1417, allocations: 327.6 kB / 0.5856 GB, free: 3.648 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1417, allocations: 12.03 kB / 0.5856 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.1418, allocations: 8.828 kB / 0.5856 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1419, allocations: 164.3 kB / 0.5858 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1419, allocations: 4.375 kB / 0.5858 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1419, allocations: 4.375 kB / 0.5858 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.142, allocations: 46.25 kB / 0.5858 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.142, allocations: 192 / 0.5858 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1421, allocations: 7.938 kB / 0.5858 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1421, allocations: 0 / 0.5858 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.1421, allocations: 15.98 kB / 0.5859 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.1423, allocations: 162 kB / 0.586 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.944e-05/0.1424, allocations: 50.5 kB / 0.5861 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.1424, allocations: 16.98 kB / 0.5861 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.1425, allocations: 85.09 kB / 0.5862 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1426, allocations: 30.56 kB / 0.5862 GB, free: 2.922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1426, allocations: 0 / 0.5862 GB, free: 2.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001187/0.1438, allocations: 488 kB / 0.5867 GB, free: 2.371 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.1438, allocations: 51.41 kB / 0.5867 GB, free: 2.309 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.1439, allocations: 101.8 kB / 0.5868 GB, free: 2.199 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1439, allocations: 29.64 kB / 0.5868 GB, free: 2.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.1439, allocations: 84.14 kB / 0.5869 GB, free: 2.078 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.144, allocations: 19.66 kB / 0.5869 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.144, allocations: 25.7 kB / 0.587 GB, free: 2.027 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1441, allocations: 314.8 kB / 0.5873 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.1442, allocations: 11.94 kB / 0.5873 GB, free: 1.699 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.1442, allocations: 20.55 kB / 0.5873 GB, free: 1.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.492e-05/0.1443, allocations: 32.86 kB / 0.5873 GB, free: 1.645 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1443, allocations: 0 / 0.5873 GB, free: 1.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001044/0.1444, allocations: 69.59 kB / 0.5874 GB, free: 1.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1444, allocations: 7.938 kB / 0.5874 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1444, allocations: 4 kB / 0.5874 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1444, allocations: 7.984 kB / 0.5874 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.1445, allocations: 11.94 kB / 0.5874 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1445, allocations: 4 kB / 0.5874 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.1446, allocations: 0 / 0.5874 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1446, allocations: 7.984 kB / 0.5874 GB, free: 1.527 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.059e-05/0.1446, allocations: 113.8 kB / 0.5875 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.1447, allocations: 3.938 kB / 0.5875 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.1448, allocations: 93.55 kB / 0.5876 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1448, allocations: 0 / 0.5876 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1448, allocations: 0 / 0.5876 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1448, allocations: 0 / 0.5876 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.145, allocations: 157.7 kB / 0.5878 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.145, allocations: 4 kB / 0.5878 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.974e-05/0.1451, allocations: 19.98 kB / 0.5878 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1451, allocations: 3.938 kB / 0.5878 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1451, allocations: 4 kB / 0.5878 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1451, allocations: 0 / 0.5878 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1451, allocations: 0 / 0.5878 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.1453, allocations: 121.3 kB / 0.5879 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.1453, allocations: 85.08 kB / 0.588 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1453, allocations: 12 kB / 0.588 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.377e-05/0.1454, allocations: 0 / 0.588 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.1454, allocations: 7.984 kB / 0.588 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1454, allocations: 0 / 0.588 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.923e-05/0.1455, allocations: 79.28 kB / 0.5881 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1455, allocations: 0 / 0.5881 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.1457, allocations: 32 kB / 0.5881 GB, free: 0.6992 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.0002068/0.1459, allocations: 135.3 kB / 0.5883 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.146, allocations: 39.91 kB / 0.5883 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.146, allocations: 0 / 0.5883 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.1461, allocations: 23.98 kB / 0.5883 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.1462, allocations: 8 kB / 0.5883 GB, free: 500 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.1465, allocations: 170.6 kB / 0.5885 GB, free: 300 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.1468, allocations: 0.6848 MB / 0.5892 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.1468, allocations: 15.44 kB / 0.5892 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1468, allocations: 0 / 0.5892 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.002138/0.1489, allocations: 0.918 MB / 0.5901 GB, free: 14.66 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)