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/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_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_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.0009765/0.0009765, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009354/0.0009354, allocations: 90.7 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.513e-05/1.515e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09019/0.09022, allocations: 47.59 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3777/0.468, allocations: 75.66 MB / 438.7 MB, free: 3.973 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.4683, allocations: 67.72 kB / 438.8 MB, free: 3.938 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005001/0.4733, allocations: 1.675 MB / 440.5 MB, free: 2.488 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4734, allocations: 0 / 440.5 MB, free: 2.488 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.495e-06/0.4734, allocations: 0 / 440.5 MB, free: 2.488 MB / 314.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.0003806/0.4738, allocations: 374.3 kB / 440.8 MB, free: 2.082 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.4738, allocations: 8.031 kB / 440.8 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.4742, allocations: 51.73 kB / 440.9 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.4743, allocations: 175.1 kB / 441.1 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.4744, allocations: 4.766 kB / 441.1 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.4744, allocations: 4 kB / 441.1 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001156/0.4745, allocations: 42.44 kB / 441.1 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.4746, allocations: 59.8 kB / 441.2 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4747, allocations: 4 kB / 441.2 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.4747, allocations: 0 / 441.2 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.4747, allocations: 0 / 441.2 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006493/0.4753, allocations: 339.7 kB / 441.5 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4755, allocations: 51.44 kB / 441.6 MB, free: 1.328 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.4755, allocations: 20.17 kB / 441.6 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.4755, allocations: 7.984 kB / 441.6 MB, free: 1.305 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.4756, allocations: 38.5 kB / 441.6 MB, free: 1.262 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.021e-06/0.4756, allocations: 0 / 441.6 MB, free: 1.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001883/0.4758, allocations: 60.81 kB / 441.7 MB, free: 1.207 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.4758, allocations: 51.41 kB / 441.7 MB, free: 1.145 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.4759, allocations: 105.5 kB / 441.8 MB, free: 1.039 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.4759, allocations: 25.7 kB / 441.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.476, allocations: 102 kB / 442 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.476, allocations: 14.28 kB / 442 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.476, allocations: 4 kB / 442 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4762, allocations: 326.5 kB / 442.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.4762, allocations: 6.812 kB / 442.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.4762, allocations: 13.75 kB / 442.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.239e-05/0.4763, allocations: 18.81 kB / 442.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4763, allocations: 0 / 442.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001009/0.4764, allocations: 61.38 kB / 442.4 MB, free: 500 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4764, allocations: 4 kB / 442.4 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.4764, allocations: 0 / 442.4 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4764, allocations: 7.984 kB / 442.4 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.4766, allocations: 23.98 kB / 442.4 MB, free: 464 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4766, allocations: 0 / 442.4 MB, free: 464 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.4767, allocations: 19.92 kB / 442.5 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4767, allocations: 0 / 442.5 MB, free: 444 kB / 314.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 5.804e-05/0.4768, allocations: 104.9 kB / 442.6 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.4768, allocations: 7.906 kB / 442.6 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.477, allocations: 85.81 kB / 442.6 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.477, allocations: 4 kB / 442.7 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.477, allocations: 0 / 442.7 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.477, allocations: 0 / 442.7 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.4772, allocations: 163 kB / 442.8 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4772, allocations: 4 kB / 442.8 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.4773, allocations: 23.92 kB / 442.8 MB, free: 28 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4773, allocations: 4 kB / 442.8 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.4773, allocations: 7.969 kB / 442.9 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.4773, allocations: 320 / 442.9 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4773, allocations: 0 / 442.9 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.4775, allocations: 173.8 kB / 443 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.4776, allocations: 84.97 kB / 443.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.4776, allocations: 0 / 443.1 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.4777, allocations: 19.98 kB / 443.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.4777, allocations: 3.984 kB / 443.1 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.4778, allocations: 4 kB / 443.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.4778, allocations: 86.97 kB / 443.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4778, allocations: 0 / 443.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.478, allocations: 8 kB / 443.2 MB, free: 15.62 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.0001217/0.4782, allocations: 91.25 kB / 443.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.4783, allocations: 41.61 kB / 443.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4783, allocations: 4 kB / 443.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.4783, allocations: 26.12 kB / 443.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.4785, allocations: 7.922 kB / 443.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.4789, allocations: 124.3 kB / 443.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.4792, allocations: 0.6963 MB / 444.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.503e-05/0.4792, allocations: 4.484 kB / 444.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.4793, allocations: 11.44 kB / 444.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4793, allocations: 0 / 444.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of Templates: time 0.002575/0.4818, allocations: 0.6256 MB / 444.8 MB, free: 13.98 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (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 & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches