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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 110.5 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009936/0.0009936, allocations: 51.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3535, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003498/0.3571, allocations: 1.584 MB / 402.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3582, allocations: 0.5126 MB / 402.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.337e-05/0.3583, allocations: 4 kB / 402.8 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.011e-05/0.3583, allocations: 3.938 kB / 402.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.3584, allocations: 19.81 kB / 402.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.3587, allocations: 47.83 kB / 402.9 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.3589, allocations: 51.84 kB / 402.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.359, allocations: 15.98 kB / 403 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.856e-05/0.3591, allocations: 23.92 kB / 403 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.3592, allocations: 23.8 kB / 403 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.3592, allocations: 4 kB / 403 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.3594, allocations: 43.97 kB / 403.1 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.3594, allocations: 23.91 kB / 403.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.3595, allocations: 27.8 kB / 403.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.3597, allocations: 79.78 kB / 403.2 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3597, allocations: 3.938 kB / 403.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.851e-06/0.3597, allocations: 3.984 kB / 403.2 MB, free: 6.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3597, allocations: 3.938 kB / 403.2 MB, free: 6.398 MB / 318.1 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.0005722/0.3603, allocations: 368.4 kB / 403.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3603, allocations: 8.031 kB / 403.6 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004173/0.3607, allocations: 48.8 kB / 403.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.3609, allocations: 176.2 kB / 403.8 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.361, allocations: 8.375 kB / 403.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.361, allocations: 7.938 kB / 403.8 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.3613, allocations: 84.78 kB / 403.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3613, allocations: 4 kB / 403.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.3613, allocations: 3.984 kB / 403.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3614, allocations: 4 kB / 403.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.3616, allocations: 71.89 kB / 404 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/0.3624, allocations: 352.6 kB / 404.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.3626, allocations: 78.47 kB / 404.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3627, allocations: 32.97 kB / 404.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3628, allocations: 3.984 kB / 404.4 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3628, allocations: 30.56 kB / 404.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.3628, allocations: 0 / 404.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004781/0.3633, allocations: 125.4 kB / 404.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.3634, allocations: 55.41 kB / 404.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.3635, allocations: 122.1 kB / 404.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.3636, allocations: 29.7 kB / 404.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.3636, allocations: 96.03 kB / 404.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.3637, allocations: 15.75 kB / 404.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.3637, allocations: 13.72 kB / 404.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3639, allocations: 326.8 kB / 405.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.364, allocations: 27.97 kB / 405.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.3641, allocations: 23.98 kB / 405.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.3643, allocations: 64.75 kB / 405.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3644, allocations: 3.938 kB / 405.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002531/0.3646, allocations: 101.5 kB / 405.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3646, allocations: 4 kB / 405.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3647, allocations: 0 / 405.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.3647, allocations: 3.938 kB / 405.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.3649, allocations: 15.98 kB / 405.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.3649, allocations: 448 / 405.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.751e-05/0.365, allocations: 11.98 kB / 405.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.365, allocations: 4 kB / 405.5 MB, free: 3.898 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.3651, allocations: 113.8 kB / 405.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.3651, allocations: 11.89 kB / 405.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/0.3655, allocations: 117.5 kB / 405.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3655, allocations: 0 / 405.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3655, allocations: 0 / 405.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3655, allocations: 0 / 405.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.3658, allocations: 197.6 kB / 405.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3658, allocations: 0 / 405.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.3659, allocations: 15.98 kB / 405.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3659, allocations: 0 / 405.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3659, allocations: 11.92 kB / 405.9 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.3659, allocations: 4 kB / 405.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3659, allocations: 0 / 405.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.3663, allocations: 191.4 kB / 406.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.3663, allocations: 88.95 kB / 406.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3663, allocations: 7.922 kB / 406.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.3665, allocations: 4 kB / 406.2 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.3665, allocations: 7.984 kB / 406.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3665, allocations: 0 / 406.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.3666, allocations: 99.27 kB / 406.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3666, allocations: 0 / 406.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.3668, allocations: 12 kB / 406.3 MB, free: 2.93 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000119/0.367, allocations: 99.98 kB / 406.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.3672, allocations: 59.95 kB / 406.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3672, allocations: 0 / 406.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3674, allocations: 43.91 kB / 406.5 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.3678, allocations: 11.94 kB / 406.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.3684, allocations: 189.9 kB / 406.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3688, allocations: 0.6924 MB / 407.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.234e-05/0.3688, allocations: 11.92 kB / 407.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.3689, allocations: 11.44 kB / 407.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3689, allocations: 0 / 407.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of Templates: time 0.003843/0.3727, allocations: 0.7825 MB / 408.2 MB, free: 0.9805 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches