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.001562/0.001562, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001985/0.001985, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 62.66 kB / 306.3 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09993/0.1012, allocations: 50.54 MB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003126/0.1043, allocations: 1.649 MB / 358.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1055, allocations: 0.565 MB / 359.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.1056, allocations: 4 kB / 359.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.935e-05/0.1056, allocations: 3.938 kB / 359.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.599e-05/0.1057, allocations: 7.922 kB / 359.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.106, allocations: 43.91 kB / 359.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.04e-05/0.1061, allocations: 55.78 kB / 359.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1062, allocations: 27.95 kB / 359.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/0.1063, allocations: 19.88 kB / 359.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.889e-05/0.1063, allocations: 23.84 kB / 359.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.1064, allocations: 4 kB / 359.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.1066, allocations: 51.95 kB / 359.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.1066, allocations: 8 kB / 359.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.1067, allocations: 23.8 kB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.1068, allocations: 83.77 kB / 359.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1069, allocations: 0 / 359.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1069, allocations: 3.938 kB / 359.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.1069, allocations: 0 / 359.5 MB, free: 11.6 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.0004425/0.1073, allocations: 385.7 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1074, allocations: 12.03 kB / 359.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.97e-05/0.1074, allocations: 42.69 kB / 359.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004319/0.1079, allocations: 52.78 kB / 359.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.108, allocations: 172.2 kB / 360.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.1081, allocations: 12.36 kB / 360.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.1081, allocations: 4.375 kB / 360.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.1083, allocations: 101.7 kB / 360.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1083, allocations: 4 kB / 360.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1084, allocations: 4 kB / 360.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1084, allocations: 0 / 360.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.1086, allocations: 67.89 kB / 360.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.1092, allocations: 372.4 kB / 360.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1094, allocations: 70.53 kB / 360.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1096, allocations: 36.95 kB / 360.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.1096, allocations: 4 kB / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1096, allocations: 34.56 kB / 360.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1096, allocations: 0 / 360.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004257/0.11, allocations: 125.4 kB / 360.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.1101, allocations: 55.41 kB / 361 MB, free: 9.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.1102, allocations: 129.8 kB / 361.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1102, allocations: 25.7 kB / 361.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.1103, allocations: 104.1 kB / 361.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.1103, allocations: 19.73 kB / 361.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.1104, allocations: 17.72 kB / 361.3 MB, free: 9.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1105, allocations: 318.8 kB / 361.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.972e-05/0.1106, allocations: 27.92 kB / 361.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.084e-05/0.1107, allocations: 27.97 kB / 361.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.1109, allocations: 60.83 kB / 361.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1109, allocations: 0 / 361.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002412/0.1111, allocations: 101.9 kB / 361.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1112, allocations: 4 kB / 361.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1112, allocations: 0 / 361.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1112, allocations: 4 kB / 361.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1113, allocations: 23.98 kB / 361.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1113, allocations: 4 kB / 361.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.1114, allocations: 7.984 kB / 361.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1114, allocations: 4 kB / 361.8 MB, free: 8.98 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 8.26e-05/0.1115, allocations: 117.8 kB / 362 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.1116, allocations: 3.906 kB / 362 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.1119, allocations: 121.5 kB / 362.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1119, allocations: 0 / 362.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1119, allocations: 0 / 362.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1119, allocations: 4 kB / 362.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.1121, allocations: 193.6 kB / 362.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1121, allocations: 0 / 362.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1123, allocations: 23.97 kB / 362.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1123, allocations: 0 / 362.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1123, allocations: 3.938 kB / 362.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1123, allocations: 4 kB / 362.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1123, allocations: 0 / 362.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.1126, allocations: 199.3 kB / 362.5 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.1127, allocations: 85.05 kB / 362.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.1127, allocations: 3.938 kB / 362.6 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1128, allocations: 15.98 kB / 362.6 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.1128, allocations: 4 kB / 362.6 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1128, allocations: 0 / 362.6 MB, free: 8.117 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.565e-05/0.1129, allocations: 95.27 kB / 362.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1129, allocations: 0 / 362.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000236/0.1132, allocations: 19.91 kB / 362.7 MB, free: 8.004 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.0006524/0.1138, allocations: 0.771 MB / 363.5 MB, free: 7.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1141, allocations: 63.94 kB / 363.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1141, allocations: 3.938 kB / 363.5 MB, free: 7.141 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1142, allocations: 43.97 kB / 363.6 MB, free: 7.098 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.1145, allocations: 6.484 kB / 363.6 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1162, allocations: 1.493 MB / 365.1 MB, free: 5.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1165, allocations: 0.6926 MB / 365.8 MB, free: 4.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.745e-05/0.1166, allocations: 8 kB / 365.8 MB, free: 4.789 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.1166, allocations: 19.42 kB / 365.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1166, allocations: 0 / 365.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.1284, allocations: 1.723 MB / 367.5 MB, free: 3.125 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.1286, allocations: 186.6 kB / 367.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/1.852, allocations: 3.938 kB / 367.7 MB, free: 2.867 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