Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008929/0.0008929, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008959/0.0008959, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6566/0.6566, allocations: 132.4 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002685, allocations: 12 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3223, allocations: 81.57 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0005239/0.3229, allocations: 330.8 kB / 0.5834 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002788/0.3232, allocations: 151.2 kB / 0.5835 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.815e-05/0.3232, allocations: 0.8125 kB / 0.5835 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.059e-05/0.3232, allocations: 0.75 kB / 0.5835 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.447e-05/0.3232, allocations: 0.5938 kB / 0.5835 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.3234, allocations: 29.34 kB / 0.5836 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.152e-05/0.3235, allocations: 15.97 kB / 0.5836 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.3235, allocations: 1.719 kB / 0.5836 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.603e-05/0.3235, allocations: 8.5 kB / 0.5836 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.3236, allocations: 3.938 kB / 0.5836 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.3236, allocations: 1.875 kB / 0.5836 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.435e-05/0.3237, allocations: 35.77 kB / 0.5836 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.3237, allocations: 13.67 kB / 0.5837 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.292e-05/0.3237, allocations: 27.89 kB / 0.5837 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.565e-05/0.3238, allocations: 17.02 kB / 0.5837 GB, free: 3.594 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3238, allocations: 0.5625 kB / 0.5837 GB, free: 3.594 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3238, allocations: 0 / 0.5837 GB, free: 3.594 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3238, allocations: 0 / 0.5837 GB, free: 3.594 MB / 430.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.0002277/0.324, allocations: 319.5 kB / 0.584 GB, free: 3.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3241, allocations: 8.875 kB / 0.584 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.3241, allocations: 6.516 kB / 0.584 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.844e-05/0.3242, allocations: 169 kB / 0.5842 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3242, allocations: 4.969 kB / 0.5842 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.3242, allocations: 2.734 kB / 0.5842 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.554e-05/0.3243, allocations: 45.02 kB / 0.5842 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.3243, allocations: 0.7812 kB / 0.5842 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3243, allocations: 0 / 0.5842 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3243, allocations: 1.188 kB / 0.5842 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.983e-05/0.3244, allocations: 14.84 kB / 0.5842 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.3245, allocations: 162.4 kB / 0.5844 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.872e-05/0.3246, allocations: 51.36 kB / 0.5844 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.3246, allocations: 22.23 kB / 0.5845 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.477e-05/0.3247, allocations: 81.42 kB / 0.5845 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.3247, allocations: 35.62 kB / 0.5846 GB, free: 2.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3247, allocations: 0 / 0.5846 GB, free: 2.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009602/0.3257, allocations: 499.6 kB / 0.5851 GB, free: 2.191 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.472e-05/0.3257, allocations: 51.41 kB / 0.5851 GB, free: 2.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.224e-05/0.3257, allocations: 97.64 kB / 0.5852 GB, free: 2.027 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.3257, allocations: 25.7 kB / 0.5852 GB, free: 1.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.023e-05/0.3257, allocations: 81.39 kB / 0.5853 GB, free: 1.914 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.3258, allocations: 20.28 kB / 0.5853 GB, free: 1.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.3258, allocations: 0 / 0.5853 GB, free: 1.898 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.167e-05/0.3258, allocations: 317.6 kB / 0.5856 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/0.3258, allocations: 16.75 kB / 0.5856 GB, free: 1.574 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.3259, allocations: 13.05 kB / 0.5857 GB, free: 1.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.968e-05/0.3259, allocations: 14.09 kB / 0.5857 GB, free: 1.566 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.3259, allocations: 3.938 kB / 0.5857 GB, free: 1.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.853e-05/0.326, allocations: 75.06 kB / 0.5857 GB, free: 1.512 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.326, allocations: 7.25 kB / 0.5857 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.326, allocations: 0.625 kB / 0.5857 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.326, allocations: 1.828 kB / 0.5857 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.98e-05/0.3261, allocations: 12.83 kB / 0.5858 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3261, allocations: 4.062 kB / 0.5858 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.3262, allocations: 6.016 kB / 0.5858 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3262, allocations: 6.594 kB / 0.5858 GB, free: 1.5 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.3262, allocations: 117 kB / 0.5859 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-06/0.3262, allocations: 2.234 kB / 0.5859 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.3264, allocations: 83.55 kB / 0.586 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3264, allocations: 2.312 kB / 0.586 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.3264, allocations: 0 / 0.586 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3264, allocations: 5.578 kB / 0.586 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.685e-05/0.3265, allocations: 171 kB / 0.5861 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3265, allocations: 0 / 0.5861 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.047e-05/0.3265, allocations: 13.75 kB / 0.5862 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3265, allocations: 0.6875 kB / 0.5862 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.3266, allocations: 5.219 kB / 0.5862 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3266, allocations: 0.6094 kB / 0.5862 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3266, allocations: 5.219 kB / 0.5862 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.3267, allocations: 121.3 kB / 0.5863 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.3267, allocations: 78.59 kB / 0.5864 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.3268, allocations: 5.641 kB / 0.5864 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.3268, allocations: 1.969 kB / 0.5864 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.3268, allocations: 4.812 kB / 0.5864 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3268, allocations: 3.203 kB / 0.5864 GB, free: 0.918 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.443e-05/0.3268, allocations: 81.14 kB / 0.5864 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3269, allocations: 0 / 0.5864 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.3271, allocations: 28.33 kB / 0.5865 GB, free: 0.8359 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001547/0.3272, allocations: 139.9 kB / 0.5866 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.437e-05/0.3273, allocations: 32.12 kB / 0.5866 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3273, allocations: 4 kB / 0.5866 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.132e-05/0.3274, allocations: 21.02 kB / 0.5867 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.3275, allocations: 10.31 kB / 0.5867 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.3277, allocations: 156.9 kB / 0.5868 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.3278, allocations: 0.6814 MB / 0.5875 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.3279, allocations: 5.094 kB / 0.5875 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.3279, allocations: 12.11 kB / 0.5875 GB, free: 15.87 MB / 446.1 MB Notification: Performance of SimCode: time 1.893e-06/0.3279, allocations: 0 / 0.5875 GB, free: 15.87 MB / 446.1 MB Notification: Performance of Templates: time 0.002688/0.3306, allocations: 0.8309 MB / 0.5883 GB, free: 15.77 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)