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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 108.7 kB / 18.94 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 192.5 kB / 22.23 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 251 MB, free: 13.02 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.8646/0.8646, allocations: 134 MB / 440.3 MB, free: 232 kB / 334.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.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=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 0.00198/0.00198, allocations: 72.62 kB / 0.6108 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2042, allocations: 84.73 MB / 0.6935 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001977/0.2062, allocations: 0.6062 MB / 0.6941 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004917/0.2067, allocations: 159.9 kB / 0.6943 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.2067, allocations: 0 / 0.6943 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.2067, allocations: 0 / 0.6943 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.022e-05/0.2068, allocations: 0 / 0.6943 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.2071, allocations: 47.75 kB / 0.6943 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.587e-05/0.2072, allocations: 15.97 kB / 0.6943 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.2073, allocations: 0 / 0.6943 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.516e-05/0.2073, allocations: 11.94 kB / 0.6943 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.215e-05/0.2074, allocations: 7.984 kB / 0.6943 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2074, allocations: 4 kB / 0.6943 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/0.2075, allocations: 31.97 kB / 0.6944 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.2075, allocations: 7.984 kB / 0.6944 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.2075, allocations: 11.92 kB / 0.6944 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.2076, allocations: 31.83 kB / 0.6944 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2076, allocations: 0 / 0.6944 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2076, allocations: 0 / 0.6944 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.2077, allocations: 0 / 0.6944 GB, free: 8.066 MB / 0.5137 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.0004882/0.2081, allocations: 258.3 kB / 0.6947 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2082, allocations: 8.031 kB / 0.6947 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.2082, allocations: 12.89 kB / 0.6947 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2083, allocations: 106.5 kB / 0.6948 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.2084, allocations: 4.375 kB / 0.6948 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.2084, allocations: 4.312 kB / 0.6948 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.2085, allocations: 42.25 kB / 0.6948 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2085, allocations: 192 / 0.6948 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.2086, allocations: 7.938 kB / 0.6948 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.2086, allocations: 3.984 kB / 0.6948 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.2086, allocations: 15.98 kB / 0.6949 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.2088, allocations: 132.8 kB / 0.695 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.2089, allocations: 46.48 kB / 0.695 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.209, allocations: 20.98 kB / 0.6951 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.057e-05/0.209, allocations: 4 kB / 0.6951 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2091, allocations: 34.5 kB / 0.6951 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.2091, allocations: 0 / 0.6951 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.001338/0.2104, allocations: 414.9 kB / 0.6955 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2105, allocations: 51.41 kB / 0.6955 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.2105, allocations: 93.86 kB / 0.6956 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.2106, allocations: 25.7 kB / 0.6957 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.2106, allocations: 88.06 kB / 0.6957 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.2106, allocations: 31.73 kB / 0.6958 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.2107, allocations: 17.84 kB / 0.6958 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2108, allocations: 322.8 kB / 0.6961 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.2109, allocations: 15.94 kB / 0.6961 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.388e-05/0.2109, allocations: 8 kB / 0.6961 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.966e-05/0.211, allocations: 37.28 kB / 0.6961 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.211, allocations: 0 / 0.6961 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001165/0.2111, allocations: 69.69 kB / 0.6962 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2111, allocations: 7.938 kB / 0.6962 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2111, allocations: 0 / 0.6962 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2111, allocations: 4 kB / 0.6962 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.2112, allocations: 23.92 kB / 0.6962 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2112, allocations: 0 / 0.6962 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.2113, allocations: 4 kB / 0.6963 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2113, allocations: 0 / 0.6963 GB, free: 5.953 MB / 0.5137 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 0.0001062/0.2114, allocations: 113.8 kB / 0.6964 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.2114, allocations: 3.938 kB / 0.6964 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.2116, allocations: 93.81 kB / 0.6965 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2116, allocations: 0 / 0.6965 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2116, allocations: 4 kB / 0.6965 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2116, allocations: 3.938 kB / 0.6965 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.2117, allocations: 132.7 kB / 0.6966 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.2117, allocations: 0 / 0.6966 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/0.2118, allocations: 16 kB / 0.6966 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2118, allocations: 3.938 kB / 0.6966 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2118, allocations: 4 kB / 0.6966 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2118, allocations: 0 / 0.6966 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.2119, allocations: 7.922 kB / 0.6966 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.2121, allocations: 109.1 kB / 0.6967 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.2121, allocations: 19.84 kB / 0.6967 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.2121, allocations: 4 kB / 0.6967 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.239e-05/0.2121, allocations: 0 / 0.6967 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.2122, allocations: 7.984 kB / 0.6968 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.2122, allocations: 0 / 0.6968 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.2122, allocations: 79.28 kB / 0.6968 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2122, allocations: 3.938 kB / 0.6968 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002304/0.2124, allocations: 36.09 kB / 0.6969 GB, free: 5.242 MB / 0.5137 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.0002283/0.2127, allocations: 123.2 kB / 0.697 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.2128, allocations: 35.97 kB / 0.697 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2128, allocations: 0 / 0.697 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.2128, allocations: 23.92 kB / 0.697 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.213, allocations: 9.094 kB / 0.6971 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.2134, allocations: 137.4 kB / 0.6972 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.2137, allocations: 0.6846 MB / 0.6979 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.302e-05/0.2137, allocations: 4 kB / 0.6979 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.2138, allocations: 11.44 kB / 0.6979 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.2138, allocations: 0 / 0.6979 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of Templates: time 0.003856/0.2176, allocations: 0.9107 MB / 0.6988 GB, free: 3.266 MB / 0.5137 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.852089065127075] Failed to read output from testmodel.py, exit status != 0: 0.22532888501882553 0.24119994800000003 0.030426617000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fbec39617b0>