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.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.001156/0.001156, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00174/0.002895, 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.001078/0.001078, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001491/0.002569, 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.021/1.021, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09077/1.112, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7912/0.7912, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.3057/1.097, allocations: 49.05 MB / 447.8 MB, free: 6.586 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/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_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 449.2 MB, free: 5.207 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.72e-05, allocations: 4.984 kB / 449.2 MB, free: 5.203 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001457/0.001484, allocations: 0.6631 MB / 449.9 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002074/0.001692, allocations: 165.5 kB / 450 MB, free: 4.422 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.474e-05/0.001706, allocations: 0 / 450 MB, free: 4.422 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.28e-06/0.001712, allocations: 6.391 kB / 450 MB, free: 4.418 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.44e-06/0.001717, allocations: 0 / 450 MB, free: 4.418 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.00188, allocations: 28.55 kB / 450.1 MB, free: 4.391 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.146e-05/0.001931, allocations: 12.77 kB / 450.1 MB, free: 4.379 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.001969, allocations: 5.969 kB / 450.1 MB, free: 4.375 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.158e-05/0.002021, allocations: 17.39 kB / 450.1 MB, free: 4.359 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.192e-05/0.002093, allocations: 8.859 kB / 450.1 MB, free: 4.352 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.002108, allocations: 0 / 450.1 MB, free: 4.352 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-05/0.0022, allocations: 32.84 kB / 450.2 MB, free: 4.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.00222, allocations: 0.875 kB / 450.2 MB, free: 4.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.413e-05/0.002234, allocations: 6.156 kB / 450.2 MB, free: 4.316 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.00234, allocations: 41.25 kB / 450.2 MB, free: 4.277 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.002351, allocations: 1.094 kB / 450.2 MB, free: 4.277 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.002352, allocations: 0.6875 kB / 450.2 MB, free: 4.277 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.002362, allocations: 0 / 450.2 MB, free: 4.277 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.0003147/0.002677, allocations: 233.7 kB / 450.4 MB, free: 4.023 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.002708, allocations: 12.03 kB / 450.4 MB, free: 4.012 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.002739, allocations: 0.9375 kB / 450.4 MB, free: 4.012 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.165e-05/0.002821, allocations: 111.2 kB / 450.6 MB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.00283, allocations: 384 / 450.6 MB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.002854, allocations: 7.062 kB / 450.6 MB, free: 3.875 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.00294, allocations: 66.38 kB / 450.6 MB, free: 3.801 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.002946, allocations: 1.359 kB / 450.6 MB, free: 3.801 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.002953, allocations: 4.375 kB / 450.6 MB, free: 3.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.002958, allocations: 4.312 kB / 450.6 MB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.576e-05/0.002983, allocations: 11.92 kB / 450.6 MB, free: 3.781 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.796e-05/0.003071, allocations: 69.72 kB / 450.7 MB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.53e-05/0.003137, allocations: 31.66 kB / 450.7 MB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.003159, allocations: 19.64 kB / 450.8 MB, free: 3.641 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/0.003398, allocations: 59.88 kB / 450.8 MB, free: 3.586 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.003418, allocations: 34.56 kB / 450.9 MB, free: 3.543 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.003418, allocations: 0 / 450.9 MB, free: 3.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007926/0.004211, allocations: 476.9 kB / 451.3 MB, free: 3.004 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.00424, allocations: 63.95 kB / 451.4 MB, free: 2.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.576e-05/0.004286, allocations: 95.34 kB / 451.5 MB, free: 2.824 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.004295, allocations: 26.33 kB / 451.5 MB, free: 2.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.066e-05/0.004316, allocations: 84.12 kB / 451.6 MB, free: 2.707 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.004343, allocations: 29.78 kB / 451.6 MB, free: 2.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.004369, allocations: 17.7 kB / 451.6 MB, free: 2.656 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.004441, allocations: 324.5 kB / 451.9 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.00445, allocations: 4 kB / 452 MB, free: 2.328 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-06/0.00446, allocations: 4 kB / 452 MB, free: 2.324 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.004496, allocations: 36.75 kB / 452 MB, free: 2.285 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.004497, allocations: 0 / 452 MB, free: 2.285 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.451e-05/0.004552, allocations: 54.59 kB / 452 MB, free: 2.227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.004563, allocations: 4 kB / 452 MB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.004567, allocations: 1 kB / 452.1 MB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.004578, allocations: 4.547 kB / 452.1 MB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.004634, allocations: 15.98 kB / 452.1 MB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.004636, allocations: 1.625 kB / 452.1 MB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.209e-05/0.004648, allocations: 3.938 kB / 452.1 MB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.004653, allocations: 0 / 452.1 MB, free: 2.199 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.838e-05/0.004701, allocations: 119.1 kB / 452.2 MB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-06/0.004709, allocations: 5.219 kB / 452.2 MB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.004812, allocations: 66.69 kB / 452.3 MB, free: 2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.004816, allocations: 3.984 kB / 452.3 MB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.004817, allocations: 5.062 kB / 452.3 MB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.00482, allocations: 0 / 452.3 MB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.119e-05/0.004882, allocations: 74.5 kB / 452.3 MB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.004882, allocations: 1.156 kB / 452.3 MB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.004926, allocations: 20.11 kB / 452.4 MB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-06/0.004932, allocations: 4 kB / 452.4 MB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.004932, allocations: 0.7188 kB / 452.4 MB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.00494, allocations: 4 kB / 452.4 MB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.00494, allocations: 2.156 kB / 452.4 MB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.004941, allocations: 0 / 452.4 MB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.232e-05/0.005034, allocations: 97.02 kB / 452.5 MB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.005044, allocations: 4 kB / 452.5 MB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.549e-05/0.005059, allocations: 5.5 kB / 452.5 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.005071, allocations: 0.6094 kB / 452.5 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.005075, allocations: 8.859 kB / 452.5 MB, free: 1.746 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.526e-06/0.005083, allocations: 5.422 kB / 452.5 MB, free: 1.738 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005083, allocations: 5.156 kB / 452.5 MB, free: 1.734 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001154/0.005199, allocations: 31.94 kB / 452.5 MB, free: 1.703 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.0001463/0.005345, allocations: 113.1 kB / 452.6 MB, free: 1.586 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.446e-05/0.00541, allocations: 31.03 kB / 452.7 MB, free: 1.555 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.005414, allocations: 0.5938 kB / 452.7 MB, free: 1.555 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.542e-05/0.005439, allocations: 31.05 kB / 452.7 MB, free: 1.523 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.78e-05/0.005507, allocations: 19.91 kB / 452.7 MB, free: 1.504 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/0.005718, allocations: 132.8 kB / 452.9 MB, free: 1.355 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.893e-05/0.005747, allocations: 64.88 kB / 452.9 MB, free: 1.273 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.654e-05/0.005773, allocations: 5.156 kB / 452.9 MB, free: 1.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.005816, allocations: 59.36 kB / 453 MB, free: 1.211 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.005816, allocations: 0.8438 kB / 453 MB, free: 1.211 MB / 426.7 MB Notification: Performance of Templates: time 0.002337/0.008153, allocations: 0.9909 MB / 454 MB, free: 280 kB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5483407182618976]