Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 106.4 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 209.9 kB / 24.53 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.89 kB / 378.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2931, allocations: 53.37 MB / 432.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003085/0.2962, allocations: 1.601 MB / 433.7 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2973, allocations: 0.5766 MB / 434.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.2973, allocations: 0 / 434.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.323e-05/0.2974, allocations: 15.86 kB / 434.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.992e-05/0.2974, allocations: 11.86 kB / 434.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.2977, allocations: 47.84 kB / 434.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.2979, allocations: 51.84 kB / 434.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.298, allocations: 27.97 kB / 434.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.298, allocations: 19.88 kB / 434.5 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.2981, allocations: 31.78 kB / 434.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2981, allocations: 4 kB / 434.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.2983, allocations: 51.95 kB / 434.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.2983, allocations: 15.92 kB / 434.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.2984, allocations: 19.88 kB / 434.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.2986, allocations: 91.09 kB / 434.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2986, allocations: 4 kB / 434.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2986, allocations: 0 / 434.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2986, allocations: 0 / 434.7 MB, free: 4.508 MB / 334.1 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.0004889/0.2991, allocations: 308.1 kB / 435 MB, free: 4.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2991, allocations: 8.031 kB / 435 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004505/0.2995, allocations: 44.84 kB / 435 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2997, allocations: 134.3 kB / 435.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.2997, allocations: 8.375 kB / 435.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.2997, allocations: 4.375 kB / 435.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.3, allocations: 93.95 kB / 435.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3, allocations: 3.938 kB / 435.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3, allocations: 0 / 435.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3, allocations: 7.938 kB / 435.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.3002, allocations: 71.58 kB / 435.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.3008, allocations: 323.6 kB / 435.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.301, allocations: 66.53 kB / 435.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3012, allocations: 32.97 kB / 435.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.3012, allocations: 0 / 435.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3012, allocations: 46.55 kB / 435.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.3012, allocations: 0 / 435.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004304/0.3016, allocations: 117.5 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3017, allocations: 55.41 kB / 436 MB, free: 3.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3018, allocations: 126 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.3018, allocations: 29.7 kB / 436.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.3019, allocations: 96.08 kB / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.3019, allocations: 19.84 kB / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.3019, allocations: 17.7 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3021, allocations: 314.8 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.3022, allocations: 31.97 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.481e-05/0.3023, allocations: 27.98 kB / 436.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.3025, allocations: 52.81 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3025, allocations: 0 / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002461/0.3027, allocations: 101.5 kB / 436.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3028, allocations: 8 kB / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3028, allocations: 0 / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.3028, allocations: 4 kB / 436.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.3029, allocations: 19.97 kB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3029, allocations: 3.938 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.094e-05/0.303, allocations: 8 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.303, allocations: 3.984 kB / 436.8 MB, free: 2.18 MB / 334.1 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 9.476e-05/0.3031, allocations: 113.8 kB / 436.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.3031, allocations: 11.95 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.3035, allocations: 113.6 kB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3035, allocations: 0 / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3035, allocations: 4.438 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3035, allocations: 0 / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.3037, allocations: 164.7 kB / 437.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3037, allocations: 0 / 437.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.3038, allocations: 31.86 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3038, allocations: 0 / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3038, allocations: 0 / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.3038, allocations: 4 kB / 437.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3038, allocations: 3.938 kB / 437.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.3042, allocations: 199.4 kB / 437.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.3042, allocations: 11.95 kB / 437.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.3042, allocations: 0 / 437.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3043, allocations: 11.98 kB / 437.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.3043, allocations: 3.938 kB / 437.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3043, allocations: 3.984 kB / 437.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.035e-05/0.3044, allocations: 99.27 kB / 437.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3044, allocations: 0 / 437.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.3046, allocations: 15.94 kB / 437.6 MB, free: 1.324 MB / 334.1 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 0.0001083/0.3047, allocations: 91.25 kB / 437.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.305, allocations: 59.95 kB / 437.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.305, allocations: 0 / 437.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.3051, allocations: 43.91 kB / 437.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.3054, allocations: 7.922 kB / 437.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.3059, allocations: 197.5 kB / 438 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.3063, allocations: 0.6885 MB / 438.7 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.994e-05/0.3064, allocations: 8 kB / 438.7 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.3064, allocations: 11.44 kB / 438.7 MB, free: 168 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3064, allocations: 0 / 438.7 MB, free: 168 kB / 334.1 MB Notification: Performance of Templates: time 0.00353/0.31, allocations: 0.7627 MB / 439.5 MB, free: 15.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8116190899163485]