Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities") translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.5 MB / 230.3 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009278/0.0009279, allocations: 100.4 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/1.996e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1037, allocations: 50.42 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4717, allocations: 76.27 MB / 463.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.472, allocations: 67.97 kB / 463.8 MB, free: 2.562 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005234/0.4772, allocations: 1.723 MB / 465.5 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4773, allocations: 4 kB / 465.5 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.4773, allocations: 0 / 465.5 MB, free: 0.8477 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.000426/0.4777, allocations: 367 kB / 465.9 MB, free: 456 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4778, allocations: 8.031 kB / 465.9 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003581/0.4781, allocations: 55.81 kB / 465.9 MB, free: 392 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.4783, allocations: 175 kB / 466.1 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.4784, allocations: 4.188 kB / 466.1 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.4784, allocations: 7.938 kB / 466.1 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001341/0.4785, allocations: 32 kB / 466.2 MB, free: 132 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.4787, allocations: 66.8 kB / 466.2 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.4787, allocations: 0 / 466.2 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.4787, allocations: 0 / 466.2 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.4787, allocations: 3.953 kB / 466.2 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006621/0.4794, allocations: 337.1 kB / 466.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.4795, allocations: 50.53 kB / 466.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.4796, allocations: 24.97 kB / 466.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.4796, allocations: 0 / 466.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4796, allocations: 30.56 kB / 466.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.095e-06/0.4796, allocations: 0 / 466.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002221/0.4799, allocations: 69.56 kB / 466.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.4799, allocations: 51.41 kB / 466.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.48, allocations: 101 kB / 466.9 MB, free: 15.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.48, allocations: 29.7 kB / 466.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.4801, allocations: 104 kB / 467 MB, free: 15.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.4802, allocations: 15.73 kB / 467 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-06/0.4802, allocations: 4 kB / 467 MB, free: 15.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4803, allocations: 314.8 kB / 467.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.168e-05/0.4804, allocations: 12 kB / 467.3 MB, free: 14.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.4804, allocations: 8 kB / 467.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.226e-05/0.4804, allocations: 15.98 kB / 467.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4804, allocations: 0 / 467.4 MB, free: 14.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001163/0.4806, allocations: 73.55 kB / 467.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.4806, allocations: 8 kB / 467.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4806, allocations: 0 / 467.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4806, allocations: 256 / 467.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.4808, allocations: 23.92 kB / 467.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.4808, allocations: 4 kB / 467.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.4809, allocations: 15.98 kB / 467.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.4809, allocations: 7.938 kB / 467.5 MB, free: 14.67 MB / 346.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 9.863e-05/0.481, allocations: 109 kB / 467.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.481, allocations: 7.859 kB / 467.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.4812, allocations: 82.06 kB / 467.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4813, allocations: 0 / 467.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4813, allocations: 0 / 467.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4813, allocations: 0 / 467.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.4815, allocations: 166.2 kB / 467.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4816, allocations: 7.984 kB / 467.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.4817, allocations: 23.92 kB / 467.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4817, allocations: 0 / 467.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.4817, allocations: 4 kB / 467.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4817, allocations: 3.953 kB / 467.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.4817, allocations: 0 / 467.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.4819, allocations: 167.4 kB / 468.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.482, allocations: 85.02 kB / 468.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.482, allocations: 4 kB / 468.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4821, allocations: 11.98 kB / 468.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.4822, allocations: 11.95 kB / 468.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.4822, allocations: 0 / 468.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.951e-05/0.4823, allocations: 93.12 kB / 468.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4823, allocations: 0 / 468.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002204/0.4825, allocations: 11.94 kB / 468.3 MB, free: 13.81 MB / 346.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.0001712/0.4827, allocations: 99.19 kB / 468.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.4828, allocations: 36 kB / 468.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4828, allocations: 0 / 468.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.44e-05/0.4829, allocations: 19.98 kB / 468.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.4831, allocations: 8 kB / 468.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.4835, allocations: 127.9 kB / 468.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.4838, allocations: 0.6963 MB / 469.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.4838, allocations: 4 kB / 469.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.4839, allocations: 11.44 kB / 469.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4839, allocations: 0 / 469.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of Templates: time 0.00287/0.4868, allocations: 0.634 MB / 469.9 MB, free: 12.14 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches