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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001464/0.001464, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 71.88 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2901, allocations: 50.54 MB / 408.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002567/0.2927, allocations: 1.587 MB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009155/0.2936, allocations: 0.561 MB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/0.2937, allocations: 4 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.2937, allocations: 3.938 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.465e-05/0.2938, allocations: 7.875 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.2941, allocations: 55.81 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.412e-05/0.2942, allocations: 51.78 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2943, allocations: 27.98 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.117e-05/0.2943, allocations: 15.94 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.2944, allocations: 31.78 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.2944, allocations: 4 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.2946, allocations: 51.95 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.2947, allocations: 7.938 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.2947, allocations: 31.8 kB / 411.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2949, allocations: 91.69 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2949, allocations: 0 / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2949, allocations: 4 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.2949, allocations: 0 / 411.3 MB, free: 14.97 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.0004487/0.2953, allocations: 377 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2954, allocations: 8.031 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.799e-05/0.2955, allocations: 46.59 kB / 411.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/0.2959, allocations: 52.78 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.296, allocations: 180.2 kB / 411.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.2961, allocations: 4.375 kB / 411.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.2961, allocations: 8.375 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.2963, allocations: 101.8 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2963, allocations: 0 / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2964, allocations: 3.938 kB / 412.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2964, allocations: 0 / 412.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.2966, allocations: 71.95 kB / 412.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.2971, allocations: 356.5 kB / 412.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.2974, allocations: 78.47 kB / 412.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.2975, allocations: 40.95 kB / 412.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.2975, allocations: 3.984 kB / 412.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2975, allocations: 34.56 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.2975, allocations: 3.938 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.000396/0.2979, allocations: 125.6 kB / 412.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.298, allocations: 51.41 kB / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/0.2981, allocations: 130 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.2981, allocations: 25.7 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.2981, allocations: 104 kB / 413.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.2982, allocations: 19.73 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.2982, allocations: 17.72 kB / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2983, allocations: 318.8 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.555e-05/0.2984, allocations: 23.98 kB / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-05/0.2985, allocations: 31.97 kB / 413.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.2987, allocations: 56.83 kB / 413.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2987, allocations: 0 / 413.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002374/0.299, allocations: 93.55 kB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.299, allocations: 8 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.299, allocations: 4 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.299, allocations: 7.875 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.2992, allocations: 15.98 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2992, allocations: 0 / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.652e-05/0.2993, allocations: 15.97 kB / 413.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.2993, allocations: 4 kB / 413.7 MB, free: 12.36 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.1e-05/0.2994, allocations: 113.8 kB / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.2994, allocations: 11.91 kB / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/0.2997, allocations: 114 kB / 413.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2997, allocations: 0 / 413.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2997, allocations: 0 / 413.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2997, allocations: 3.938 kB / 413.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.2999, allocations: 197.7 kB / 414.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2999, allocations: 0 / 414.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.3001, allocations: 27.97 kB / 414.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3001, allocations: 0 / 414.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3001, allocations: 3.938 kB / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3001, allocations: 0 / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3001, allocations: 3.984 kB / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.3004, allocations: 199.3 kB / 414.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.3004, allocations: 85.02 kB / 414.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3005, allocations: 15.88 kB / 414.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3006, allocations: 7.984 kB / 414.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.3006, allocations: 4 kB / 414.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.3006, allocations: 0 / 414.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.868e-05/0.3007, allocations: 99.2 kB / 414.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3007, allocations: 0 / 414.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.3009, allocations: 15.94 kB / 414.5 MB, free: 11.37 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.0006536/0.3016, allocations: 0.7592 MB / 415.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.3018, allocations: 71.88 kB / 415.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3018, allocations: 4 kB / 415.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.302, allocations: 35.97 kB / 415.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.3022, allocations: 12 kB / 415.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3039, allocations: 1.471 MB / 416.9 MB, free: 8.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3042, allocations: 0.6963 MB / 417.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.626e-05/0.3042, allocations: 4 kB / 417.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.3043, allocations: 27.42 kB / 417.6 MB, free: 8.156 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3043, allocations: 0 / 417.6 MB, free: 8.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.3233, allocations: 1.919 MB / 419.5 MB, free: 6.309 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.242, allocations: 4.062 kB / 419.6 MB, free: 6.305 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities.fmu > 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