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.001941/0.001941, allocations: 88.16 kB / 19.44 MB, free: 188 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.002048/0.002048, allocations: 165.3 kB / 22.76 MB, free: 1.512 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 1.664/1.664, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.332/1.332, allocations: 154.8 MB / 414.4 MB, free: 456 kB / 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 178] 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 2.214e-06/2.214e-06, allocations: 0.875 kB / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.529e-05/3.75e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003205/0.003242, allocations: 1.493 MB / 0.5213 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.004491, allocations: 0.5982 MB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.004551, allocations: 0 / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.004579, allocations: 7.938 kB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.629e-05/0.004645, allocations: 8.844 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.004966, allocations: 57.5 kB / 0.522 GB, free: 132 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.005082, allocations: 31.86 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.005177, allocations: 8 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.005326, allocations: 23.91 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.005382, allocations: 12.48 kB / 0.5221 GB, free: 56 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.005399, allocations: 4 kB / 0.5221 GB, free: 52 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.005566, allocations: 56.48 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.005578, allocations: 0.9062 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.005604, allocations: 8 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.005811, allocations: 79.67 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.005814, allocations: 4.719 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005815, allocations: 0 / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.00582, allocations: 0.625 kB / 0.5222 GB, free: 15.91 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.00057/0.00639, allocations: 377.1 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.006434, allocations: 8.031 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009663/0.0161, allocations: 1.144 MB / 0.5237 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.0167, allocations: 150.9 kB / 0.5238 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.01672, allocations: 384 / 0.5238 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.01675, allocations: 4.375 kB / 0.5238 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.01901, allocations: 0.4971 MB / 0.5243 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.01902, allocations: 192 / 0.5243 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.01905, allocations: 384 / 0.5243 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.01906, allocations: 7.875 kB / 0.5243 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004058/0.02312, allocations: 0.8348 MB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.0266, allocations: 0.8996 MB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004247/0.03084, allocations: 0.854 MB / 0.5269 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/0.0329, allocations: 443.4 kB / 0.5273 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.03293, allocations: 0 / 0.5273 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.03298, allocations: 37.33 kB / 0.5273 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.03298, allocations: 4 kB / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.006039/0.03902, allocations: 1.204 MB / 0.5285 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.03908, allocations: 51.41 kB / 0.5285 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.03924, allocations: 173.9 kB / 0.5287 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.03928, allocations: 25.7 kB / 0.5287 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.03938, allocations: 154.8 kB / 0.5289 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/0.03943, allocations: 3.953 kB / 0.5289 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.03955, allocations: 31.34 kB / 0.5289 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002722/0.03983, allocations: 0.4923 MB / 0.5294 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.04184, allocations: 419.7 kB / 0.5298 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001982/0.04382, allocations: 423.7 kB / 0.5302 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/0.04757, allocations: 0.675 MB / 0.5309 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.04757, allocations: 0 / 0.5309 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.003875/0.05145, allocations: 0.7901 MB / 0.5316 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.05147, allocations: 7.938 kB / 0.5316 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.05148, allocations: 0 / 0.5316 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.0515, allocations: 0 / 0.5316 GB, free: 6.211 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.05279, allocations: 187.8 kB / 0.5318 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.05279, allocations: 0 / 0.5318 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.05395, allocations: 171.8 kB / 0.532 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.054, allocations: 15.98 kB / 0.532 GB, free: 5.844 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 0.0001858/0.05418, allocations: 156.6 kB / 0.5321 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-05/0.05427, allocations: 11.89 kB / 0.5322 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.609e-05/0.05435, allocations: 11.62 kB / 0.5322 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.05435, allocations: 0 / 0.5322 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.05436, allocations: 7.922 kB / 0.5322 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.05436, allocations: 0 / 0.5322 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.05481, allocations: 263.9 kB / 0.5324 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.05481, allocations: 3.984 kB / 0.5324 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.05609, allocations: 191.8 kB / 0.5326 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.05609, allocations: 0 / 0.5326 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.05613, allocations: 7.922 kB / 0.5326 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.05614, allocations: 11.98 kB / 0.5326 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.05614, allocations: 0 / 0.5326 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004121/0.06026, allocations: 0.933 MB / 0.5335 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.06027, allocations: 3.953 kB / 0.5335 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.06033, allocations: 7.938 kB / 0.5336 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.06153, allocations: 171.9 kB / 0.5337 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.06157, allocations: 0 / 0.5337 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-05/0.06161, allocations: 15.97 kB / 0.5337 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001038/0.06171, allocations: 135.1 kB / 0.5339 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.06171, allocations: 0 / 0.5339 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003127/0.06202, allocations: 36 kB / 0.5339 GB, free: 3.836 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 0.0001915/0.06222, allocations: 95.25 kB / 0.534 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004146/0.06636, allocations: 0.8428 MB / 0.5348 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.06636, allocations: 0 / 0.5348 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002057/0.06842, allocations: 443.4 kB / 0.5352 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.06871, allocations: 23.97 kB / 0.5353 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.0712, allocations: 0.5449 MB / 0.5358 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.028e-05/0.07128, allocations: 67.34 kB / 0.5359 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002704/0.07155, allocations: 28 kB / 0.5359 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.07174, allocations: 20.47 kB / 0.5359 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of SimCode: time 1.663e-06/0.07174, allocations: 0 / 0.5359 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of Templates: time 0.006822/0.07856, allocations: 2.739 MB / 0.5386 GB, free: 14.96 MB / 0.5105 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: 6.263510423945263]