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: 102.2 kB / 16.27 MB, free: 6 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.001383/0.001383, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.41/1.41, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8823/0.8823, allocations: 135.1 MB / 426.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 59.91 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3993, allocations: 80.9 MB / 0.585 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001758/0.4011, allocations: 0.5943 MB / 0.5856 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003681/0.4015, allocations: 157.6 kB / 0.5857 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.4015, allocations: 0 / 0.5857 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.4016, allocations: 0 / 0.5857 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.898e-05/0.4016, allocations: 0 / 0.5857 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.4019, allocations: 56 kB / 0.5858 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.197e-05/0.402, allocations: 14.53 kB / 0.5858 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.402, allocations: 1.5 kB / 0.5858 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.224e-05/0.4021, allocations: 14.44 kB / 0.5858 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.334e-05/0.4021, allocations: 10.34 kB / 0.5858 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.4022, allocations: 1.156 kB / 0.5858 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.462e-05/0.4022, allocations: 35.66 kB / 0.5859 GB, free: 24.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.4023, allocations: 5.453 kB / 0.5859 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.4023, allocations: 6.453 kB / 0.5859 GB, free: 24.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.376e-05/0.4024, allocations: 28.22 kB / 0.5859 GB, free: 24.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4024, allocations: 1.969 kB / 0.5859 GB, free: 24.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4024, allocations: 0 / 0.5859 GB, free: 24.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.4024, allocations: 0 / 0.5859 GB, free: 24.71 MB / 446.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.0003031/0.4027, allocations: 335.1 kB / 0.5862 GB, free: 24.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4028, allocations: 15.72 kB / 0.5862 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.4028, allocations: 2.031 kB / 0.5863 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.556e-05/0.4029, allocations: 163 kB / 0.5864 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.4029, allocations: 5.531 kB / 0.5864 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.4029, allocations: 1.906 kB / 0.5864 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.935e-05/0.403, allocations: 44.56 kB / 0.5865 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.4031, allocations: 192 / 0.5865 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4031, allocations: 7.938 kB / 0.5865 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4031, allocations: 1.5 kB / 0.5865 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.33e-05/0.4031, allocations: 11.98 kB / 0.5865 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.4033, allocations: 161.7 kB / 0.5866 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.202e-05/0.4034, allocations: 52.81 kB / 0.5867 GB, free: 23.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/0.4034, allocations: 17.52 kB / 0.5867 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.769e-05/0.4035, allocations: 88.83 kB / 0.5868 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.4035, allocations: 33.09 kB / 0.5868 GB, free: 23.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4035, allocations: 0 / 0.5868 GB, free: 23.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001165/0.4047, allocations: 489.5 kB / 0.5873 GB, free: 23.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.4047, allocations: 52.66 kB / 0.5873 GB, free: 23.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.956e-05/0.4048, allocations: 95.31 kB / 0.5874 GB, free: 23.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.4048, allocations: 27.83 kB / 0.5874 GB, free: 23.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.334e-05/0.4048, allocations: 80.14 kB / 0.5875 GB, free: 22.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.4049, allocations: 24.16 kB / 0.5875 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.4049, allocations: 29.27 kB / 0.5876 GB, free: 22.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.4049, allocations: 314.8 kB / 0.5879 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/0.405, allocations: 10.72 kB / 0.5879 GB, free: 22.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.405, allocations: 11.77 kB / 0.5879 GB, free: 22.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.166e-05/0.4051, allocations: 44.06 kB / 0.5879 GB, free: 22.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4051, allocations: 0 / 0.5879 GB, free: 22.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.457e-05/0.4052, allocations: 67.59 kB / 0.588 GB, free: 22.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.4052, allocations: 11.25 kB / 0.588 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.4052, allocations: 3.984 kB / 0.588 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.4052, allocations: 1.969 kB / 0.588 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.798e-05/0.4053, allocations: 15.66 kB / 0.588 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4053, allocations: 1.094 kB / 0.588 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.4054, allocations: 1.406 kB / 0.588 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.4054, allocations: 2.781 kB / 0.588 GB, free: 22.52 MB / 446.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 4.68e-05/0.4054, allocations: 112.2 kB / 0.5881 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.4054, allocations: 10.98 kB / 0.5882 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.4056, allocations: 84.83 kB / 0.5882 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4056, allocations: 3.938 kB / 0.5882 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4056, allocations: 2.156 kB / 0.5882 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4056, allocations: 0 / 0.5882 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.719e-05/0.4057, allocations: 165.5 kB / 0.5884 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4057, allocations: 1.906 kB / 0.5884 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.4058, allocations: 16.52 kB / 0.5884 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4058, allocations: 9.188 kB / 0.5884 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.4058, allocations: 9.547 kB / 0.5884 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4058, allocations: 0 / 0.5884 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4058, allocations: 0 / 0.5884 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.406, allocations: 120.1 kB / 0.5886 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.406, allocations: 83.17 kB / 0.5886 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.406, allocations: 4.5 kB / 0.5886 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.534e-05/0.4061, allocations: 3.5 kB / 0.5886 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.4061, allocations: 6.953 kB / 0.5886 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.4061, allocations: 1.25 kB / 0.5886 GB, free: 21.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.763e-05/0.4061, allocations: 77.88 kB / 0.5887 GB, free: 21.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4061, allocations: 0 / 0.5887 GB, free: 21.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.4064, allocations: 33.31 kB / 0.5888 GB, free: 21.83 MB / 446.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.0001868/0.4066, allocations: 130.8 kB / 0.5889 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.4067, allocations: 53.41 kB / 0.5889 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4067, allocations: 1.344 kB / 0.5889 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.276e-05/0.4067, allocations: 19.03 kB / 0.5889 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.4069, allocations: 2.562 kB / 0.589 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.4072, allocations: 167.3 kB / 0.5891 GB, free: 21.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.4073, allocations: 0.6803 MB / 0.5898 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.4073, allocations: 19.53 kB / 0.5898 GB, free: 20.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4073, allocations: 3.938 kB / 0.5898 GB, free: 20.82 MB / 446.1 MB Notification: Performance of Templates: time 0.002364/0.4097, allocations: 0.9142 MB / 0.5907 GB, free: 20.33 MB / 446.1 MB 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)