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.001089/0.001089, allocations: 180.8 kB / 16.39 MB, free: 5.766 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.342/1.342, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008958/0.0008958, allocations: 89.92 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 7.938 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2585, allocations: 50.4 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09627/0.3548, allocations: 77.01 MB / 478.5 MB, free: 3.449 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.355, allocations: 75.97 kB / 478.6 MB, free: 3.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004961/0.36, allocations: 1.738 MB / 480.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3601, allocations: 0 / 480.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.3601, allocations: 0 / 480.3 MB, free: 1.645 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.0004189/0.3605, allocations: 371.3 kB / 480.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3606, allocations: 8.031 kB / 480.7 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.3609, allocations: 63.75 kB / 480.7 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.361, allocations: 178.9 kB / 480.9 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.3611, allocations: 4 kB / 480.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.3611, allocations: 4 kB / 480.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.3613, allocations: 98.14 kB / 481 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3614, allocations: 0 / 481 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3614, allocations: 0 / 481 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3614, allocations: 0 / 481 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.3616, allocations: 83.84 kB / 481.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.3623, allocations: 368.5 kB / 481.5 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.3625, allocations: 86.47 kB / 481.5 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.3625, allocations: 0 / 481.5 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.3625, allocations: 30.56 kB / 481.6 MB, free: 220 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.3626, allocations: 4 kB / 481.6 MB, free: 216 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000405/0.363, allocations: 141.8 kB / 481.7 MB, free: 68 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.363, allocations: 55.34 kB / 481.8 MB, free: 0 / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3631, allocations: 107.7 kB / 481.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.3632, allocations: 29.7 kB / 481.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.3632, allocations: 96.03 kB / 482 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.3633, allocations: 19.75 kB / 482 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.3633, allocations: 0 / 482 MB, free: 15.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3634, allocations: 314.8 kB / 482.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3635, allocations: 39.98 kB / 482.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.624e-05/0.3636, allocations: 31.97 kB / 482.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.3637, allocations: 31.98 kB / 482.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3638, allocations: 0 / 482.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002404/0.364, allocations: 113.5 kB / 482.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.364, allocations: 4 kB / 482.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.364, allocations: 448 / 482.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3641, allocations: 8 kB / 482.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.3642, allocations: 27.92 kB / 482.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3642, allocations: 0 / 482.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-05/0.3643, allocations: 23.92 kB / 482.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3643, allocations: 0 / 482.6 MB, free: 15.14 MB / 362.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 () * Number of clocked 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.448e-05/0.3644, allocations: 117.8 kB / 482.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.3645, allocations: 19.78 kB / 482.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.3647, allocations: 109.6 kB / 482.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3648, allocations: 4 kB / 482.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3648, allocations: 0 / 482.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.3648, allocations: 7.984 kB / 482.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.365, allocations: 189.6 kB / 483 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.365, allocations: 0 / 483 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3651, allocations: 27.91 kB / 483.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3651, allocations: 4 kB / 483.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3651, allocations: 3.953 kB / 483.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3651, allocations: 0 / 483.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3651, allocations: 0 / 483.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3654, allocations: 207.4 kB / 483.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.3655, allocations: 88.95 kB / 483.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.3655, allocations: 8 kB / 483.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3656, allocations: 15.94 kB / 483.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.3656, allocations: 4 kB / 483.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3657, allocations: 0 / 483.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.608e-05/0.3657, allocations: 99.27 kB / 483.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3657, allocations: 0 / 483.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.3659, allocations: 8 kB / 483.5 MB, free: 14.14 MB / 362.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 () * Number of clocked 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.0001318/0.3661, allocations: 107.2 kB / 483.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.3663, allocations: 71.95 kB / 483.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3663, allocations: 0 / 483.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.3664, allocations: 47.97 kB / 483.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.3666, allocations: 3.938 kB / 483.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.3672, allocations: 221.1 kB / 483.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.3675, allocations: 0.6926 MB / 484.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.062e-05/0.3675, allocations: 11.98 kB / 484.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.3676, allocations: 11.44 kB / 484.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3676, allocations: 0 / 484.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of Templates: time 0.002742/0.3703, allocations: 0.679 MB / 485.3 MB, free: 12.25 MB / 362.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