Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04606/0.04606, allocations: 9.13 MB / 28.99 MB, free: 0.8164 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0007453/0.0007453, allocations: 98.39 kB / 35.33 MB, free: 1.07 MB / 24.77 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.0009938/0.0009938, allocations: 164.6 kB / 38.73 MB, free: 2.508 MB / 24.77 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.9755/0.9755, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004292/0.004292, allocations: 0.8225 MB / 276.5 MB, free: 0.7422 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.603/1.603, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothMin") translateModel(AixLib.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.SmoothMin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.679e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.SmoothMin): time 0.002524/0.002541, allocations: 1.53 MB / 0.6394 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003875/0.002928, allocations: 155.3 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.002962, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 4.948e-05/0.003012, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.284e-05/0.003085, allocations: 7.875 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.003313, allocations: 35.89 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.832e-05/0.003412, allocations: 35.92 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.003518, allocations: 19.86 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.003575, allocations: 27.97 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.332e-05/0.003619, allocations: 15.98 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.003636, allocations: 4 kB / 0.6396 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-05/0.003719, allocations: 31.97 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.003739, allocations: 11.94 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.003763, allocations: 15.97 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.003891, allocations: 59.8 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003893, allocations: 0 / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003893, allocations: 0 / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003897, allocations: 0 / 0.6398 GB, free: 12.16 MB / 0.6043 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.0003146/0.004211, allocations: 248.9 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.004246, allocations: 15.98 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.004677, allocations: 76.81 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.651e-05/0.004763, allocations: 121.6 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.004775, allocations: 4.375 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.00479, allocations: 384 / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.00501, allocations: 110.9 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.005018, allocations: 192 / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.005032, allocations: 4.375 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005038, allocations: 4.312 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.461e-05/0.005102, allocations: 27.94 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.00552, allocations: 212.1 kB / 0.6406 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.005755, allocations: 70.52 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.005794, allocations: 20.84 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.00581, allocations: 0 / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.005832, allocations: 34.56 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.005834, allocations: 0 / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001857/0.006019, allocations: 57.56 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.006057, allocations: 51.41 kB / 0.6408 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/0.006123, allocations: 110.8 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.006138, allocations: 29.7 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.006179, allocations: 96.06 kB / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.006204, allocations: 11.89 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.006249, allocations: 13.72 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.006339, allocations: 318.8 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.006371, allocations: 8 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.006399, allocations: 4 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.76e-05/0.006456, allocations: 20.84 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006458, allocations: 3.938 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000102/0.00656, allocations: 45.69 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.006575, allocations: 15.94 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.006579, allocations: 0 / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.006591, allocations: 0 / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.006698, allocations: 23.97 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.0067, allocations: 0 / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.006763, allocations: 11.98 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-06/0.006773, allocations: 0 / 0.6415 GB, free: 10.27 MB / 0.6043 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.335e-05/0.006836, allocations: 109.8 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.006861, allocations: 4 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.006894, allocations: 15.94 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.006896, allocations: 4 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.006898, allocations: 0 / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006901, allocations: 0 / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.007035, allocations: 77.88 kB / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007036, allocations: 3.938 kB / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.292e-05/0.007119, allocations: 27.91 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.007121, allocations: 0 / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.007132, allocations: 0 / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007133, allocations: 4 kB / 0.6417 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.007135, allocations: 7.938 kB / 0.6417 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.007263, allocations: 139.5 kB / 0.6418 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-06/0.007271, allocations: 4.328 kB / 0.6418 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.007285, allocations: 4 kB / 0.6418 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-05/0.007379, allocations: 15.98 kB / 0.6419 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.007406, allocations: 7.922 kB / 0.6419 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.007412, allocations: 0 / 0.6419 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.383e-05/0.007426, allocations: 8.859 kB / 0.6419 GB, free: 9.793 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.007426, allocations: 8 kB / 0.6419 GB, free: 9.785 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002046/0.00763, allocations: 12 kB / 0.6419 GB, free: 9.773 MB / 0.6043 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 8.382e-05/0.007714, allocations: 80.34 kB / 0.642 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.007817, allocations: 36.81 kB / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.007819, allocations: 0 / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/0.007862, allocations: 12.86 kB / 0.642 GB, free: 9.629 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.008031, allocations: 15.92 kB / 0.642 GB, free: 9.613 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.008433, allocations: 156.5 kB / 0.6422 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.008473, allocations: 63.28 kB / 0.6422 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.994e-05/0.008523, allocations: 8 kB / 0.6422 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/0.008605, allocations: 51.38 kB / 0.6423 GB, free: 9.293 MB / 0.6043 GB Notification: Performance of SimCode: time 4.51e-07/0.008605, allocations: 0 / 0.6423 GB, free: 9.293 MB / 0.6043 GB Notification: Performance of Templates: time 0.002334/0.01094, allocations: 0.9681 MB / 0.6432 GB, free: 8.332 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.SmoothMin.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.SmoothMin.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.SmoothMin.sim & ./AixLib_AixLib.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.321665291208774]