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.001161/0.001161, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001768/0.00293, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001105/0.001105, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002479, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9366/0.9366, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08679/1.023, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.7826/0.7826, allocations: 155.3 MB / 399.3 MB, free: 15.91 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2657/1.048, allocations: 49.12 MB / 448.4 MB, free: 6.008 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 1.094 kB / 449.7 MB, free: 4.707 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.318e-05, allocations: 2.312 kB / 449.7 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001797/0.00181, allocations: 1.566 MB / 451.3 MB, free: 3.16 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002126/0.002023, allocations: 144.5 kB / 451.4 MB, free: 3.02 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.002053, allocations: 0 / 451.4 MB, free: 3.02 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.002084, allocations: 3.938 kB / 451.4 MB, free: 3.016 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.002127, allocations: 2.297 kB / 451.4 MB, free: 3.016 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.002231, allocations: 32.97 kB / 451.5 MB, free: 2.984 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.693e-05/0.002318, allocations: 42.98 kB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.00242, allocations: 20.73 kB / 451.5 MB, free: 2.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.002488, allocations: 30.38 kB / 451.6 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.23e-05/0.002531, allocations: 14.39 kB / 451.6 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.002545, allocations: 5.281 kB / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.128e-05/0.002637, allocations: 35.95 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.002649, allocations: 5.641 kB / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.002665, allocations: 10.83 kB / 451.6 MB, free: 2.844 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.002771, allocations: 51.56 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.002784, allocations: 1.594 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.002785, allocations: 0 / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.0028, allocations: 0 / 451.7 MB, free: 2.797 MB / 426.7 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.0003329/0.003133, allocations: 271 kB / 451.9 MB, free: 2.508 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.003161, allocations: 8.031 kB / 451.9 MB, free: 2.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/0.003528, allocations: 156.9 kB / 452.1 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.254e-05/0.00361, allocations: 119.3 kB / 452.2 MB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.00362, allocations: 384 / 452.2 MB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.003632, allocations: 8.375 kB / 452.2 MB, free: 2.184 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.003809, allocations: 105.3 kB / 452.3 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.003817, allocations: 192 / 452.3 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.003827, allocations: 384 / 452.3 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.003833, allocations: 0.8906 kB / 452.3 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.268e-05/0.003886, allocations: 27.94 kB / 452.4 MB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.004239, allocations: 220.8 kB / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.004416, allocations: 66.91 kB / 452.6 MB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.004441, allocations: 13.95 kB / 452.7 MB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.004462, allocations: 3.984 kB / 452.7 MB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.00448, allocations: 34.56 kB / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.00448, allocations: 2.5 kB / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001305/0.004611, allocations: 57.56 kB / 452.7 MB, free: 1.621 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.004637, allocations: 51.41 kB / 452.8 MB, free: 1.559 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5e-05/0.004687, allocations: 115.6 kB / 452.9 MB, free: 1.434 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.004699, allocations: 29.7 kB / 452.9 MB, free: 1.398 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.004728, allocations: 84.14 kB / 453 MB, free: 1.312 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.004748, allocations: 16.78 kB / 453 MB, free: 1.297 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.00478, allocations: 17.72 kB / 453.1 MB, free: 1.273 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.147e-05/0.004852, allocations: 316.2 kB / 453.4 MB, free: 0.957 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.418e-05/0.004876, allocations: 7.984 kB / 453.4 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.004897, allocations: 8.547 kB / 453.4 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.432e-05/0.004941, allocations: 24.78 kB / 453.4 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004943, allocations: 0.9062 kB / 453.4 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.804e-05/0.005011, allocations: 50.72 kB / 453.5 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.005023, allocations: 8.688 kB / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.005027, allocations: 112 / 453.5 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.005035, allocations: 4.562 kB / 453.5 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.005137, allocations: 21.28 kB / 453.5 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.005142, allocations: 8 kB / 453.5 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.005187, allocations: 12.52 kB / 453.5 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.005195, allocations: 5.078 kB / 453.5 MB, free: 0.8047 MB / 426.7 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 5.612e-05/0.005251, allocations: 109.8 kB / 453.6 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.005268, allocations: 4 kB / 453.6 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.005298, allocations: 13 kB / 453.6 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.005299, allocations: 0 / 453.6 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.005301, allocations: 1.062 kB / 453.6 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.005303, allocations: 0 / 453.6 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.592e-05/0.005399, allocations: 86.8 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.0054, allocations: 1.438 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.878e-05/0.005469, allocations: 19.97 kB / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-06/0.005476, allocations: 7.938 kB / 453.8 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.005477, allocations: 0.7812 kB / 453.8 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.005484, allocations: 3.938 kB / 453.8 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.005485, allocations: 1.438 kB / 453.8 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005486, allocations: 0 / 453.8 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.005589, allocations: 151.5 kB / 453.9 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.005602, allocations: 2.531 kB / 453.9 MB, free: 380 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.871e-05/0.00566, allocations: 11.98 kB / 453.9 MB, free: 368 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.005684, allocations: 4.719 kB / 453.9 MB, free: 364 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.005689, allocations: 3.984 kB / 453.9 MB, free: 360 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.188e-05/0.005701, allocations: 9.734 kB / 453.9 MB, free: 348 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005701, allocations: 4 kB / 453.9 MB, free: 344 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001225/0.005824, allocations: 24.95 kB / 454 MB, free: 320 kB / 426.7 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 7.041e-05/0.005894, allocations: 73.05 kB / 454 MB, free: 240 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.914e-05/0.005973, allocations: 24.84 kB / 454.1 MB, free: 212 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.005977, allocations: 0.625 kB / 454.1 MB, free: 212 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.006007, allocations: 21.47 kB / 454.1 MB, free: 188 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.006141, allocations: 4.625 kB / 454.1 MB, free: 184 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.006594, allocations: 174.7 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.515e-05/0.006629, allocations: 59.94 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.344e-05/0.006672, allocations: 15.33 kB / 454.3 MB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.006736, allocations: 51.38 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of SimCode: time 6.92e-07/0.006737, allocations: 1.156 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of Templates: time 0.002309/0.009046, allocations: 0.962 MB / 455.3 MB, free: 14.94 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5943199982866645]