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.001491/0.001491, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001689, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 63.89 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2411, allocations: 50.54 MB / 408.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003513/0.2447, allocations: 1.601 MB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.2462, allocations: 0.561 MB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.2463, allocations: 0 / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.761e-05/0.2464, allocations: 7.922 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.234e-05/0.2465, allocations: 11.88 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.2469, allocations: 47.84 kB / 411.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.247, allocations: 59.77 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2471, allocations: 23.97 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.2472, allocations: 15.94 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.958e-05/0.2473, allocations: 35.78 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.2473, allocations: 4 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.2476, allocations: 47.95 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.2476, allocations: 15.98 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.2477, allocations: 27.81 kB / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.2479, allocations: 90.67 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2479, allocations: 0 / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2479, allocations: 0 / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.248, allocations: 0 / 411.4 MB, free: 14.93 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.0006034/0.2486, allocations: 375.1 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.2486, allocations: 11.97 kB / 411.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.61e-05/0.2487, allocations: 46.69 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006125/0.2493, allocations: 52.84 kB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.2495, allocations: 180.2 kB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.2495, allocations: 8.312 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.2496, allocations: 8.375 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.2499, allocations: 96.58 kB / 412.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2499, allocations: 0 / 412.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.25, allocations: 12 kB / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.25, allocations: 0 / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.2503, allocations: 67.94 kB / 412.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007812/0.2511, allocations: 368.4 kB / 412.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.2514, allocations: 74.53 kB / 412.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.2515, allocations: 32.91 kB / 412.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.2516, allocations: 0 / 412.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.2516, allocations: 34.56 kB / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.2516, allocations: 3.938 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005636/0.2522, allocations: 133.5 kB / 412.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.2523, allocations: 51.41 kB / 412.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2524, allocations: 129.4 kB / 413 MB, free: 13.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.2524, allocations: 25.7 kB / 413 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.2525, allocations: 104 kB / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.2526, allocations: 23.84 kB / 413.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.2526, allocations: 13.72 kB / 413.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2528, allocations: 322.8 kB / 413.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.253, allocations: 27.92 kB / 413.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.2531, allocations: 31.97 kB / 413.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.2534, allocations: 52.81 kB / 413.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2534, allocations: 0 / 413.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003379/0.2537, allocations: 97.66 kB / 413.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2538, allocations: 4 kB / 413.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2538, allocations: 0 / 413.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2538, allocations: 7.938 kB / 413.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.254, allocations: 15.98 kB / 413.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.254, allocations: 7.922 kB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.2541, allocations: 15.89 kB / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.2541, allocations: 4 kB / 413.8 MB, free: 12.3 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 0.0001161/0.2543, allocations: 117.8 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.2543, allocations: 4 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.2547, allocations: 117.5 kB / 414 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2548, allocations: 3.984 kB / 414 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2548, allocations: 0 / 414 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2548, allocations: 7.938 kB / 414 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.2551, allocations: 190.1 kB / 414.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2551, allocations: 0 / 414.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.2553, allocations: 27.92 kB / 414.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.2553, allocations: 4 kB / 414.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2553, allocations: 3.938 kB / 414.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2553, allocations: 0 / 414.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2553, allocations: 0 / 414.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.2558, allocations: 199.5 kB / 414.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.2558, allocations: 77.11 kB / 414.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.2559, allocations: 7.875 kB / 414.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.256, allocations: 11.98 kB / 414.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.2561, allocations: 0 / 414.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.2561, allocations: 11.98 kB / 414.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.785e-05/0.2562, allocations: 91.27 kB / 414.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2562, allocations: 8 kB / 414.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004048/0.2566, allocations: 15.89 kB / 414.6 MB, free: 11.32 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.0009406/0.2576, allocations: 0.7631 MB / 415.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.2579, allocations: 67.94 kB / 415.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2579, allocations: 0 / 415.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.2581, allocations: 35.91 kB / 415.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.2585, allocations: 12 kB / 415.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.2609, allocations: 1.464 MB / 417 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.2613, allocations: 0.6924 MB / 417.7 MB, free: 8.156 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.396e-05/0.2614, allocations: 8 kB / 417.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.2615, allocations: 27.42 kB / 417.7 MB, free: 8.121 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2615, allocations: 0 / 417.7 MB, free: 8.121 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03395/0.2954, allocations: 1.903 MB / 419.6 MB, free: 6.285 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.046/9.342, allocations: 2.656 kB / 419.6 MB, free: 6.285 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.1.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