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.002476/0.002476, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001418/0.001418, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.074/1.074, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.8031/0.8031, allocations: 154.9 MB / 415.9 MB, free: 264 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 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.633e-06/1.633e-06, allocations: 0 / 0.5219 GB, free: 408 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.288e-05, allocations: 3.344 kB / 0.5219 GB, free: 404 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.00203/0.002053, allocations: 1.515 MB / 0.5234 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007786/0.002832, allocations: 0.5942 MB / 0.524 GB, free: 14.3 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.002892, allocations: 1.469 kB / 0.524 GB, free: 14.3 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.002925, allocations: 3.938 kB / 0.524 GB, free: 14.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.002978, allocations: 7.938 kB / 0.524 GB, free: 14.29 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.003246, allocations: 57.09 kB / 0.524 GB, free: 14.23 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 9.189e-05/0.003338, allocations: 31.86 kB / 0.5241 GB, free: 14.2 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.893e-05/0.003417, allocations: 4 kB / 0.5241 GB, free: 14.2 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.003534, allocations: 28.78 kB / 0.5241 GB, free: 14.17 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.003579, allocations: 7.984 kB / 0.5241 GB, free: 14.16 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.003593, allocations: 7.031 kB / 0.5241 GB, free: 14.16 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.003701, allocations: 59.83 kB / 0.5242 GB, free: 14.1 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.003712, allocations: 3.984 kB / 0.5242 GB, free: 14.1 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.003728, allocations: 8 kB / 0.5242 GB, free: 14.09 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.003866, allocations: 71.72 kB / 0.5242 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.00387, allocations: 4 kB / 0.5242 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003871, allocations: 0 / 0.5242 GB, free: 14.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.003875, allocations: 0 / 0.5242 GB, free: 14.02 MB / 458.7 MB 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.0003356/0.004211, allocations: 373 kB / 0.5246 GB, free: 13.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.004246, allocations: 8.594 kB / 0.5246 GB, free: 13.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003559/0.007805, allocations: 1.142 MB / 0.5257 GB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.007996, allocations: 152.5 kB / 0.5259 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.008006, allocations: 4.375 kB / 0.5259 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.008032, allocations: 384 / 0.5259 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.009063, allocations: 332.2 kB / 0.5262 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.009069, allocations: 192 / 0.5262 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.009095, allocations: 1.531 kB / 0.5262 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.0091, allocations: 3.938 kB / 0.5262 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.009287, allocations: 75.81 kB / 0.5263 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.01084, allocations: 0.8158 MB / 0.5271 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007502/0.01159, allocations: 311.6 kB / 0.5274 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.01169, allocations: 53.38 kB / 0.5274 GB, free: 10.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.01171, allocations: 3.984 kB / 0.5274 GB, free: 10.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.01173, allocations: 37.39 kB / 0.5275 GB, free: 10.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.01173, allocations: 4 kB / 0.5275 GB, free: 10.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004414/0.01218, allocations: 153.5 kB / 0.5276 GB, free: 10.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.0122, allocations: 51.41 kB / 0.5277 GB, free: 10.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.01228, allocations: 169.8 kB / 0.5278 GB, free: 10.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.0123, allocations: 29.7 kB / 0.5278 GB, free: 10.35 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.01234, allocations: 130.8 kB / 0.528 GB, free: 10.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.01237, allocations: 7.953 kB / 0.528 GB, free: 10.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.01245, allocations: 39.45 kB / 0.528 GB, free: 10.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.01256, allocations: 496.1 kB / 0.5285 GB, free: 9.664 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.911e-05/0.01266, allocations: 31.98 kB / 0.5285 GB, free: 9.633 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.01276, allocations: 39.97 kB / 0.5286 GB, free: 9.594 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.01292, allocations: 51.73 kB / 0.5286 GB, free: 9.539 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01292, allocations: 0 / 0.5286 GB, free: 9.539 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000276/0.0132, allocations: 109.5 kB / 0.5287 GB, free: 9.426 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.01321, allocations: 4 kB / 0.5287 GB, free: 9.422 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01322, allocations: 3.938 kB / 0.5287 GB, free: 9.418 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.01322, allocations: 0 / 0.5287 GB, free: 9.418 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005841/0.01381, allocations: 199.8 kB / 0.5289 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.01381, allocations: 0 / 0.5289 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.01431, allocations: 175.8 kB / 0.5291 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.01433, allocations: 7.984 kB / 0.5291 GB, free: 9.043 MB / 458.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 (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.397e-05/0.01442, allocations: 152.6 kB / 0.5292 GB, free: 8.883 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.01447, allocations: 4 kB / 0.5292 GB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.01452, allocations: 11.56 kB / 0.5292 GB, free: 8.871 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.01452, allocations: 0 / 0.5292 GB, free: 8.871 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.01452, allocations: 4 kB / 0.5292 GB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01452, allocations: 0 / 0.5292 GB, free: 8.867 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.01476, allocations: 214.1 kB / 0.5294 GB, free: 8.625 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01476, allocations: 0 / 0.5294 GB, free: 8.625 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/0.0153, allocations: 183.8 kB / 0.5296 GB, free: 8.445 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.0153, allocations: 7.938 kB / 0.5296 GB, free: 8.438 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.01532, allocations: 7.984 kB / 0.5296 GB, free: 8.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01532, allocations: 0 / 0.5296 GB, free: 8.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.01533, allocations: 7.938 kB / 0.5296 GB, free: 8.422 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.01566, allocations: 255.8 kB / 0.5299 GB, free: 8.152 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.01567, allocations: 7.953 kB / 0.5299 GB, free: 8.145 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.0157, allocations: 0 / 0.5299 GB, free: 8.145 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.01621, allocations: 175.9 kB / 0.5301 GB, free: 7.973 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.01624, allocations: 7.938 kB / 0.5301 GB, free: 7.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.01626, allocations: 7.984 kB / 0.5301 GB, free: 7.957 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.383e-05/0.0163, allocations: 127.2 kB / 0.5302 GB, free: 7.832 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0163, allocations: 4 kB / 0.5302 GB, free: 7.828 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002058/0.01651, allocations: 36 kB / 0.5302 GB, free: 7.793 MB / 458.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 (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.0001177/0.01662, allocations: 91.25 kB / 0.5303 GB, free: 7.695 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002779/0.0169, allocations: 103.6 kB / 0.5304 GB, free: 7.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.0169, allocations: 0 / 0.5304 GB, free: 7.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.01703, allocations: 59.7 kB / 0.5305 GB, free: 7.527 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.01722, allocations: 30.81 kB / 0.5305 GB, free: 7.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.0177, allocations: 170.2 kB / 0.5307 GB, free: 7.305 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.458e-05/0.01773, allocations: 59.34 kB / 0.5307 GB, free: 7.227 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.01789, allocations: 32 kB / 0.5308 GB, free: 7.195 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.01808, allocations: 78.17 kB / 0.5308 GB, free: 7.117 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01808, allocations: 3.938 kB / 0.5308 GB, free: 7.113 MB / 458.7 MB Notification: Performance of Templates: time 0.004292/0.02237, allocations: 2.92 MB / 0.5337 GB, free: 4.18 MB / 458.7 MB " [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.889504410792142]