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.001422/0.001422, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001565/0.001565, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 66.55 kB / 307 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09481/0.09624, allocations: 50.54 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003061/0.09934, allocations: 1.577 MB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1004, allocations: 0.5705 MB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.1005, allocations: 0 / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.1006, allocations: 11.86 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.1007, allocations: 7.875 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.101, allocations: 51.83 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.1012, allocations: 51.84 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1013, allocations: 27.97 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.1014, allocations: 19.88 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.528e-05/0.1015, allocations: 31.78 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1015, allocations: 8 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.1018, allocations: 43.95 kB / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.1018, allocations: 12 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.1019, allocations: 31.78 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1021, allocations: 83.77 kB / 360.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1021, allocations: 0 / 360.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1021, allocations: 4 kB / 360.1 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1021, allocations: 3.938 kB / 360.1 MB, free: 11.43 MB / 302.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.000635/0.1028, allocations: 379.4 kB / 360.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.1028, allocations: 12.03 kB / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.238e-05/0.1029, allocations: 46.69 kB / 360.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005306/0.1035, allocations: 48.78 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.1036, allocations: 176.2 kB / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.1037, allocations: 4.375 kB / 360.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.1037, allocations: 8.375 kB / 360.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.104, allocations: 104.6 kB / 360.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.104, allocations: 0 / 360.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1041, allocations: 4 kB / 360.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1041, allocations: 7.938 kB / 360.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.1043, allocations: 71.89 kB / 361 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006957/0.105, allocations: 368.4 kB / 361.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.1052, allocations: 74.53 kB / 361.4 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1054, allocations: 32.95 kB / 361.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.1054, allocations: 3.984 kB / 361.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1054, allocations: 34.56 kB / 361.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1054, allocations: 0 / 361.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004223/0.1059, allocations: 125.5 kB / 361.6 MB, free: 9.781 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1059, allocations: 55.41 kB / 361.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.106, allocations: 126 kB / 361.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.106, allocations: 25.7 kB / 361.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.1061, allocations: 104.1 kB / 361.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.1061, allocations: 15.75 kB / 361.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.1062, allocations: 21.7 kB / 361.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1063, allocations: 322.8 kB / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.1064, allocations: 23.98 kB / 362.3 MB, free: 9.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.794e-05/0.1065, allocations: 35.91 kB / 362.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1067, allocations: 52.83 kB / 362.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1067, allocations: 0 / 362.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002477/0.1069, allocations: 105.5 kB / 362.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.107, allocations: 4 kB / 362.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.107, allocations: 0 / 362.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.107, allocations: 3.938 kB / 362.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1072, allocations: 19.98 kB / 362.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1072, allocations: 0 / 362.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.136e-05/0.1073, allocations: 11.98 kB / 362.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.1073, allocations: 3.984 kB / 362.5 MB, free: 8.812 MB / 302.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.83e-05/0.1074, allocations: 121.8 kB / 362.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.1074, allocations: 7.906 kB / 362.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.1078, allocations: 113.9 kB / 362.7 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1078, allocations: 4 kB / 362.7 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1078, allocations: 4.062 kB / 362.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1078, allocations: 0 / 362.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.1081, allocations: 193.6 kB / 362.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1081, allocations: 0 / 362.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.1082, allocations: 23.97 kB / 363 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1083, allocations: 0 / 363 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1083, allocations: 7.938 kB / 363 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.1083, allocations: 0 / 363 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1083, allocations: 0 / 363 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.1086, allocations: 199.3 kB / 363.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.1087, allocations: 88.98 kB / 363.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1087, allocations: 3.938 kB / 363.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1089, allocations: 11.98 kB / 363.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.1089, allocations: 0 / 363.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1089, allocations: 8 kB / 363.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.388e-05/0.109, allocations: 91.27 kB / 363.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.109, allocations: 0 / 363.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1092, allocations: 19.91 kB / 363.4 MB, free: 7.832 MB / 302.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.0007848/0.11, allocations: 0.7631 MB / 364.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.1103, allocations: 67.94 kB / 364.2 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1103, allocations: 4 kB / 364.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1104, allocations: 39.84 kB / 364.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1108, allocations: 8 kB / 364.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.1127, allocations: 1.461 MB / 365.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.113, allocations: 0.6963 MB / 366.4 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.186e-05/0.1131, allocations: 4 kB / 366.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.519e-05/0.1131, allocations: 23.42 kB / 366.4 MB, free: 4.637 MB / 302.1 MB Notification: Performance of SimCode: time 1.373e-06/0.1131, allocations: 4 kB / 366.4 MB, free: 4.633 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.1326, allocations: 1.856 MB / 368.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.865/9.997, allocations: 15.62 kB / 368.3 MB, free: 2.816 MB / 302.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