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.001721/0.001721, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001381/0.001381, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 0.9993/0.9993, allocations: 173.3 MB / 201.1 MB, free: 9.324 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.192e-06/1.192e-06, allocations: 0 / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.243e-05, allocations: 2.312 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001823/0.001836, allocations: 1.596 MB / 269.6 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007265/0.002562, allocations: 0.5219 MB / 270.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.002607, allocations: 8 kB / 270.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.002639, allocations: 3.938 kB / 270.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.777e-05/0.002697, allocations: 11.88 kB / 270.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.002886, allocations: 43.77 kB / 270.2 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.078e-05/0.002957, allocations: 55.83 kB / 270.2 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.003055, allocations: 19.94 kB / 270.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.003089, allocations: 23.97 kB / 270.3 MB, free: 4.113 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.827e-05/0.003128, allocations: 19.91 kB / 270.3 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.003142, allocations: 8 kB / 270.3 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.003267, allocations: 39.91 kB / 270.4 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.003287, allocations: 23.91 kB / 270.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.003309, allocations: 11.94 kB / 270.4 MB, free: 4.012 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.003426, allocations: 63.8 kB / 270.4 MB, free: 3.949 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.003427, allocations: 7.938 kB / 270.5 MB, free: 3.941 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003428, allocations: 0 / 270.5 MB, free: 3.941 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.003431, allocations: 0 / 270.5 MB, free: 3.941 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.0003129/0.003744, allocations: 404.3 kB / 270.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.003776, allocations: 8.922 kB / 270.9 MB, free: 3.504 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/0.004021, allocations: 48.86 kB / 270.9 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.028e-05/0.004091, allocations: 120.5 kB / 271 MB, free: 3.312 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.004105, allocations: 12.31 kB / 271 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.004117, allocations: 4.375 kB / 271 MB, free: 3.297 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.004247, allocations: 82.48 kB / 271.1 MB, free: 3.207 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.004254, allocations: 0 / 271.1 MB, free: 3.207 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.004262, allocations: 3.938 kB / 271.1 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.00427, allocations: 4 kB / 271.1 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.453e-05/0.004324, allocations: 19.98 kB / 271.1 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.004789, allocations: 339.5 kB / 271.5 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.512e-05/0.004874, allocations: 43.05 kB / 271.5 MB, free: 2.758 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.004907, allocations: 19.8 kB / 271.5 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.004924, allocations: 4 kB / 271.5 MB, free: 2.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.004943, allocations: 33.39 kB / 271.6 MB, free: 2.688 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.004943, allocations: 0 / 271.6 MB, free: 2.688 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001479/0.005091, allocations: 65.62 kB / 271.6 MB, free: 2.617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.005112, allocations: 51.41 kB / 271.7 MB, free: 2.555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.005191, allocations: 185.8 kB / 271.9 MB, free: 2.355 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.005201, allocations: 25.7 kB / 271.9 MB, free: 2.324 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.005252, allocations: 146.7 kB / 272 MB, free: 2.176 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.005271, allocations: 15.89 kB / 272.1 MB, free: 2.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.005304, allocations: 23.38 kB / 272.1 MB, free: 2.129 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.00542, allocations: 0.4923 MB / 272.6 MB, free: 1.625 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.005441, allocations: 4 kB / 272.6 MB, free: 1.621 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.005462, allocations: 8 kB / 272.6 MB, free: 1.613 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.005506, allocations: 32.05 kB / 272.6 MB, free: 1.578 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.005508, allocations: 0 / 272.6 MB, free: 1.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.283e-05/0.005581, allocations: 65.58 kB / 272.7 MB, free: 1.508 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.005593, allocations: 4 kB / 272.7 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.005596, allocations: 0 / 272.7 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.005606, allocations: 0 / 272.7 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.005677, allocations: 15.98 kB / 272.7 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.005681, allocations: 0 / 272.7 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.005712, allocations: 15.88 kB / 272.7 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.005718, allocations: 7.922 kB / 272.7 MB, free: 1.465 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 6.191e-05/0.00578, allocations: 156.6 kB / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.005805, allocations: 7.953 kB / 272.9 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.005939, allocations: 77.73 kB / 273 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.00594, allocations: 0 / 273 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.005943, allocations: 0 / 273 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.005947, allocations: 7.922 kB / 273 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.00609, allocations: 136.6 kB / 273.1 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006091, allocations: 0 / 273.1 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.00616, allocations: 15.98 kB / 273.1 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.006161, allocations: 0 / 273.1 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.00617, allocations: 3.984 kB / 273.1 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.006172, allocations: 4 kB / 273.1 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.006173, allocations: 4 kB / 273.1 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.006309, allocations: 219.8 kB / 273.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.006316, allocations: 4.188 kB / 273.3 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.006328, allocations: 4 kB / 273.4 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.006373, allocations: 4 kB / 273.4 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.0064, allocations: 7.984 kB / 273.4 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.006403, allocations: 0 / 273.4 MB, free: 0.75 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.006448, allocations: 135.2 kB / 273.5 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006448, allocations: 0 / 273.5 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.006601, allocations: 23.89 kB / 273.5 MB, free: 0.5938 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 5.773e-05/0.006659, allocations: 91.25 kB / 273.6 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.371e-05/0.006753, allocations: 35.8 kB / 273.6 MB, free: 468 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.32e-07/0.006754, allocations: 0 / 273.6 MB, free: 468 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.063e-05/0.006784, allocations: 23.61 kB / 273.7 MB, free: 440 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.006952, allocations: 8 kB / 273.7 MB, free: 432 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.007247, allocations: 181.8 kB / 273.9 MB, free: 220 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.757e-05/0.007285, allocations: 67.34 kB / 273.9 MB, free: 132 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.604e-05/0.007311, allocations: 0 / 273.9 MB, free: 132 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.007344, allocations: 16.48 kB / 273.9 MB, free: 116 kB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.007345, allocations: 3.938 kB / 273.9 MB, free: 112 kB / 250.7 MB Notification: Performance of Templates: time 0.002152/0.009497, allocations: 0.8104 MB / 274.7 MB, free: 15.31 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 -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.798514036927372]