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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, allocations: 118.3 kB / 18.46 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.285, allocations: 50.54 MB / 409.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002695/0.2878, allocations: 1.587 MB / 411.5 MB, free: 172 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2888, allocations: 0.5688 MB / 412.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.2889, allocations: 0 / 412.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.2889, allocations: 3.938 kB / 412.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.037e-05/0.289, allocations: 11.86 kB / 412.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.2893, allocations: 47.83 kB / 412.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.2894, allocations: 55.78 kB / 412.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.2896, allocations: 27.97 kB / 412.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.656e-05/0.2896, allocations: 15.94 kB / 412.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.2897, allocations: 31.78 kB / 412.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.2897, allocations: 4 kB / 412.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.29, allocations: 51.95 kB / 412.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.29, allocations: 15.98 kB / 412.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.29, allocations: 23.81 kB / 412.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.2902, allocations: 87.64 kB / 412.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2902, allocations: 0 / 412.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2903, allocations: 4 kB / 412.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.2903, allocations: 3.938 kB / 412.5 MB, free: 15.21 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.0004992/0.2908, allocations: 376.6 kB / 412.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.2908, allocations: 12.03 kB / 412.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004644/0.2913, allocations: 48.8 kB / 412.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.2914, allocations: 176.2 kB / 413.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.2915, allocations: 8.375 kB / 413.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.2915, allocations: 8.375 kB / 413.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.2917, allocations: 89.89 kB / 413.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2917, allocations: 0 / 413.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.2918, allocations: 4 kB / 413.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2918, allocations: 0 / 413.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.292, allocations: 67.95 kB / 413.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/0.2926, allocations: 356.5 kB / 413.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.2929, allocations: 70.53 kB / 413.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.293, allocations: 32.97 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.293, allocations: 8 kB / 413.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.293, allocations: 30.56 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.293, allocations: 0 / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004048/0.2934, allocations: 125.5 kB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2935, allocations: 51.41 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.931e-05/0.2936, allocations: 130 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2936, allocations: 29.7 kB / 414.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.2937, allocations: 91.98 kB / 414.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.2937, allocations: 23.73 kB / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.2938, allocations: 17.72 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2939, allocations: 314.8 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-05/0.294, allocations: 27.98 kB / 414.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.56e-05/0.2941, allocations: 31.97 kB / 414.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.2943, allocations: 61.14 kB / 414.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2943, allocations: 4 kB / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002303/0.2945, allocations: 93.55 kB / 414.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2945, allocations: 8 kB / 414.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2946, allocations: 4 kB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2946, allocations: 0 / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.2947, allocations: 15.98 kB / 414.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2947, allocations: 0 / 414.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.17e-05/0.2948, allocations: 15.92 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.2949, allocations: 4 kB / 414.8 MB, free: 12.7 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 7.776e-05/0.2949, allocations: 117.8 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.295, allocations: 7.906 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.2953, allocations: 117.5 kB / 415 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2953, allocations: 3.984 kB / 415 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2953, allocations: 3.938 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.2954, allocations: 92.89 kB / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.2954, allocations: 0 / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2955, allocations: 7.984 kB / 415.1 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.2955, allocations: 12 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003186/0.2959, allocations: 180.8 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002979/0.2962, allocations: 274.6 kB / 415.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001096/0.2963, allocations: 31.98 kB / 415.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.558e-05/0.2964, allocations: 98.77 kB / 415.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of Backend: time 4.91e-07/0.2964, allocations: 4 kB / 415.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004776/0.2968, allocations: 121.5 kB / 415.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005168/0.2974, allocations: 0.6083 MB / 416.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of Templates: time 0.004135/0.3015, allocations: 1.341 MB / 417.8 MB, free: 9.594 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches