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.0009771/0.000977, allocations: 114.4 kB / 16.37 MB, free: 6.012 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.0009547/0.0009548, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7928/0.7928, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.91 kB / 0.5068 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3419, allocations: 80.9 MB / 0.5858 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001641/0.3436, allocations: 0.5958 MB / 0.5864 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003357/0.344, allocations: 159.8 kB / 0.5865 GB, free: 24.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/0.344, allocations: 0 / 0.5865 GB, free: 24.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.344, allocations: 4.719 kB / 0.5865 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.54e-05/0.3441, allocations: 1.406 kB / 0.5865 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.3444, allocations: 43.23 kB / 0.5866 GB, free: 24.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.648e-05/0.3444, allocations: 18.52 kB / 0.5866 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.3445, allocations: 3.375 kB / 0.5866 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.666e-05/0.3445, allocations: 7.859 kB / 0.5866 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.3445, allocations: 14.08 kB / 0.5866 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.3446, allocations: 1.969 kB / 0.5866 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.155e-05/0.3446, allocations: 31.81 kB / 0.5866 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.3447, allocations: 1.406 kB / 0.5866 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.3447, allocations: 16.39 kB / 0.5866 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.494e-05/0.3448, allocations: 23.73 kB / 0.5867 GB, free: 24.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3448, allocations: 1.188 kB / 0.5867 GB, free: 24.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3448, allocations: 0 / 0.5867 GB, free: 24.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.3448, allocations: 4.594 kB / 0.5867 GB, free: 24.79 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.0002972/0.3451, allocations: 338.2 kB / 0.587 GB, free: 24.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.3451, allocations: 10.39 kB / 0.587 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.3452, allocations: 2.375 kB / 0.587 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.122e-05/0.3452, allocations: 163.5 kB / 0.5872 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3453, allocations: 1.781 kB / 0.5872 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.3453, allocations: 1.906 kB / 0.5872 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.291e-05/0.3454, allocations: 47.38 kB / 0.5872 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.3454, allocations: 4.172 kB / 0.5872 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3454, allocations: 8.938 kB / 0.5872 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3454, allocations: 1.5 kB / 0.5872 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.785e-05/0.3455, allocations: 7.125 kB / 0.5872 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001153/0.3456, allocations: 166.8 kB / 0.5874 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.396e-05/0.3457, allocations: 45.22 kB / 0.5874 GB, free: 23.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.3457, allocations: 20.5 kB / 0.5875 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-05/0.3458, allocations: 80.2 kB / 0.5875 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.3458, allocations: 36.78 kB / 0.5876 GB, free: 23.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3458, allocations: 2.344 kB / 0.5876 GB, free: 23.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.001089/0.3469, allocations: 496.2 kB / 0.588 GB, free: 23.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.3469, allocations: 55.34 kB / 0.5881 GB, free: 23.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.197e-05/0.347, allocations: 93.2 kB / 0.5882 GB, free: 23.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.395e-06/0.347, allocations: 31.14 kB / 0.5882 GB, free: 23.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.024e-05/0.347, allocations: 81.27 kB / 0.5883 GB, free: 23.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.347, allocations: 26.58 kB / 0.5883 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.3471, allocations: 19.81 kB / 0.5883 GB, free: 23.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.393e-05/0.3471, allocations: 312.2 kB / 0.5886 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.3471, allocations: 16.55 kB / 0.5887 GB, free: 22.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.3472, allocations: 15.61 kB / 0.5887 GB, free: 22.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.505e-05/0.3472, allocations: 38.12 kB / 0.5887 GB, free: 22.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3472, allocations: 1.375 kB / 0.5887 GB, free: 22.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.1e-05/0.3473, allocations: 67.62 kB / 0.5888 GB, free: 22.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3473, allocations: 9.062 kB / 0.5888 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3474, allocations: 0 / 0.5888 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3474, allocations: 5.75 kB / 0.5888 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.3474, allocations: 15.86 kB / 0.5888 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3475, allocations: 1.125 kB / 0.5888 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.3475, allocations: 1.281 kB / 0.5888 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3475, allocations: 2.156 kB / 0.5888 GB, free: 22.61 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.223e-05/0.3475, allocations: 117.6 kB / 0.5889 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.3476, allocations: 6.5 kB / 0.5889 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.3477, allocations: 88.53 kB / 0.589 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3477, allocations: 0 / 0.589 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3477, allocations: 1.781 kB / 0.589 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3477, allocations: 0.5 kB / 0.589 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.405e-05/0.3478, allocations: 169.4 kB / 0.5892 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3478, allocations: 4.562 kB / 0.5892 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.3479, allocations: 13.03 kB / 0.5892 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3479, allocations: 7.875 kB / 0.5892 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3479, allocations: 3.844 kB / 0.5892 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3479, allocations: 0 / 0.5892 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3479, allocations: 1.406 kB / 0.5892 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.3481, allocations: 113.5 kB / 0.5893 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.3481, allocations: 87.59 kB / 0.5894 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.3481, allocations: 1.125 kB / 0.5894 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.302e-05/0.3482, allocations: 2.719 kB / 0.5894 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.3482, allocations: 3.75 kB / 0.5894 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.3482, allocations: 1.344 kB / 0.5894 GB, free: 22.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.743e-05/0.3482, allocations: 86.83 kB / 0.5895 GB, free: 21.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3482, allocations: 0 / 0.5895 GB, free: 21.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002076/0.3485, allocations: 31.31 kB / 0.5895 GB, free: 21.92 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.0001818/0.3486, allocations: 143.7 kB / 0.5896 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.3488, allocations: 36.61 kB / 0.5897 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3488, allocations: 1.281 kB / 0.5897 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.3488, allocations: 26.89 kB / 0.5897 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.349, allocations: 2.625 kB / 0.5897 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.3492, allocations: 131.1 kB / 0.5898 GB, free: 21.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.685e-05/0.3493, allocations: 0.6892 MB / 0.5905 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.162e-05/0.3493, allocations: 13.52 kB / 0.5905 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.3494, allocations: 15.28 kB / 0.5905 GB, free: 20.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3494, allocations: 0 / 0.5905 GB, free: 20.93 MB / 446.1 MB Notification: Performance of Templates: time 0.002673/0.352, allocations: 0.8685 MB / 0.5914 GB, free: 20.43 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)