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.0008225/0.0008225, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001597/0.001597, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9687/0.9687, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.8389/0.8389, allocations: 154.9 MB / 415.1 MB, free: 252 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.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.317e-05, allocations: 4.938 kB / 0.5211 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.00229/0.002314, allocations: 1.499 MB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.003205, allocations: 0.6051 MB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.003264, allocations: 0 / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.003291, allocations: 3.938 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.00334, allocations: 7.938 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.003647, allocations: 55.75 kB / 0.5233 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.003734, allocations: 27.92 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.003821, allocations: 12.55 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.003965, allocations: 27.84 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.286e-05/0.004007, allocations: 4.562 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.004021, allocations: 4.688 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.004134, allocations: 51.95 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.004147, allocations: 8.609 kB / 0.5234 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.004165, allocations: 11.98 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.004296, allocations: 77.14 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004298, allocations: 0 / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004299, allocations: 0 / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004303, allocations: 0 / 0.5235 GB, free: 15.14 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.0003188/0.004622, allocations: 373.4 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.004655, allocations: 12.02 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003546/0.008202, allocations: 1.138 MB / 0.525 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.008408, allocations: 160.4 kB / 0.5251 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.008418, allocations: 384 / 0.5251 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.008442, allocations: 6.047 kB / 0.5251 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007669/0.009209, allocations: 331.2 kB / 0.5254 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.009217, allocations: 1.031 kB / 0.5254 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.00924, allocations: 384 / 0.5254 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.009248, allocations: 5.094 kB / 0.5254 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.00943, allocations: 76.08 kB / 0.5255 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.01099, allocations: 0.8145 MB / 0.5263 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/0.01173, allocations: 302.5 kB / 0.5266 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.01183, allocations: 59.72 kB / 0.5266 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.01185, allocations: 0 / 0.5266 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.01187, allocations: 41.27 kB / 0.5267 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.01187, allocations: 0 / 0.5267 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0004284/0.0123, allocations: 157.6 kB / 0.5268 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.01233, allocations: 51.41 kB / 0.5269 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.01241, allocations: 165.9 kB / 0.527 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.01243, allocations: 25.7 kB / 0.5271 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.01248, allocations: 134.9 kB / 0.5272 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.01251, allocations: 3.953 kB / 0.5272 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.01259, allocations: 39.31 kB / 0.5272 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.0127, allocations: 492.1 kB / 0.5277 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/0.0128, allocations: 40 kB / 0.5277 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.42e-05/0.01289, allocations: 39.92 kB / 0.5278 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.01304, allocations: 55.73 kB / 0.5278 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.01304, allocations: 0 / 0.5278 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002597/0.0133, allocations: 101.6 kB / 0.5279 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.01332, allocations: 4 kB / 0.5279 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01332, allocations: 3.938 kB / 0.5279 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.01333, allocations: 0 / 0.5279 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/0.0139, allocations: 191.8 kB / 0.5281 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.01391, allocations: 0 / 0.5281 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.01439, allocations: 171.8 kB / 0.5283 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.01442, allocations: 7.984 kB / 0.5283 GB, free: 10.19 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.0001005/0.01452, allocations: 160.5 kB / 0.5285 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.01457, allocations: 7.953 kB / 0.5285 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.01462, allocations: 19.55 kB / 0.5285 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01462, allocations: 0 / 0.5285 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.01462, allocations: 4 kB / 0.5285 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01463, allocations: 0 / 0.5285 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.01483, allocations: 202.2 kB / 0.5287 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01483, allocations: 0 / 0.5287 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000523/0.01536, allocations: 187.8 kB / 0.5289 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01536, allocations: 0 / 0.5289 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.01538, allocations: 3.984 kB / 0.5289 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01538, allocations: 4 kB / 0.5289 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.01538, allocations: 7.938 kB / 0.5289 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.0157, allocations: 255.8 kB / 0.5291 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.01571, allocations: 7.953 kB / 0.5291 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.01574, allocations: 0 / 0.5291 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004958/0.01624, allocations: 179.9 kB / 0.5293 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.01626, allocations: 7.875 kB / 0.5293 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.01629, allocations: 7.984 kB / 0.5293 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.887e-05/0.01633, allocations: 127.5 kB / 0.5294 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01633, allocations: 0 / 0.5294 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002028/0.01653, allocations: 36 kB / 0.5295 GB, free: 8.941 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.0001078/0.01664, allocations: 95.25 kB / 0.5296 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.0169, allocations: 99.62 kB / 0.5296 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.0169, allocations: 0 / 0.5296 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.01702, allocations: 55.64 kB / 0.5297 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.0172, allocations: 32.09 kB / 0.5297 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.01766, allocations: 178 kB / 0.5299 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.346e-05/0.0177, allocations: 55.36 kB / 0.53 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.01786, allocations: 35.98 kB / 0.53 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.01806, allocations: 86.16 kB / 0.5301 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of SimCode: time 8.41e-07/0.01806, allocations: 0 / 0.5301 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of Templates: time 0.004248/0.0223, allocations: 2.829 MB / 0.5328 GB, free: 5.41 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 & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7242655688896775]