Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 98.17 kB / 17.72 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 192 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 47.94 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09508/0.09638, allocations: 46.63 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002893/0.09931, allocations: 1.568 MB / 376.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1004, allocations: 0.5625 MB / 376.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.1005, allocations: 4 kB / 376.8 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.492e-05/0.1006, allocations: 11.86 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.838e-05/0.1007, allocations: 7.875 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.101, allocations: 47.89 kB / 376.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.1011, allocations: 51.84 kB / 376.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1012, allocations: 19.98 kB / 376.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.1013, allocations: 23.86 kB / 376.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.1013, allocations: 23.86 kB / 377 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1014, allocations: 4 kB / 377 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.1016, allocations: 47.95 kB / 377 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.1016, allocations: 11.92 kB / 377 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.1016, allocations: 31.75 kB / 377.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1018, allocations: 76.05 kB / 377.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.1018, allocations: 0 / 377.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1018, allocations: 0 / 377.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.1018, allocations: 4 kB / 377.1 MB, free: 2.582 MB / 318.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.0005112/0.1024, allocations: 383.2 kB / 377.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1024, allocations: 8.031 kB / 377.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.566e-05/0.1025, allocations: 46.66 kB / 377.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003984/0.1029, allocations: 40.8 kB / 377.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1031, allocations: 184.1 kB / 377.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.1031, allocations: 12.31 kB / 377.8 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.1031, allocations: 4.375 kB / 377.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.1034, allocations: 93.77 kB / 377.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1034, allocations: 0 / 377.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1034, allocations: 8 kB / 377.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.1034, allocations: 7.984 kB / 377.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.1036, allocations: 67.94 kB / 378 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006056/0.1042, allocations: 364.4 kB / 378.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.1045, allocations: 74.48 kB / 378.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1046, allocations: 36.95 kB / 378.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.1046, allocations: 4 kB / 378.4 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1046, allocations: 30.56 kB / 378.5 MB, free: 1.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1046, allocations: 0 / 378.5 MB, free: 1.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004181/0.1051, allocations: 125.6 kB / 378.6 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.1051, allocations: 51.41 kB / 378.6 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.784e-05/0.1052, allocations: 130.1 kB / 378.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1052, allocations: 25.7 kB / 378.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.1053, allocations: 99.97 kB / 378.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.1053, allocations: 15.8 kB / 378.9 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.1054, allocations: 21.66 kB / 378.9 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1055, allocations: 322.8 kB / 379.2 MB, free: 252 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1056, allocations: 23.98 kB / 379.3 MB, free: 228 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.818e-05/0.1057, allocations: 28.34 kB / 379.3 MB, free: 200 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.1059, allocations: 60.83 kB / 379.4 MB, free: 136 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1059, allocations: 0 / 379.4 MB, free: 136 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002366/0.1061, allocations: 97.55 kB / 379.4 MB, free: 32 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1062, allocations: 8 kB / 379.5 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1062, allocations: 0 / 379.5 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.1062, allocations: 3.938 kB / 379.5 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1063, allocations: 19.92 kB / 379.5 MB, free: 0 / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1064, allocations: 0 / 379.5 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2062/0.3125, allocations: 7.766 kB / 379.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.3126, allocations: 2.172 kB / 379.5 MB, free: 12.8 MB / 318.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.619e-05/0.3127, allocations: 118.1 kB / 379.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.3128, allocations: 6.719 kB / 379.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.3131, allocations: 112.6 kB / 379.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3132, allocations: 5.25 kB / 379.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3132, allocations: 0 / 379.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3132, allocations: 0.5156 kB / 379.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.3134, allocations: 200.1 kB / 379.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3134, allocations: 1.375 kB / 379.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3135, allocations: 20.12 kB / 379.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.3135, allocations: 2.406 kB / 379.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3136, allocations: 5.625 kB / 380 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3136, allocations: 3.562 kB / 380 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3136, allocations: 0.6094 kB / 380 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3139, allocations: 196.5 kB / 380.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.3139, allocations: 83.5 kB / 380.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3139, allocations: 5.312 kB / 380.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.314, allocations: 15.33 kB / 380.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.3141, allocations: 5.047 kB / 380.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3141, allocations: 1.375 kB / 380.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.32e-05/0.3142, allocations: 101.6 kB / 380.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3142, allocations: 3.5 kB / 380.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.3144, allocations: 13.06 kB / 380.4 MB, free: 12.16 MB / 318.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.0005945/0.315, allocations: 0.7699 MB / 381.1 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.3153, allocations: 67.25 kB / 381.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3153, allocations: 0 / 381.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.3154, allocations: 32.23 kB / 381.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.3158, allocations: 11.53 kB / 381.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.3173, allocations: 1.483 MB / 382.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.3175, allocations: 0.6956 MB / 383.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.691e-05/0.3175, allocations: 10.73 kB / 383.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.3176, allocations: 23.88 kB / 383.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3176, allocations: 0 / 383.5 MB, free: 9.629 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.3364, allocations: 1.985 MB / 385.4 MB, free: 9.125 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/8.039, allocations: 13.62 kB / 385.5 MB, free: 9.117 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches