Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002352/0.002358, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 78.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.445e-05, allocations: 7.984 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09556/0.09562, allocations: 47.57 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4035/0.4992, allocations: 76.08 MB / 445.2 MB, free: 1.078 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.4995, allocations: 73.89 kB / 445.2 MB, free: 1.039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007554/0.5071, allocations: 1.669 MB / 446.9 MB, free: 15.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5071, allocations: 4 kB / 446.9 MB, free: 15.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.5071, allocations: 0 / 446.9 MB, free: 15.57 MB / 330.7 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.0004457/0.5076, allocations: 374.9 kB / 447.3 MB, free: 15.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.5077, allocations: 12.03 kB / 447.3 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005013/0.5082, allocations: 47.86 kB / 447.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.5083, allocations: 171 kB / 447.5 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.5084, allocations: 12.56 kB / 447.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.5084, allocations: 8 kB / 447.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.5086, allocations: 75.62 kB / 447.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.5086, allocations: 0 / 447.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.5087, allocations: 0 / 447.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5087, allocations: 4 kB / 447.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.5089, allocations: 47.23 kB / 447.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/0.5097, allocations: 373.5 kB / 448 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.5099, allocations: 42.45 kB / 448.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.51, allocations: 24.47 kB / 448.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.51, allocations: 4 kB / 448.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.51, allocations: 34.56 kB / 448.1 MB, free: 14.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.615e-06/0.5101, allocations: 3.938 kB / 448.1 MB, free: 14.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002556/0.5103, allocations: 61.12 kB / 448.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.5104, allocations: 63.22 kB / 448.2 MB, free: 14.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.5105, allocations: 110 kB / 448.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.5105, allocations: 25.7 kB / 448.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.5106, allocations: 169.9 kB / 448.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.5107, allocations: 15.72 kB / 448.6 MB, free: 13.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.5107, allocations: 4 kB / 448.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5108, allocations: 322.7 kB / 448.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.5109, allocations: 11.88 kB / 448.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.277e-05/0.511, allocations: 11.81 kB / 448.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.724e-05/0.511, allocations: 11.88 kB / 448.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.511, allocations: 0 / 448.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001762/0.5112, allocations: 62.25 kB / 449 MB, free: 13.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5113, allocations: 4 kB / 449 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5113, allocations: 3.938 kB / 449 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.5113, allocations: 11.98 kB / 449 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.5116, allocations: 23.92 kB / 449 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.5116, allocations: 0 / 449 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.5117, allocations: 23.86 kB / 449 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.5118, allocations: 0 / 449 MB, free: 13.38 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.251e-05/0.5119, allocations: 106.9 kB / 449.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.5119, allocations: 12.16 kB / 449.1 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.5122, allocations: 88.5 kB / 449.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.5122, allocations: 0 / 449.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5122, allocations: 0 / 449.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5122, allocations: 4 kB / 449.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.5125, allocations: 193.1 kB / 449.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5125, allocations: 0 / 449.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.5127, allocations: 31.8 kB / 449.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.5128, allocations: 4 kB / 449.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.5128, allocations: 0 / 449.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5128, allocations: 0 / 449.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5128, allocations: 0 / 449.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.513, allocations: 174.5 kB / 449.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.5131, allocations: 81.02 kB / 449.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.5131, allocations: 0 / 449.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.5133, allocations: 19.98 kB / 449.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.5134, allocations: 4 kB / 449.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.5134, allocations: 3.812 kB / 449.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.35e-05/0.5135, allocations: 94.89 kB / 449.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.029e-06/0.5135, allocations: 0 / 449.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002854/0.5138, allocations: 15.88 kB / 449.8 MB, free: 12.52 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001336/0.514, allocations: 95.19 kB / 449.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.5141, allocations: 43.48 kB / 450 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5142, allocations: 0 / 450 MB, free: 12.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/0.5143, allocations: 23.88 kB / 450 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.5145, allocations: 15.88 kB / 450 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.5151, allocations: 162.5 kB / 450.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.5154, allocations: 0.7004 MB / 450.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.5154, allocations: 7.438 kB / 450.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5154, allocations: 0 / 450.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of Templates: time 0.003169/0.5186, allocations: 0.9455 MB / 451.8 MB, free: 10.52 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches