Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00187/0.00187, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 225.6 MB / 234.8 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008064/0.0008065, allocations: 99.56 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.954e-05, allocations: 4 kB / 343.7 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09504, allocations: 51.48 MB / 395.2 MB, free: 4.809 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.294/0.3891, allocations: 77.08 MB / 472.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.3894, allocations: 73.44 kB / 472.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004618/0.394, allocations: 1.791 MB / 474.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.394, allocations: 0 / 474.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.394, allocations: 8.938 kB / 474.1 MB, free: 13.27 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.0002312/0.3943, allocations: 366 kB / 474.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3943, allocations: 12.78 kB / 474.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.3947, allocations: 54.69 kB / 474.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.116e-05/0.3947, allocations: 173.1 kB / 474.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.3948, allocations: 4.859 kB / 474.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3948, allocations: 0 / 474.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.375e-05/0.3949, allocations: 39.44 kB / 474.8 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.671e-05/0.395, allocations: 64.61 kB / 474.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.395, allocations: 0 / 474.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.395, allocations: 3.094 kB / 474.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.395, allocations: 4 kB / 474.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.3955, allocations: 345.3 kB / 475.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.758e-05/0.3956, allocations: 51 kB / 475.2 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.3956, allocations: 24.05 kB / 475.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3956, allocations: 0 / 475.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.3957, allocations: 35.31 kB / 475.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.3957, allocations: 0 / 475.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001512/0.3958, allocations: 61.5 kB / 475.3 MB, free: 12.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.734e-05/0.3959, allocations: 52.06 kB / 475.4 MB, free: 12.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.403e-05/0.3959, allocations: 107.8 kB / 475.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.3959, allocations: 25.7 kB / 475.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.396, allocations: 101.8 kB / 475.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.396, allocations: 17.69 kB / 475.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.396, allocations: 0 / 475.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.396, allocations: 319.7 kB / 475.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.3961, allocations: 15.23 kB / 476 MB, free: 11.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.3961, allocations: 12.75 kB / 476 MB, free: 11.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.3961, allocations: 19.2 kB / 476 MB, free: 11.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3961, allocations: 0 / 476 MB, free: 11.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.825e-05/0.3962, allocations: 62.3 kB / 476 MB, free: 11.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.3963, allocations: 8 kB / 476.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3963, allocations: 0.75 kB / 476.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.3963, allocations: 0 / 476.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.3964, allocations: 24.92 kB / 476.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3964, allocations: 0.6562 kB / 476.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.3965, allocations: 11.38 kB / 476.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.3965, allocations: 4.75 kB / 476.1 MB, free: 11.34 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 3.816e-05/0.3966, allocations: 108.9 kB / 476.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.3966, allocations: 8.422 kB / 476.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.3967, allocations: 80.81 kB / 476.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3968, allocations: 0 / 476.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3968, allocations: 0 / 476.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3968, allocations: 6.531 kB / 476.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.3969, allocations: 169.5 kB / 476.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3969, allocations: 0 / 476.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.397, allocations: 29.11 kB / 476.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.397, allocations: 0.7031 kB / 476.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.397, allocations: 0.7031 kB / 476.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.397, allocations: 3.938 kB / 476.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3971, allocations: 2.688 kB / 476.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.3972, allocations: 167.1 kB / 476.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.3972, allocations: 94.52 kB / 476.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.3972, allocations: 3.984 kB / 476.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3973, allocations: 15.05 kB / 476.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.3974, allocations: 2.109 kB / 476.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.3974, allocations: 7.875 kB / 476.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.448e-05/0.3974, allocations: 85.33 kB / 476.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3974, allocations: 0 / 476.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.3976, allocations: 12 kB / 476.9 MB, free: 10.57 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 9.066e-05/0.3977, allocations: 96.66 kB / 477 MB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.153e-05/0.3978, allocations: 37.02 kB / 477 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3978, allocations: 1.781 kB / 477 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.44e-05/0.3978, allocations: 24.08 kB / 477 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.398, allocations: 4 kB / 477 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.3983, allocations: 123 kB / 477.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.723e-05/0.3984, allocations: 0.6938 MB / 477.9 MB, free: 9.598 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.3984, allocations: 1.266 kB / 477.9 MB, free: 9.598 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.3985, allocations: 16.94 kB / 477.9 MB, free: 9.582 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3985, allocations: 0 / 477.9 MB, free: 9.582 MB / 346.7 MB Notification: Performance of Templates: time 0.002027/0.4005, allocations: 0.6186 MB / 478.5 MB, free: 9.254 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches