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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006921/0.0006921, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001735, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007057/0.0007057, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009187/0.001624, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.07/1.07, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0874/1.157, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7808/0.7808, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2847/1.066, allocations: 49.13 MB / 448.6 MB, free: 5.941 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 450 MB, free: 4.562 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073e-05/1.212e-05, allocations: 3.781 kB / 450 MB, free: 4.559 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001152/0.001164, allocations: 0.6689 MB / 450.7 MB, free: 3.922 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001932/0.001357, allocations: 154.2 kB / 450.9 MB, free: 3.777 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.521e-05/0.001373, allocations: 0 / 450.9 MB, free: 3.777 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.857e-06/0.001376, allocations: 0 / 450.9 MB, free: 3.777 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.633e-06/0.001383, allocations: 4.484 kB / 450.9 MB, free: 3.773 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.001535, allocations: 37.28 kB / 450.9 MB, free: 3.738 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.304e-05/0.001588, allocations: 13.45 kB / 450.9 MB, free: 3.727 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.001633, allocations: 6.641 kB / 450.9 MB, free: 3.723 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.232e-05/0.001685, allocations: 8.75 kB / 450.9 MB, free: 3.715 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.001773, allocations: 8.75 kB / 450.9 MB, free: 3.707 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.001789, allocations: 1.203 kB / 450.9 MB, free: 3.707 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.001895, allocations: 41.67 kB / 451 MB, free: 3.668 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.001912, allocations: 6.125 kB / 451 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.001927, allocations: 0 / 451 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.002036, allocations: 29.66 kB / 451 MB, free: 3.637 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.002049, allocations: 0.8438 kB / 451 MB, free: 3.637 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.1e-07/0.002049, allocations: 0 / 451 MB, free: 3.637 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.002058, allocations: 0.5312 kB / 451 MB, free: 3.637 MB / 426.7 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.0003264/0.002384, allocations: 246.7 kB / 451.2 MB, free: 3.367 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.002416, allocations: 8.031 kB / 451.3 MB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.002446, allocations: 4.938 kB / 451.3 MB, free: 3.355 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.854e-05/0.002534, allocations: 108.1 kB / 451.4 MB, free: 3.227 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.002546, allocations: 4.359 kB / 451.4 MB, free: 3.223 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.00257, allocations: 6.344 kB / 451.4 MB, free: 3.219 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.458e-05/0.002665, allocations: 67.95 kB / 451.4 MB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.002672, allocations: 192 / 451.4 MB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.002678, allocations: 1.141 kB / 451.4 MB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.002684, allocations: 384 / 451.4 MB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.00271, allocations: 11.92 kB / 451.5 MB, free: 3.129 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.25e-05/0.002803, allocations: 71.61 kB / 451.5 MB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/0.002869, allocations: 39.17 kB / 451.6 MB, free: 3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.002884, allocations: 11.8 kB / 451.6 MB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.003125, allocations: 62.36 kB / 451.6 MB, free: 2.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.003146, allocations: 31.11 kB / 451.7 MB, free: 2.891 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.003148, allocations: 1.438 kB / 451.7 MB, free: 2.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007368/0.003884, allocations: 480.7 kB / 452.1 MB, free: 2.352 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.003908, allocations: 55.41 kB / 452.2 MB, free: 2.285 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.687e-05/0.003955, allocations: 101.9 kB / 452.3 MB, free: 2.176 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.003964, allocations: 25.7 kB / 452.3 MB, free: 2.145 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.941e-05/0.003983, allocations: 84.14 kB / 452.4 MB, free: 2.059 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.00401, allocations: 23.78 kB / 452.4 MB, free: 2.035 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.004035, allocations: 25.7 kB / 452.4 MB, free: 2.004 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.004098, allocations: 319.7 kB / 452.8 MB, free: 1.684 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.004107, allocations: 4 kB / 452.8 MB, free: 1.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.147e-05/0.004118, allocations: 8.938 kB / 452.8 MB, free: 1.672 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.055e-05/0.004149, allocations: 24.83 kB / 452.8 MB, free: 1.645 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.00415, allocations: 0 / 452.8 MB, free: 1.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 4.955e-05/0.004199, allocations: 59.42 kB / 452.9 MB, free: 1.582 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.00421, allocations: 4 kB / 452.9 MB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.004214, allocations: 4 kB / 452.9 MB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.004225, allocations: 0.625 kB / 452.9 MB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.726e-05/0.004272, allocations: 12.62 kB / 452.9 MB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.004274, allocations: 0 / 452.9 MB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.004288, allocations: 10.83 kB / 452.9 MB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.004294, allocations: 8.547 kB / 452.9 MB, free: 1.547 MB / 426.7 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.292e-05/0.004337, allocations: 106.4 kB / 453 MB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.004346, allocations: 11.94 kB / 453 MB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.004426, allocations: 62.5 kB / 453.1 MB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.004428, allocations: 4.844 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.004429, allocations: 0 / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.004432, allocations: 1.25 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.78e-05/0.00449, allocations: 77.81 kB / 453.2 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.004491, allocations: 0 / 453.2 MB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.004529, allocations: 16.55 kB / 453.2 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.004535, allocations: 8.672 kB / 453.2 MB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.004536, allocations: 0.9062 kB / 453.2 MB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-06/0.00454, allocations: 0 / 453.2 MB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.004541, allocations: 272 / 453.2 MB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.004543, allocations: 6.078 kB / 453.2 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.595e-05/0.004629, allocations: 101.6 kB / 453.3 MB, free: 1.105 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.004637, allocations: 4.625 kB / 453.3 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/0.004652, allocations: 3.984 kB / 453.3 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.004664, allocations: 5.312 kB / 453.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-06/0.004668, allocations: 4 kB / 453.3 MB, free: 1.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.955e-06/0.004676, allocations: 4.859 kB / 453.3 MB, free: 1.082 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004676, allocations: 0.5 kB / 453.3 MB, free: 1.082 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001171/0.004793, allocations: 33.3 kB / 453.3 MB, free: 1.051 MB / 426.7 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.0001328/0.004926, allocations: 121 kB / 453.5 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.553e-05/0.004992, allocations: 30.67 kB / 453.5 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.004997, allocations: 4.766 kB / 453.5 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.571e-05/0.005022, allocations: 25.5 kB / 453.5 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.728e-05/0.00509, allocations: 13.89 kB / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.005311, allocations: 136.7 kB / 453.7 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.312e-05/0.005344, allocations: 63.2 kB / 453.7 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.741e-05/0.005372, allocations: 5.859 kB / 453.7 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.005413, allocations: 57.34 kB / 453.8 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.005413, allocations: 0 / 453.8 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of Templates: time 0.002319/0.007733, allocations: 0.9881 MB / 454.8 MB, free: 15.64 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6891497783362865]