Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009014/0.0009014, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00095/0.00095, allocations: 147.4 kB / 24.9 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.006/1.006, allocations: 173.4 MB / 201.5 MB, free: 8.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities") translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.052e-05, allocations: 6.109 kB / 268.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001964/0.001984, allocations: 1.645 MB / 270.2 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007043/0.002688, allocations: 0.518 MB / 270.7 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.00273, allocations: 8 kB / 270.7 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.002758, allocations: 3.938 kB / 270.7 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.002833, allocations: 15.8 kB / 270.7 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.003016, allocations: 43.83 kB / 270.8 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.003089, allocations: 59.77 kB / 270.8 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.216e-05/0.003172, allocations: 12 kB / 270.8 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.809e-05/0.00322, allocations: 31.91 kB / 270.9 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.435e-05/0.003264, allocations: 15.97 kB / 270.9 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.003278, allocations: 11.94 kB / 270.9 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.003427, allocations: 43.91 kB / 270.9 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.003442, allocations: 15.97 kB / 270.9 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.003457, allocations: 11.94 kB / 271 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.003572, allocations: 71.72 kB / 271 MB, free: 3.445 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.003573, allocations: 4 kB / 271 MB, free: 3.441 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003574, allocations: 0 / 271 MB, free: 3.441 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.003578, allocations: 0 / 271 MB, free: 3.441 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000344/0.003922, allocations: 280.5 kB / 271.3 MB, free: 3.145 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.003954, allocations: 8.922 kB / 271.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.004185, allocations: 48.88 kB / 271.4 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.06e-05/0.004266, allocations: 117.7 kB / 271.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.004279, allocations: 4.375 kB / 271.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.004288, allocations: 4.375 kB / 271.5 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.004411, allocations: 90.41 kB / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.004417, allocations: 0 / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-06/0.004424, allocations: 0 / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.004431, allocations: 7.984 kB / 271.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.882e-05/0.00447, allocations: 18.73 kB / 271.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.004756, allocations: 216 kB / 271.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.565e-05/0.004822, allocations: 42.55 kB / 271.8 MB, free: 2.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.004844, allocations: 12.97 kB / 271.9 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.004859, allocations: 8 kB / 271.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.004879, allocations: 30.56 kB / 271.9 MB, free: 2.48 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.00488, allocations: 0 / 271.9 MB, free: 2.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001243/0.005004, allocations: 53.62 kB / 272 MB, free: 2.422 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.005028, allocations: 51.41 kB / 272 MB, free: 2.359 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.705e-05/0.005085, allocations: 126.7 kB / 272.1 MB, free: 2.223 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.005094, allocations: 25.7 kB / 272.1 MB, free: 2.191 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.005125, allocations: 96.02 kB / 272.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.005144, allocations: 15.89 kB / 272.3 MB, free: 2.078 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.00517, allocations: 17.72 kB / 272.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.005242, allocations: 322.8 kB / 272.6 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.005256, allocations: 7.938 kB / 272.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.333e-05/0.00527, allocations: 4 kB / 272.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.005304, allocations: 24.78 kB / 272.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.005305, allocations: 0 / 272.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.376e-05/0.005369, allocations: 49.69 kB / 272.7 MB, free: 1.637 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.005381, allocations: 6.969 kB / 272.7 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.005385, allocations: 4 kB / 272.7 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.005397, allocations: 0 / 272.7 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.759e-05/0.005465, allocations: 15.98 kB / 272.7 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.005468, allocations: 3.984 kB / 272.7 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.005496, allocations: 11.89 kB / 272.7 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.005501, allocations: 0 / 272.7 MB, free: 1.598 MB / 250.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 (5): * Single equations (assignments): 5 * 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 4.756e-05/0.005548, allocations: 113.8 kB / 272.8 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.005566, allocations: 15.98 kB / 272.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.005654, allocations: 58.17 kB / 272.9 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005656, allocations: 0 / 272.9 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.005658, allocations: 64 / 272.9 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.005662, allocations: 8 kB / 272.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.838e-05/0.005751, allocations: 89.8 kB / 273 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.005751, allocations: 0 / 273 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.005792, allocations: 15.98 kB / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.005793, allocations: 0 / 273 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.005801, allocations: 11.98 kB / 273 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005802, allocations: 0 / 273 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005803, allocations: 0 / 273 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.536e-05/0.005878, allocations: 143.4 kB / 273.2 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.005885, allocations: 11.95 kB / 273.2 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.005895, allocations: 3.984 kB / 273.2 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.005933, allocations: 4 kB / 273.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.005957, allocations: 7.984 kB / 273.2 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.00596, allocations: 0 / 273.2 MB, free: 1.07 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.185e-05/0.005972, allocations: 12.86 kB / 273.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005972, allocations: 0 / 273.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001153/0.006087, allocations: 23.94 kB / 273.2 MB, free: 1.031 MB / 250.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 (6): * Single equations (assignments): 6 * 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 6.297e-05/0.00615, allocations: 80.33 kB / 273.3 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.755e-05/0.006218, allocations: 28.78 kB / 273.3 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.00622, allocations: 0 / 273.3 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.189e-05/0.006242, allocations: 20.86 kB / 273.4 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.006365, allocations: 7.938 kB / 273.4 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.006604, allocations: 176.2 kB / 273.5 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.006636, allocations: 63.34 kB / 273.6 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.638e-05/0.006662, allocations: 4 kB / 273.6 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.006715, allocations: 55.36 kB / 273.7 MB, free: 0.543 MB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006715, allocations: 0 / 273.7 MB, free: 0.543 MB / 250.7 MB Notification: Performance of Templates: time 0.002097/0.008812, allocations: 0.8587 MB / 274.5 MB, free: 15.69 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4248273917473853]