Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.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.001456/0.001456, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001504/0.001504, allocations: 189.3 kB / 22.1 MB, free: 5.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 207.6 MB / 232.8 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3065/0.3065, allocations: 55.67 MB / 340.7 MB, free: 13.98 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin") translateModel(Annex60.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 71.89 kB / 482 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4488, allocations: 62.86 MB / 0.5321 GB, free: 7.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothMin): time 0.002656/0.4515, allocations: 1.454 MB / 0.5336 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003917/0.4518, allocations: 126.7 kB / 0.5337 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.4519, allocations: 7.938 kB / 0.5337 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.4519, allocations: 2.375 kB / 0.5337 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/0.452, allocations: 5.875 kB / 0.5337 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.4522, allocations: 36.05 kB / 0.5337 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.4524, allocations: 41.75 kB / 0.5338 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.4525, allocations: 16.14 kB / 0.5338 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.005e-05/0.4525, allocations: 16.5 kB / 0.5338 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.4526, allocations: 23.55 kB / 0.5338 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.4526, allocations: 3.688 kB / 0.5338 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.4527, allocations: 32.61 kB / 0.5339 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.4527, allocations: 15 kB / 0.5339 GB, free: 6.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.4528, allocations: 17.8 kB / 0.5339 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.4529, allocations: 65.59 kB / 0.5339 GB, free: 6.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4529, allocations: 0 / 0.5339 GB, free: 6.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4529, allocations: 0 / 0.5339 GB, free: 6.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.4529, allocations: 1.438 kB / 0.5339 GB, free: 6.73 MB / 398.1 MB 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.0004171/0.4533, allocations: 288.3 kB / 0.5342 GB, free: 6.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4534, allocations: 8.344 kB / 0.5342 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.4546, allocations: 216.7 kB / 0.5344 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.378e-05/0.4547, allocations: 115.1 kB / 0.5345 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4547, allocations: 2.125 kB / 0.5345 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.4547, allocations: 7.531 kB / 0.5346 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.4553, allocations: 194.2 kB / 0.5347 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4554, allocations: 1.188 kB / 0.5347 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.4554, allocations: 1.062 kB / 0.5347 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4554, allocations: 0.5938 kB / 0.5347 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.4565, allocations: 289.8 kB / 0.535 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009731/0.4574, allocations: 399.7 kB / 0.5354 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.4588, allocations: 287.9 kB / 0.5357 GB, free: 5.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/0.4592, allocations: 105.8 kB / 0.5358 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.4592, allocations: 0.8906 kB / 0.5358 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.4592, allocations: 31.62 kB / 0.5358 GB, free: 5.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4593, allocations: 0 / 0.5358 GB, free: 5.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0013/0.4606, allocations: 311.6 kB / 0.5361 GB, free: 5.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.4606, allocations: 55.34 kB / 0.5362 GB, free: 5.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.602e-05/0.4607, allocations: 126.6 kB / 0.5363 GB, free: 5.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.4607, allocations: 26.64 kB / 0.5363 GB, free: 5.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.4607, allocations: 101.2 kB / 0.5364 GB, free: 5.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.4608, allocations: 13.8 kB / 0.5364 GB, free: 5.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.4608, allocations: 18.66 kB / 0.5364 GB, free: 5.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.4609, allocations: 314.4 kB / 0.5367 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.4613, allocations: 95.41 kB / 0.5368 GB, free: 5.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.4617, allocations: 97.08 kB / 0.5369 GB, free: 5.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007426/0.4625, allocations: 172.9 kB / 0.5371 GB, free: 4.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4625, allocations: 1.625 kB / 0.5371 GB, free: 4.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008296/0.4633, allocations: 214.4 kB / 0.5373 GB, free: 4.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4633, allocations: 5.594 kB / 0.5373 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4633, allocations: 0.7031 kB / 0.5373 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.4634, allocations: 1.094 kB / 0.5373 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.4637, allocations: 36.88 kB / 0.5373 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4637, allocations: 5.031 kB / 0.5373 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.4639, allocations: 30.98 kB / 0.5374 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.4639, allocations: 2.594 kB / 0.5374 GB, free: 4.922 MB / 398.1 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 (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 8.503e-05/0.464, allocations: 116.6 kB / 0.5375 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.464, allocations: 6.016 kB / 0.5375 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.4641, allocations: 7.031 kB / 0.5375 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4641, allocations: 5.062 kB / 0.5375 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4641, allocations: 0.9375 kB / 0.5375 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4641, allocations: 5.219 kB / 0.5375 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.4643, allocations: 175.5 kB / 0.5377 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4643, allocations: 1.031 kB / 0.5377 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.4645, allocations: 37.23 kB / 0.5377 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4645, allocations: 0 / 0.5377 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4646, allocations: 2.406 kB / 0.5377 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4646, allocations: 0 / 0.5377 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4646, allocations: 4 kB / 0.5377 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008934/0.4655, allocations: 316.4 kB / 0.538 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.4655, allocations: 3.641 kB / 0.538 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.4655, allocations: 8.641 kB / 0.538 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.4658, allocations: 31.16 kB / 0.5381 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.4658, allocations: 11.78 kB / 0.5381 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.4658, allocations: 1.547 kB / 0.5381 GB, free: 4.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.739e-05/0.4659, allocations: 97.53 kB / 0.5382 GB, free: 4.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4659, allocations: 0 / 0.5382 GB, free: 4.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.4661, allocations: 12.12 kB / 0.5382 GB, free: 4.34 MB / 398.1 MB 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 0.0001108/0.4662, allocations: 96 kB / 0.5383 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008923/0.4671, allocations: 192.7 kB / 0.5384 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4671, allocations: 0 / 0.5384 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004189/0.4675, allocations: 107.8 kB / 0.5385 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.4678, allocations: 5.422 kB / 0.5386 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.4688, allocations: 271.7 kB / 0.5388 GB, free: 4.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.4689, allocations: 0.6982 MB / 0.5395 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.973e-05/0.469, allocations: 16.14 kB / 0.5395 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.4691, allocations: 16.25 kB / 0.5395 GB, free: 3.336 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4691, allocations: 0 / 0.5395 GB, free: 3.336 MB / 398.1 MB Notification: Performance of Templates: time 0.004005/0.4731, allocations: 0.9457 MB / 0.5404 GB, free: 3.25 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.640937561169267] Failed to read output from testmodel.py, exit status != 0: 0.4838414303958416 0.502461315 0.045677186 Calling exit ...