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.001022/0.001022, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 221.3 MB / 235.5 MB, free: 2.914 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.0009623/0.0009626, allocations: 100 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.334e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 50.42 MB / 394.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3049/0.4206, allocations: 76.93 MB / 471.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.4209, allocations: 75.78 kB / 471.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004774/0.4257, allocations: 1.725 MB / 473 MB, free: 8.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4257, allocations: 2.516 kB / 473 MB, free: 8.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4257, allocations: 4 kB / 473 MB, free: 8.832 MB / 346.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.0003073/0.4261, allocations: 367 kB / 473.3 MB, free: 8.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4261, allocations: 11.97 kB / 473.3 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003106/0.4264, allocations: 51.81 kB / 473.4 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.4265, allocations: 179.1 kB / 473.6 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.4266, allocations: 4 kB / 473.6 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.4266, allocations: 8 kB / 473.6 MB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4268, allocations: 65.67 kB / 473.6 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4268, allocations: 0 / 473.6 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.4268, allocations: 4 kB / 473.6 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4268, allocations: 4 kB / 473.7 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.272e-05/0.4269, allocations: 39.95 kB / 473.7 MB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.4275, allocations: 364.5 kB / 474 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.372e-05/0.4276, allocations: 58.48 kB / 474.1 MB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.405e-05/0.4277, allocations: 28.98 kB / 474.1 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.4277, allocations: 3.984 kB / 474.1 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.4277, allocations: 30.56 kB / 474.2 MB, free: 7.477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.4277, allocations: 0 / 474.2 MB, free: 7.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001898/0.4279, allocations: 65.69 kB / 474.2 MB, free: 7.406 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.4279, allocations: 55.34 kB / 474.3 MB, free: 7.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.428, allocations: 121.7 kB / 474.4 MB, free: 7.215 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.4281, allocations: 25.7 kB / 474.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.4281, allocations: 100 kB / 474.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.4281, allocations: 15.75 kB / 474.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.4281, allocations: 0 / 474.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.4282, allocations: 318.8 kB / 474.9 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.672e-05/0.4283, allocations: 19.92 kB / 474.9 MB, free: 6.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.893e-05/0.4283, allocations: 14.19 kB / 474.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.4284, allocations: 12 kB / 474.9 MB, free: 6.703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.4284, allocations: 0 / 474.9 MB, free: 6.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001082/0.4285, allocations: 69.55 kB / 475 MB, free: 6.629 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4285, allocations: 8 kB / 475 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4285, allocations: 4 kB / 475 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.4285, allocations: 0 / 475 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.4287, allocations: 23.97 kB / 475 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4287, allocations: 0 / 475 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.459e-05/0.4288, allocations: 19.98 kB / 475 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.4288, allocations: 0 / 475 MB, free: 6.574 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 5.848e-05/0.4289, allocations: 112.9 kB / 475.1 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.4289, allocations: 7.859 kB / 475.1 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.4291, allocations: 86 kB / 475.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4291, allocations: 4 kB / 475.2 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4291, allocations: 4.062 kB / 475.2 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4291, allocations: 0 / 475.2 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.4293, allocations: 189.5 kB / 475.4 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4293, allocations: 0 / 475.4 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.4294, allocations: 31.97 kB / 475.4 MB, free: 6.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4294, allocations: 3.953 kB / 475.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.4294, allocations: 0 / 475.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4294, allocations: 3.938 kB / 475.5 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4294, allocations: 0 / 475.5 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.4296, allocations: 167.5 kB / 475.6 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.4296, allocations: 81.02 kB / 475.7 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.4297, allocations: 11.95 kB / 475.7 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.4298, allocations: 15.98 kB / 475.7 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.4298, allocations: 7.938 kB / 475.7 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.4298, allocations: 0 / 475.7 MB, free: 5.766 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.611e-05/0.4299, allocations: 95.27 kB / 475.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4299, allocations: 0 / 475.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.4301, allocations: 15.94 kB / 475.8 MB, free: 5.656 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.0001082/0.4302, allocations: 99.25 kB / 475.9 MB, free: 5.547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.4303, allocations: 39.92 kB / 476 MB, free: 5.508 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4303, allocations: 4 kB / 476 MB, free: 5.504 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/0.4304, allocations: 16 kB / 476 MB, free: 5.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.4306, allocations: 8 kB / 476 MB, free: 5.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.4309, allocations: 132.6 kB / 476.1 MB, free: 5.328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.4311, allocations: 0.7004 MB / 476.8 MB, free: 4.602 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.766e-05/0.4312, allocations: 0 / 476.8 MB, free: 4.602 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.4312, allocations: 15.42 kB / 476.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4313, allocations: 4 kB / 476.9 MB, free: 4.586 MB / 346.7 MB Notification: Performance of Templates: time 0.002446/0.4337, allocations: 0.6875 MB / 477.5 MB, free: 3.906 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