Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.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.001395/0.001395, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001474/0.001474, allocations: 169 kB / 23.27 MB, free: 1.223 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.9619/0.9619, allocations: 177.2 MB / 203.7 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.8472/0.8472, allocations: 154.9 MB / 415.1 MB, free: 248 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.297e-05, allocations: 3.219 kB / 0.5211 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002112/0.002135, allocations: 1.569 MB / 0.5227 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0003212/0.002456, allocations: 125.3 kB / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.002521, allocations: 0 / 0.5228 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.002666, allocations: 13.98 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 2.156e-05/0.002687, allocations: 7.922 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.002984, allocations: 31.89 kB / 0.5228 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.554e-05/0.00308, allocations: 59.78 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.003192, allocations: 21.12 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.003261, allocations: 31.97 kB / 0.523 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.214e-05/0.003323, allocations: 23.92 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.003342, allocations: 4.688 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.003405, allocations: 11.98 kB / 0.523 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/0.003438, allocations: 17.2 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.003463, allocations: 23.97 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.003566, allocations: 47.81 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003568, allocations: 1.344 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003569, allocations: 0 / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.003573, allocations: 0 / 0.5231 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003301/0.003903, allocations: 389.2 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.003938, allocations: 12.03 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.003969, allocations: 9.734 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.004101, allocations: 136.4 kB / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.004108, allocations: 3.156 kB / 0.5236 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.004119, allocations: 12.36 kB / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.004257, allocations: 70.92 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.004264, allocations: 192 / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.004271, allocations: 384 / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.004277, allocations: 4.375 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.017e-05/0.004307, allocations: 15.86 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.004608, allocations: 269.3 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.416e-05/0.004672, allocations: 40.17 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.004691, allocations: 11.69 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.004723, allocations: 0 / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.004749, allocations: 50.14 kB / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.00475, allocations: 0 / 0.5241 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000132/0.004882, allocations: 46.34 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.00491, allocations: 51.41 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.004984, allocations: 181 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.004995, allocations: 25.7 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.005044, allocations: 146.8 kB / 0.5245 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.005062, allocations: 12.41 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.005099, allocations: 27.34 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.005214, allocations: 0.4893 MB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.005225, allocations: 0 / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.005238, allocations: 7.984 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.02e-05/0.005268, allocations: 16.66 kB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005269, allocations: 0 / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.332e-05/0.005333, allocations: 50.19 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.005345, allocations: 4 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.00535, allocations: 1.312 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/0.005358, allocations: 0 / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.005421, allocations: 8 kB / 0.5251 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.005427, allocations: 8.609 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.005452, allocations: 5.5 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.00547, allocations: 0 / 0.5251 GB, free: 13.29 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 (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 7.811e-05/0.005548, allocations: 160.6 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.005567, allocations: 11.89 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.785e-05/0.005655, allocations: 54.3 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.005657, allocations: 1.75 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.005659, allocations: 0 / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005661, allocations: 3.938 kB / 0.5253 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.005765, allocations: 105.2 kB / 0.5254 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.005766, allocations: 1.031 kB / 0.5254 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.005799, allocations: 11.98 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.005803, allocations: 3.984 kB / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.005809, allocations: 1 kB / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.005812, allocations: 7.938 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005813, allocations: 0.75 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.332e-05/0.005907, allocations: 191.9 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.005917, allocations: 10.75 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.005926, allocations: 0 / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.881e-05/0.005965, allocations: 11.92 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.005997, allocations: 0 / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.00601, allocations: 7.984 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.006051, allocations: 130.1 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006051, allocations: 7.875 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001528/0.006204, allocations: 26.8 kB / 0.5258 GB, free: 12.5 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 (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 0.0001039/0.006308, allocations: 95.23 kB / 0.5259 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.295e-05/0.006371, allocations: 15.69 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006372, allocations: 0 / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.371e-05/0.006396, allocations: 15.67 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.006575, allocations: 14.75 kB / 0.5259 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.006839, allocations: 159.5 kB / 0.5261 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.455e-05/0.006884, allocations: 59.34 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.00691, allocations: 5.094 kB / 0.5262 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.006974, allocations: 74.84 kB / 0.5262 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.006974, allocations: 0 / 0.5262 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.002483/0.009458, allocations: 0.8872 MB / 0.5271 GB, free: 11.16 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6669332133606076]