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.0008943/0.0008943, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001134/0.001134, allocations: 168.7 kB / 15.95 MB, free: 204 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.415/1.415, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9871/0.9871, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.000397, allocations: 17.09 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1877, allocations: 82.31 MB / 0.5874 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0008023/0.1885, allocations: 311.1 kB / 0.5877 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004417/0.189, allocations: 155.6 kB / 0.5878 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.189, allocations: 0 / 0.5878 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.189, allocations: 0 / 0.5878 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.439e-05/0.1891, allocations: 0 / 0.5878 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.1894, allocations: 27.91 kB / 0.5879 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.648e-05/0.1895, allocations: 15.98 kB / 0.5879 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.1895, allocations: 3.938 kB / 0.5879 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.1896, allocations: 4 kB / 0.5879 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.794e-05/0.1896, allocations: 15.92 kB / 0.5879 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1897, allocations: 0 / 0.5879 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.862e-05/0.1898, allocations: 35.95 kB / 0.5879 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.1898, allocations: 0 / 0.5879 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.1898, allocations: 33.7 kB / 0.588 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.095e-05/0.1899, allocations: 15.97 kB / 0.588 GB, free: 2.379 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1899, allocations: 0 / 0.588 GB, free: 2.379 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1899, allocations: 0 / 0.588 GB, free: 2.379 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1899, allocations: 0 / 0.588 GB, free: 2.379 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.0004678/0.1904, allocations: 327.4 kB / 0.5883 GB, free: 2.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.1905, allocations: 8.031 kB / 0.5883 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.1905, allocations: 15.84 kB / 0.5883 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.1907, allocations: 171.2 kB / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1907, allocations: 3.984 kB / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.1908, allocations: 4 kB / 0.5885 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1909, allocations: 41.69 kB / 0.5885 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1909, allocations: 0 / 0.5885 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1909, allocations: 0 / 0.5885 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.191, allocations: 0 / 0.5885 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.057e-05/0.191, allocations: 15.98 kB / 0.5885 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.1913, allocations: 177.6 kB / 0.5887 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1914, allocations: 42.5 kB / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.1914, allocations: 20.98 kB / 0.5888 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.1916, allocations: 81.11 kB / 0.5889 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1916, allocations: 34.55 kB / 0.5889 GB, free: 1.273 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1916, allocations: 0 / 0.5889 GB, free: 1.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001438/0.1931, allocations: 484.5 kB / 0.5893 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1931, allocations: 51.41 kB / 0.5894 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.1932, allocations: 93.86 kB / 0.5895 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1932, allocations: 29.64 kB / 0.5895 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.1933, allocations: 80.14 kB / 0.5896 GB, free: 456 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.1933, allocations: 27.64 kB / 0.5896 GB, free: 428 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-06/0.1933, allocations: 3.938 kB / 0.5896 GB, free: 424 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1935, allocations: 322.9 kB / 0.5899 GB, free: 92 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.1935, allocations: 15.98 kB / 0.5899 GB, free: 76 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/0.1936, allocations: 11.98 kB / 0.59 GB, free: 64 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.1936, allocations: 16 kB / 0.59 GB, free: 48 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1936, allocations: 0 / 0.59 GB, free: 48 kB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001252/0.1937, allocations: 65.83 kB / 0.59 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1938, allocations: 4 kB / 0.59 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1938, allocations: 80 / 0.59 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1938, allocations: 4 kB / 0.59 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.295e-05/0.1939, allocations: 19.92 kB / 0.5901 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1939, allocations: 11.98 kB / 0.5901 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.1939, allocations: 0 / 0.5901 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1939, allocations: 3.938 kB / 0.5901 GB, free: 15.93 MB / 0.4981 GB 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 7.92e-05/0.194, allocations: 117.8 kB / 0.5902 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.194, allocations: 0 / 0.5902 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.1942, allocations: 81.62 kB / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1942, allocations: 0 / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1942, allocations: 0 / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1942, allocations: 4 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.1944, allocations: 169.6 kB / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1944, allocations: 3.938 kB / 0.5904 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.693e-05/0.1945, allocations: 15.98 kB / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1945, allocations: 0 / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1945, allocations: 0 / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1945, allocations: 4 kB / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1945, allocations: 0 / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1947, allocations: 117 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.1947, allocations: 81.06 kB / 0.5906 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1947, allocations: 4.031 kB / 0.5906 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.263e-05/0.1948, allocations: 7.938 kB / 0.5907 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.1948, allocations: 11.97 kB / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1948, allocations: 0 / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.1949, allocations: 75.28 kB / 0.5907 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1949, allocations: 0 / 0.5907 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002235/0.1951, allocations: 32 kB / 0.5908 GB, free: 15.12 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 (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.0002184/0.1953, allocations: 131.4 kB / 0.5909 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.1955, allocations: 35.98 kB / 0.5909 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1955, allocations: 0 / 0.5909 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.1955, allocations: 27.92 kB / 0.591 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.1957, allocations: 11.03 kB / 0.591 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.196, allocations: 156.8 kB / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1963, allocations: 0.6809 MB / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.1963, allocations: 4.188 kB / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.1963, allocations: 11.44 kB / 0.5918 GB, free: 14 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1963, allocations: 0 / 0.5918 GB, free: 14 MB / 0.4981 GB Notification: Performance of Templates: time 0.003376/0.1997, allocations: 0.839 MB / 0.5926 GB, free: 13.18 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)