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.002112/0.002111, allocations: 181.5 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 86.56 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.458e-05/2.47e-05, allocations: 4 kB / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3362, allocations: 47.55 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1204/0.4566, allocations: 75.42 MB / 437.7 MB, free: 10.89 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.457, allocations: 77.3 kB / 437.8 MB, free: 10.82 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.007697/0.4647, allocations: 1.677 MB / 439.5 MB, free: 9.168 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4647, allocations: 0.6562 kB / 439.5 MB, free: 9.168 MB / 331.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.4648, allocations: 1.688 kB / 439.5 MB, free: 9.168 MB / 331.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.0004847/0.4653, allocations: 370.8 kB / 439.9 MB, free: 8.766 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.4653, allocations: 13.05 kB / 439.9 MB, free: 8.754 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005222/0.4659, allocations: 51.33 kB / 439.9 MB, free: 8.707 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.466, allocations: 171.8 kB / 440.1 MB, free: 8.5 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.4661, allocations: 4 kB / 440.1 MB, free: 8.496 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.4661, allocations: 5.203 kB / 440.1 MB, free: 8.492 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001724/0.4663, allocations: 39.95 kB / 440.1 MB, free: 8.453 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.4665, allocations: 65.66 kB / 440.2 MB, free: 8.383 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.4665, allocations: 1.219 kB / 440.2 MB, free: 8.383 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4665, allocations: 0 / 440.2 MB, free: 8.383 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.4666, allocations: 3.984 kB / 440.2 MB, free: 8.379 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008567/0.4674, allocations: 337.1 kB / 440.5 MB, free: 8.012 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.4676, allocations: 50.52 kB / 440.6 MB, free: 7.953 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.483e-05/0.4677, allocations: 30.47 kB / 440.6 MB, free: 7.922 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.4677, allocations: 0 / 440.6 MB, free: 7.922 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4677, allocations: 30.56 kB / 440.6 MB, free: 7.883 MB / 331.1 MB Notification: Performance of pre-optimization done (n=5): time 1.532e-06/0.4678, allocations: 1.641 kB / 440.7 MB, free: 7.883 MB / 331.1 MB Notification: Performance of matching and sorting (n=5): time 0.000255/0.468, allocations: 61.69 kB / 440.7 MB, free: 7.816 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.4681, allocations: 52.25 kB / 440.8 MB, free: 7.754 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.4682, allocations: 106.2 kB / 440.9 MB, free: 7.645 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.4682, allocations: 29.7 kB / 440.9 MB, free: 7.609 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/0.4683, allocations: 166.4 kB / 441.1 MB, free: 7.445 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.4684, allocations: 11.72 kB / 441.1 MB, free: 7.434 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-06/0.4684, allocations: 0 / 441.1 MB, free: 7.434 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4685, allocations: 322.8 kB / 441.4 MB, free: 7.109 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.4686, allocations: 12 kB / 441.4 MB, free: 7.098 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.042e-05/0.4687, allocations: 15.94 kB / 441.4 MB, free: 7.082 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.4687, allocations: 10.44 kB / 441.4 MB, free: 7.074 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4687, allocations: 3.938 kB / 441.4 MB, free: 7.07 MB / 331.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001649/0.4689, allocations: 67.69 kB / 441.5 MB, free: 7 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.469, allocations: 11.98 kB / 441.5 MB, free: 6.988 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.469, allocations: 1.875 kB / 441.5 MB, free: 6.988 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.469, allocations: 0 / 441.5 MB, free: 6.988 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.4693, allocations: 19.98 kB / 441.5 MB, free: 6.969 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.4693, allocations: 0 / 441.5 MB, free: 6.969 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.4694, allocations: 23.92 kB / 441.5 MB, free: 6.945 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.4695, allocations: 0 / 441.5 MB, free: 6.945 MB / 331.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 () * 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 9.642e-05/0.4696, allocations: 108.9 kB / 441.7 MB, free: 6.832 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.4696, allocations: 3.906 kB / 441.7 MB, free: 6.828 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.4699, allocations: 86 kB / 441.7 MB, free: 6.738 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4699, allocations: 0 / 441.7 MB, free: 6.738 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4699, allocations: 0 / 441.7 MB, free: 6.738 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.47, allocations: 0 / 441.7 MB, free: 6.738 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.4702, allocations: 170.1 kB / 441.9 MB, free: 6.535 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4702, allocations: 5.688 kB / 441.9 MB, free: 6.531 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.4705, allocations: 19.98 kB / 441.9 MB, free: 6.512 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.4705, allocations: 0 / 441.9 MB, free: 6.512 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.4705, allocations: 7.984 kB / 441.9 MB, free: 6.504 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4705, allocations: 0 / 441.9 MB, free: 6.504 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.4705, allocations: 0 / 441.9 MB, free: 6.504 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.4708, allocations: 167.4 kB / 442.1 MB, free: 6.324 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.4708, allocations: 81.06 kB / 442.2 MB, free: 6.227 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.4709, allocations: 7.062 kB / 442.2 MB, free: 6.223 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.4711, allocations: 14.7 kB / 442.2 MB, free: 6.211 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.4711, allocations: 7.984 kB / 442.2 MB, free: 6.203 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.4712, allocations: 4 kB / 442.2 MB, free: 6.199 MB / 331.1 MB Notification: Performance of sorting global known variables: time 7.198e-05/0.4712, allocations: 88.7 kB / 442.3 MB, free: 6.113 MB / 331.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4712, allocations: 0 / 442.3 MB, free: 6.113 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.4716, allocations: 15.91 kB / 442.3 MB, free: 6.098 MB / 331.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 () * 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.0001438/0.4717, allocations: 95.23 kB / 442.4 MB, free: 5.992 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.4719, allocations: 36 kB / 442.4 MB, free: 5.957 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4719, allocations: 3.938 kB / 442.5 MB, free: 5.953 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 7.585e-05/0.472, allocations: 19.94 kB / 442.5 MB, free: 5.934 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.4723, allocations: 11.92 kB / 442.5 MB, free: 5.922 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.4728, allocations: 153 kB / 442.6 MB, free: 5.746 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.4732, allocations: 0.693 MB / 443.3 MB, free: 5.027 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/0.4733, allocations: 15.42 kB / 443.3 MB, free: 5.016 MB / 331.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4733, allocations: 0 / 443.3 MB, free: 5.016 MB / 331.1 MB Notification: Performance of Templates: time 0.003313/0.4766, allocations: 0.9106 MB / 444.2 MB, free: 4.125 MB / 331.1 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