Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.0009539/0.0009539, allocations: 93.06 kB / 19.65 MB, free: 280 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.001025/0.001025, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 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.9594/0.9594, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.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-535:34: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-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 master/package.mo): time 0.8298/0.8298, allocations: 154.8 MB / 414.7 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5206 GB, free: 1.953 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.762e-05, allocations: 3.297 kB / 0.5206 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.00225/0.002278, allocations: 1.508 MB / 0.522 GB, free: 464 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009086/0.003187, allocations: 0.6052 MB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.003239, allocations: 4.656 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.003265, allocations: 0 / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.003311, allocations: 16.61 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.003588, allocations: 56.75 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.831e-05/0.003687, allocations: 31.86 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.879e-05/0.003775, allocations: 10.77 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.003876, allocations: 19.92 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.003914, allocations: 15.92 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.003928, allocations: 4 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-05/0.004021, allocations: 47.95 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.004032, allocations: 4 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.004053, allocations: 15.91 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.004179, allocations: 72.95 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.004181, allocations: 0 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.292e-06/0.004182, allocations: 0 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.004187, allocations: 0 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003427/0.00453, allocations: 377 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.004566, allocations: 8.594 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/0.00795, allocations: 1.141 MB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.008127, allocations: 157.2 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.008136, allocations: 384 / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.008162, allocations: 1.125 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007569/0.008919, allocations: 348.5 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.008928, allocations: 192 / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.00895, allocations: 2.688 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.00896, allocations: 3.938 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.009194, allocations: 86.27 kB / 0.525 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.01069, allocations: 0.8386 MB / 0.5258 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00076/0.01145, allocations: 320.9 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.01158, allocations: 59.67 kB / 0.5262 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.01161, allocations: 4 kB / 0.5262 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.01164, allocations: 41.33 kB / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.01164, allocations: 0 / 0.5262 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000494/0.01213, allocations: 169.6 kB / 0.5264 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.01216, allocations: 51.41 kB / 0.5264 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/0.01224, allocations: 173.9 kB / 0.5266 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.01227, allocations: 25.7 kB / 0.5266 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.01232, allocations: 139 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.01235, allocations: 7.953 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.01242, allocations: 31.28 kB / 0.5268 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.01254, allocations: 496.1 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.01267, allocations: 43.97 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.01279, allocations: 47.97 kB / 0.5273 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.01296, allocations: 63.75 kB / 0.5274 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01296, allocations: 0 / 0.5274 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000303/0.01327, allocations: 117.6 kB / 0.5275 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.01328, allocations: 7.938 kB / 0.5275 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01329, allocations: 0 / 0.5275 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.01331, allocations: 0 / 0.5275 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005704/0.01388, allocations: 199.8 kB / 0.5277 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.01388, allocations: 7.938 kB / 0.5277 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.01435, allocations: 167.9 kB / 0.5279 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.01437, allocations: 7.984 kB / 0.5279 GB, free: 10.45 MB / 0.4948 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 (2): * Single equations (assignments): 2 * 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 9.757e-05/0.01447, allocations: 156.6 kB / 0.528 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.01453, allocations: 11.89 kB / 0.528 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.01457, allocations: 11.62 kB / 0.528 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01457, allocations: 4 kB / 0.528 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01458, allocations: 0 / 0.528 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01458, allocations: 0 / 0.528 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.01478, allocations: 221.6 kB / 0.5283 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01479, allocations: 4 kB / 0.5283 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.01529, allocations: 183.8 kB / 0.5284 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01529, allocations: 0 / 0.5284 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.01531, allocations: 11.92 kB / 0.5285 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01532, allocations: 0 / 0.5285 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01532, allocations: 0 / 0.5285 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.01568, allocations: 271.8 kB / 0.5287 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.01569, allocations: 7.953 kB / 0.5287 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.01572, allocations: 7.938 kB / 0.5287 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.0162, allocations: 175.9 kB / 0.5289 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.01623, allocations: 0 / 0.5289 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.01625, allocations: 11.98 kB / 0.5289 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.01629, allocations: 131.2 kB / 0.529 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01629, allocations: 4 kB / 0.529 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001884/0.01648, allocations: 32 kB / 0.5291 GB, free: 9.168 MB / 0.4948 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 (2): * Single equations (assignments): 2 * 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 9.809e-05/0.01658, allocations: 91.25 kB / 0.5292 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003085/0.01689, allocations: 115.6 kB / 0.5293 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.01689, allocations: 0 / 0.5293 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.01704, allocations: 75.64 kB / 0.5293 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.01721, allocations: 19.97 kB / 0.5294 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.01771, allocations: 185.7 kB / 0.5295 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.239e-05/0.01774, allocations: 59.34 kB / 0.5296 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.01788, allocations: 32 kB / 0.5296 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.01801, allocations: 24.41 kB / 0.5296 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of SimCode: time 7.62e-07/0.01801, allocations: 4 kB / 0.5296 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of Templates: time 0.003653/0.02166, allocations: 2.743 MB / 0.5323 GB, free: 5.758 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.927843992598355]