Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.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.0006908/0.0006908, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.000699/0.000699, allocations: 212.7 kB / 23 MB, free: 2.984 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 0.9104/0.9104, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198: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 master/package.mo): time 0.7702/0.7702, allocations: 203.8 MB / 0.5049 GB, free: 10.48 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") [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.0008599/0.0008599, allocations: 75.95 kB / 0.7194 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.4579, allocations: 102 MB / 0.819 GB, free: 1.359 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001856/0.4597, allocations: 1.477 MB / 0.8205 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003218/0.46, allocations: 148.3 kB / 0.8206 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.4601, allocations: 2.156 kB / 0.8206 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.465e-05/0.4601, allocations: 0.6562 kB / 0.8206 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-05/0.4602, allocations: 8.438 kB / 0.8206 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.4604, allocations: 35.78 kB / 0.8206 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.725e-05/0.4605, allocations: 37.72 kB / 0.8207 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.4606, allocations: 20.2 kB / 0.8207 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.4606, allocations: 21.23 kB / 0.8207 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.843e-05/0.4607, allocations: 23.5 kB / 0.8207 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.4607, allocations: 2.531 kB / 0.8207 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.4608, allocations: 34.88 kB / 0.8208 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.4608, allocations: 15.72 kB / 0.8208 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.4608, allocations: 13.59 kB / 0.8208 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.4609, allocations: 66.17 kB / 0.8209 GB, free: 124 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4609, allocations: 0 / 0.8209 GB, free: 124 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4609, allocations: 0 / 0.8209 GB, free: 124 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4609, allocations: 0.5938 kB / 0.8209 GB, free: 124 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003514/0.4613, allocations: 287.5 kB / 0.8211 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4613, allocations: 13.62 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.4619, allocations: 210 kB / 0.8214 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.797e-05/0.462, allocations: 111.6 kB / 0.8215 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.462, allocations: 4.375 kB / 0.8215 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.462, allocations: 4.375 kB / 0.8215 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.4624, allocations: 201.9 kB / 0.8217 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.4624, allocations: 192 / 0.8217 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.4624, allocations: 4.641 kB / 0.8217 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4624, allocations: 1.906 kB / 0.8217 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.4629, allocations: 282.5 kB / 0.8219 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.4634, allocations: 378.3 kB / 0.8223 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/0.464, allocations: 288.4 kB / 0.8226 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.4642, allocations: 100.6 kB / 0.8227 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.4642, allocations: 1.922 kB / 0.8227 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.4642, allocations: 32.39 kB / 0.8227 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4642, allocations: 4 kB / 0.8227 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0006509/0.4649, allocations: 306.5 kB / 0.823 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.4649, allocations: 60.47 kB / 0.8231 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.085e-05/0.465, allocations: 110.6 kB / 0.8232 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.465, allocations: 27.45 kB / 0.8232 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.465, allocations: 91.95 kB / 0.8233 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.465, allocations: 9.516 kB / 0.8233 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.4651, allocations: 20.88 kB / 0.8233 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.4652, allocations: 314 kB / 0.8236 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.4653, allocations: 98.7 kB / 0.8237 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.4655, allocations: 92.88 kB / 0.8238 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.4659, allocations: 173.7 kB / 0.824 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4659, allocations: 5.375 kB / 0.824 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003972/0.4663, allocations: 219.1 kB / 0.8242 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.4663, allocations: 4.688 kB / 0.8242 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.4663, allocations: 1.094 kB / 0.8242 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4663, allocations: 4 kB / 0.8242 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.4664, allocations: 37.72 kB / 0.8242 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4665, allocations: 0.75 kB / 0.8242 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.026e-05/0.4665, allocations: 27.42 kB / 0.8242 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.4666, allocations: 6.266 kB / 0.8242 GB, free: 14.34 MB / 0.6198 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 (3): * Single equations (assignments): 3 * 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 6.332e-05/0.4666, allocations: 120.1 kB / 0.8244 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.4666, allocations: 6.578 kB / 0.8244 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.4667, allocations: 10.89 kB / 0.8244 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4667, allocations: 1.125 kB / 0.8244 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.4667, allocations: 0 / 0.8244 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4667, allocations: 1.859 kB / 0.8244 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.4668, allocations: 143.2 kB / 0.8245 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.4668, allocations: 0 / 0.8245 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4669, allocations: 32.53 kB / 0.8245 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4669, allocations: 1.734 kB / 0.8245 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4669, allocations: 1.844 kB / 0.8245 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.4669, allocations: 4 kB / 0.8246 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4669, allocations: 0.6094 kB / 0.8246 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.4674, allocations: 312.9 kB / 0.8249 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.4674, allocations: 5.953 kB / 0.8249 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.4674, allocations: 9.812 kB / 0.8249 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.4675, allocations: 30.88 kB / 0.8249 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.4675, allocations: 3.391 kB / 0.8249 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.4675, allocations: 2 kB / 0.8249 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.4676, allocations: 91.75 kB / 0.825 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4676, allocations: 0 / 0.825 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001489/0.4677, allocations: 12.88 kB / 0.825 GB, free: 13.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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 7.944e-05/0.4678, allocations: 94.3 kB / 0.8251 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004263/0.4682, allocations: 198.9 kB / 0.8253 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.4682, allocations: 0 / 0.8253 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.4684, allocations: 99.25 kB / 0.8254 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.4686, allocations: 15.14 kB / 0.8254 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.4691, allocations: 278.3 kB / 0.8257 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.844e-05/0.4692, allocations: 69.27 kB / 0.8257 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.4692, allocations: 12.52 kB / 0.8257 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.4692, allocations: 5.531 kB / 0.8257 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.002017/0.4713, allocations: 1.156 MB / 0.8269 GB, free: 13.34 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.538163044955581] Failed to read output from testmodel.py, exit status != 0: 0.4764004540629685 0.48587106399999996 0.023170861 Calling exit ...