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.001408/0.001408, 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 1.01/1.01, allocations: 173.3 MB / 201.1 MB, free: 9.348 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.774e-06/1.774e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.812e-05, allocations: 2.312 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002355/0.002383, allocations: 1.607 MB / 269.6 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009336/0.003317, allocations: 0.518 MB / 270.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.003386, allocations: 4 kB / 270.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.003428, allocations: 3.938 kB / 270.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.879e-05/0.003527, allocations: 11.86 kB / 270.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.003804, allocations: 47.77 kB / 270.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.638e-05/0.003891, allocations: 55.78 kB / 270.2 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.004004, allocations: 15.98 kB / 270.3 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.004055, allocations: 31.91 kB / 270.3 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.924e-05/0.004104, allocations: 15.98 kB / 270.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.004122, allocations: 8 kB / 270.3 MB, free: 4.109 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.004291, allocations: 51.81 kB / 270.4 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.004308, allocations: 4 kB / 270.4 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.004334, allocations: 19.92 kB / 270.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.004485, allocations: 71.78 kB / 270.5 MB, free: 3.965 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.004488, allocations: 0 / 270.5 MB, free: 3.965 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.004489, allocations: 3.938 kB / 270.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.004495, allocations: 0 / 270.5 MB, free: 3.961 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.0004011/0.004896, allocations: 400.3 kB / 270.8 MB, free: 3.535 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.004939, allocations: 12.86 kB / 270.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/0.005241, allocations: 52.84 kB / 270.9 MB, free: 3.473 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.005343, allocations: 120.5 kB / 271 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.005366, allocations: 8.375 kB / 271 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.005382, allocations: 4.375 kB / 271 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.005565, allocations: 82.48 kB / 271.1 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.005573, allocations: 3.984 kB / 271.1 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.005585, allocations: 4 kB / 271.1 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.005592, allocations: 3.938 kB / 271.1 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.466e-05/0.005647, allocations: 27.98 kB / 271.2 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.006228, allocations: 319.5 kB / 271.5 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.006328, allocations: 51.03 kB / 271.5 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.006363, allocations: 19.81 kB / 271.5 MB, free: 2.754 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.006378, allocations: 0 / 271.5 MB, free: 2.754 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.006397, allocations: 33.39 kB / 271.6 MB, free: 2.711 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.006399, allocations: 0 / 271.6 MB, free: 2.711 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.000195/0.006594, allocations: 69.61 kB / 271.6 MB, free: 2.637 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.006624, allocations: 55.41 kB / 271.7 MB, free: 2.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.006703, allocations: 173.9 kB / 271.9 MB, free: 2.383 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.006717, allocations: 33.7 kB / 271.9 MB, free: 2.344 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.006771, allocations: 146.7 kB / 272 MB, free: 2.195 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.006795, allocations: 15.89 kB / 272.1 MB, free: 2.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.006827, allocations: 27.36 kB / 272.1 MB, free: 2.145 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.006947, allocations: 0.4923 MB / 272.6 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.053e-05/0.006978, allocations: 4 kB / 272.6 MB, free: 1.637 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.006997, allocations: 7.984 kB / 272.6 MB, free: 1.629 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.007046, allocations: 24.06 kB / 272.6 MB, free: 1.602 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.007048, allocations: 4 kB / 272.6 MB, free: 1.598 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.74e-05/0.007146, allocations: 65.58 kB / 272.7 MB, free: 1.527 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.007161, allocations: 7.938 kB / 272.7 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.007167, allocations: 0 / 272.7 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.007184, allocations: 4 kB / 272.7 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.305e-05/0.007277, allocations: 11.98 kB / 272.7 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.007283, allocations: 4 kB / 272.7 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.007315, allocations: 15.86 kB / 272.7 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.007321, allocations: 0 / 272.7 MB, free: 1.484 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.715e-05/0.007388, allocations: 160.6 kB / 272.9 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.007408, allocations: 11.95 kB / 272.9 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.007555, allocations: 73.72 kB / 273 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.007559, allocations: 0 / 273 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.007564, allocations: 7.984 kB / 273 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.007569, allocations: 3.938 kB / 273 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.007695, allocations: 132.6 kB / 273.1 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.007697, allocations: 0 / 273.1 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.00775, allocations: 12 kB / 273.1 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.007753, allocations: 3.984 kB / 273.1 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.007762, allocations: 8 kB / 273.1 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.007764, allocations: 0 / 273.1 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.007766, allocations: 0 / 273.1 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.007901, allocations: 219.9 kB / 273.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.007908, allocations: 4.125 kB / 273.3 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.00792, allocations: 0 / 273.3 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.476e-05/0.007965, allocations: 11.98 kB / 273.4 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.007996, allocations: 0 / 273.4 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.008002, allocations: 3.984 kB / 273.4 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.777e-05/0.00804, allocations: 131.2 kB / 273.5 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00804, allocations: 4 kB / 273.5 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.008186, allocations: 19.89 kB / 273.5 MB, free: 0.6172 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 8.455e-05/0.008271, allocations: 99.23 kB / 273.6 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.008379, allocations: 31.67 kB / 273.6 MB, free: 488 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.008382, allocations: 4 kB / 273.6 MB, free: 484 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/0.008414, allocations: 27.61 kB / 273.7 MB, free: 452 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.008603, allocations: 11.94 kB / 273.7 MB, free: 440 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.008958, allocations: 181.8 kB / 273.9 MB, free: 228 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.433e-05/0.009002, allocations: 63.34 kB / 273.9 MB, free: 144 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.333e-05/0.009036, allocations: 4 kB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.009071, allocations: 8.5 kB / 273.9 MB, free: 132 kB / 250.7 MB Notification: Performance of SimCode: time 1.132e-06/0.009072, allocations: 0 / 273.9 MB, free: 132 kB / 250.7 MB Notification: Performance of Templates: time 0.003173/0.01224, allocations: 0.8519 MB / 274.8 MB, free: 15.29 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.899356677662581]