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.00148/0.00148, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001635/0.001635, allocations: 207.6 kB / 22.24 MB, free: 5.262 MB / 14.72 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.948/0.948, allocations: 134 MB / 446.4 MB, free: 9.906 MB / 350.1 MB " [Timeout remaining time 179] 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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 66.16 kB / 0.619 GB, free: 6.352 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2075, allocations: 85.91 MB / 0.7029 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002105/0.2096, allocations: 0.6053 MB / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004462/0.21, allocations: 143.9 kB / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.21, allocations: 0 / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.051e-05/0.21, allocations: 0 / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.509e-05/0.2101, allocations: 3.938 kB / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.2104, allocations: 43.89 kB / 0.7037 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.677e-05/0.2104, allocations: 11.98 kB / 0.7037 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.2105, allocations: 4 kB / 0.7037 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.188e-05/0.2105, allocations: 11.94 kB / 0.7037 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.2106, allocations: 7.984 kB / 0.7037 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2106, allocations: 4 kB / 0.7037 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.2107, allocations: 31.95 kB / 0.7037 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.2107, allocations: 0 / 0.7037 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.2107, allocations: 11.92 kB / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.2108, allocations: 31.89 kB / 0.7038 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2108, allocations: 3.938 kB / 0.7038 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2108, allocations: 0 / 0.7038 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2108, allocations: 0 / 0.7038 GB, free: 15.61 MB / 0.5294 GB 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.0004033/0.2112, allocations: 262.3 kB / 0.704 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2113, allocations: 8.031 kB / 0.7041 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.2113, allocations: 4.938 kB / 0.7041 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.2114, allocations: 106.5 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2114, allocations: 4.375 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.2114, allocations: 8.359 kB / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.2116, allocations: 67.95 kB / 0.7042 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2116, allocations: 192 / 0.7042 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2116, allocations: 3.938 kB / 0.7042 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2116, allocations: 0 / 0.7042 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.824e-05/0.2117, allocations: 15.98 kB / 0.7043 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.2118, allocations: 113.3 kB / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.212, allocations: 50.55 kB / 0.7044 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.212, allocations: 16.98 kB / 0.7044 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-05/0.2121, allocations: 3.984 kB / 0.7044 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.2121, allocations: 34.56 kB / 0.7045 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.2121, allocations: 0 / 0.7045 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.001289/0.2134, allocations: 414.9 kB / 0.7049 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.2134, allocations: 55.34 kB / 0.7049 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.2135, allocations: 101.9 kB / 0.705 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.2135, allocations: 29.73 kB / 0.705 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.2136, allocations: 80.14 kB / 0.7051 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.2136, allocations: 23.8 kB / 0.7051 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.2137, allocations: 21.7 kB / 0.7052 GB, free: 14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.2138, allocations: 314.8 kB / 0.7055 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.2138, allocations: 8 kB / 0.7055 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.991e-05/0.2139, allocations: 20.05 kB / 0.7055 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.348e-05/0.2139, allocations: 36.86 kB / 0.7055 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2139, allocations: 0 / 0.7055 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001222/0.2141, allocations: 73.56 kB / 0.7056 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2141, allocations: 15.94 kB / 0.7056 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2141, allocations: 3.938 kB / 0.7056 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.2141, allocations: 3.984 kB / 0.7056 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.2142, allocations: 12 kB / 0.7056 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2142, allocations: 448 / 0.7056 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.538e-05/0.2142, allocations: 4 kB / 0.7056 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.2142, allocations: 0 / 0.7056 GB, free: 13.5 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.912e-05/0.2143, allocations: 109.8 kB / 0.7057 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.2143, allocations: 4 kB / 0.7057 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.2145, allocations: 93.44 kB / 0.7058 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2145, allocations: 4 kB / 0.7058 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2145, allocations: 4 kB / 0.7058 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2145, allocations: 0 / 0.7058 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.2146, allocations: 101.3 kB / 0.7059 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2146, allocations: 4 kB / 0.7059 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.307e-05/0.2147, allocations: 19.92 kB / 0.706 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2147, allocations: 4 kB / 0.706 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.2147, allocations: 0 / 0.706 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2147, allocations: 3.938 kB / 0.706 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2147, allocations: 0 / 0.706 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.2149, allocations: 125 kB / 0.7061 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-06/0.215, allocations: 0 / 0.7061 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.215, allocations: 4 kB / 0.7061 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.006e-05/0.215, allocations: 7.969 kB / 0.7061 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.215, allocations: 3.984 kB / 0.7061 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.215, allocations: 4 kB / 0.7061 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.03e-05/0.2151, allocations: 75.28 kB / 0.7062 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2151, allocations: 0 / 0.7062 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002358/0.2153, allocations: 35.92 kB / 0.7062 GB, free: 12.84 MB / 0.5294 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 (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.0002815/0.2156, allocations: 131.3 kB / 0.7063 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.2157, allocations: 35.91 kB / 0.7064 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.2157, allocations: 4 kB / 0.7064 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.441e-05/0.2158, allocations: 16.55 kB / 0.7064 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.216, allocations: 4 kB / 0.7064 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.2164, allocations: 141.5 kB / 0.7065 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.611e-05/0.2165, allocations: 71.14 kB / 0.7066 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.2165, allocations: 15.89 kB / 0.7066 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.2165, allocations: 15.42 kB / 0.7066 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of SimCode: time 3.9e-07/0.2165, allocations: 0 / 0.7066 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of Templates: time 0.00371/0.2202, allocations: 0.86 MB / 0.7075 GB, free: 11.52 MB / 0.5294 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9072810132056475] Failed to read output from testmodel.py, exit status != 0: 0.2280817162245512 0.251750344 0.036513677 Calling exit ...