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.001257/0.001257, allocations: 110.6 kB / 17.73 MB, free: 5.32 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.001231/0.001231, allocations: 190.9 kB / 18.67 MB, free: 4.387 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.418/1.418, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001625/0.001625, allocations: 56.19 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09643/0.09806, allocations: 46.62 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.0028/0.1009, allocations: 1.556 MB / 376.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.102, allocations: 0.5703 MB / 376.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.102, allocations: 0 / 376.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.068e-05/0.1021, allocations: 7.875 kB / 376.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.594e-05/0.1022, allocations: 3.938 kB / 376.8 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1024, allocations: 51.81 kB / 376.8 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.264e-05/0.1025, allocations: 47.86 kB / 376.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1027, allocations: 23.98 kB / 376.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.1027, allocations: 23.86 kB / 376.9 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.1028, allocations: 27.84 kB / 377 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.1028, allocations: 8 kB / 377 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.103, allocations: 35.97 kB / 377 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.103, allocations: 23.86 kB / 377 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.1031, allocations: 23.81 kB / 377.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1032, allocations: 83.64 kB / 377.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1032, allocations: 0 / 377.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1033, allocations: 0 / 377.1 MB, free: 2.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1033, allocations: 0 / 377.1 MB, free: 2.551 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.0005314/0.1038, allocations: 387 kB / 377.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1038, allocations: 8.031 kB / 377.5 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.912e-05/0.1039, allocations: 38.75 kB / 377.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.1043, allocations: 52.83 kB / 377.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1044, allocations: 180.2 kB / 377.8 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.1045, allocations: 8.375 kB / 377.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1045, allocations: 4.375 kB / 377.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.1047, allocations: 97.7 kB / 377.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1048, allocations: 0 / 377.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1048, allocations: 4 kB / 377.9 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1048, allocations: 0 / 377.9 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.105, allocations: 71.94 kB / 378 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.1056, allocations: 368.4 kB / 378.3 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.1059, allocations: 70.55 kB / 378.4 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.106, allocations: 40.94 kB / 378.4 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.106, allocations: 0 / 378.4 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.106, allocations: 34.5 kB / 378.5 MB, free: 1.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.106, allocations: 0 / 378.5 MB, free: 1.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004176/0.1065, allocations: 129.5 kB / 378.6 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1065, allocations: 55.41 kB / 378.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1066, allocations: 126.1 kB / 378.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1066, allocations: 25.7 kB / 378.8 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.1067, allocations: 96.08 kB / 378.9 MB, free: 0.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.1067, allocations: 31.77 kB / 378.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.1068, allocations: 13.72 kB / 378.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1069, allocations: 318.8 kB / 379.3 MB, free: 216 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.107, allocations: 31.98 kB / 379.3 MB, free: 184 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.27e-05/0.1071, allocations: 31.91 kB / 379.3 MB, free: 152 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.1073, allocations: 52.83 kB / 379.4 MB, free: 96 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1073, allocations: 0 / 379.4 MB, free: 96 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.1624/0.2698, allocations: 93.41 kB / 379.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.2698, allocations: 5.344 kB / 379.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.2699, allocations: 0.75 kB / 379.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.2699, allocations: 4.875 kB / 379.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.2701, allocations: 17 kB / 379.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2701, allocations: 2.438 kB / 379.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.052e-05/0.2702, allocations: 11.14 kB / 379.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2702, allocations: 2.359 kB / 379.5 MB, free: 12.7 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 8.164e-05/0.2703, allocations: 122.1 kB / 379.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.2704, allocations: 7.031 kB / 379.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.2707, allocations: 111.9 kB / 379.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2707, allocations: 1.375 kB / 379.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.2707, allocations: 3.859 kB / 379.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2707, allocations: 0 / 379.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.2709, allocations: 200.2 kB / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2709, allocations: 0 / 379.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.271, allocations: 19.23 kB / 380 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2711, allocations: 1.375 kB / 380 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.2711, allocations: 0.7031 kB / 380 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2711, allocations: 2.312 kB / 380 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2711, allocations: 1.266 kB / 380 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.2714, allocations: 201.8 kB / 380.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.2714, allocations: 90.53 kB / 380.2 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.2714, allocations: 3.906 kB / 380.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2715, allocations: 8.312 kB / 380.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.2716, allocations: 7.906 kB / 380.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.2716, allocations: 1.094 kB / 380.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.085e-05/0.2717, allocations: 100.4 kB / 380.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2717, allocations: 1.406 kB / 380.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.2719, allocations: 14.8 kB / 380.4 MB, free: 12.06 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.0005563/0.2725, allocations: 0.7676 MB / 381.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.2727, allocations: 68.64 kB / 381.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2728, allocations: 0 / 381.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.2729, allocations: 37.17 kB / 381.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.2732, allocations: 8.5 kB / 381.3 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2747, allocations: 1.481 MB / 382.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.2749, allocations: 0.6924 MB / 383.4 MB, free: 9.539 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.787e-05/0.2749, allocations: 8.219 kB / 383.4 MB, free: 9.539 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.275, allocations: 22.97 kB / 383.5 MB, free: 9.531 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.275, allocations: 1.312 kB / 383.5 MB, free: 9.531 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.2987, allocations: 1.957 MB / 385.4 MB, free: 9.035 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.033, allocations: 17.33 kB / 385.4 MB, free: 9.02 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