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.001234/0.001234, allocations: 111.7 kB / 17.06 MB, free: 6 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.001416/0.001417, allocations: 194.9 kB / 18 MB, free: 5.078 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.452/1.452, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 51.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4011, allocations: 49.42 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003526/0.4047, allocations: 1.584 MB / 402.3 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.4058, allocations: 0.5203 MB / 402.8 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.4059, allocations: 4 kB / 402.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.3e-05/0.406, allocations: 3.938 kB / 402.8 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.4061, allocations: 11.88 kB / 402.8 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.4064, allocations: 47.83 kB / 402.9 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.4065, allocations: 59.78 kB / 402.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.4067, allocations: 19.97 kB / 403 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.4067, allocations: 19.94 kB / 403 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.4068, allocations: 19.86 kB / 403 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.4068, allocations: 4 kB / 403 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.407, allocations: 47.89 kB / 403.1 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.4071, allocations: 19.92 kB / 403.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.4071, allocations: 27.8 kB / 403.1 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.4073, allocations: 83.77 kB / 403.2 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4073, allocations: 4 kB / 403.2 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4073, allocations: 3.938 kB / 403.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4073, allocations: 0 / 403.2 MB, free: 6.406 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.0005216/0.4079, allocations: 371 kB / 403.6 MB, free: 6.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.4079, allocations: 8.031 kB / 403.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/0.4083, allocations: 44.8 kB / 403.6 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.4085, allocations: 184.2 kB / 403.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.4085, allocations: 4.375 kB / 403.8 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.4086, allocations: 7.938 kB / 403.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.4088, allocations: 89.62 kB / 403.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.4088, allocations: 0 / 403.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.4089, allocations: 4 kB / 403.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4089, allocations: 0 / 403.9 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.4091, allocations: 71.95 kB / 404 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.4097, allocations: 352.5 kB / 404.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.4099, allocations: 74.47 kB / 404.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.41, allocations: 40.95 kB / 404.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.4101, allocations: 0 / 404.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.4101, allocations: 30.56 kB / 404.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.4101, allocations: 0 / 404.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004328/0.4105, allocations: 121.5 kB / 404.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.4106, allocations: 59.41 kB / 404.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4107, allocations: 125.2 kB / 404.7 MB, free: 4.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/0.4108, allocations: 25.7 kB / 404.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.4108, allocations: 96.03 kB / 404.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.4109, allocations: 15.75 kB / 404.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.4109, allocations: 17.7 kB / 404.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.411, allocations: 322.8 kB / 405.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.4112, allocations: 23.97 kB / 405.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-05/0.4113, allocations: 31.98 kB / 405.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.4114, allocations: 60.81 kB / 405.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4114, allocations: 3.938 kB / 405.3 MB, free: 4.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002282/0.4117, allocations: 89.94 kB / 405.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.4117, allocations: 11.94 kB / 405.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4117, allocations: 4 kB / 405.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.4118, allocations: 4 kB / 405.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.4119, allocations: 23.92 kB / 405.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.4119, allocations: 3.984 kB / 405.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.784e-05/0.412, allocations: 8 kB / 405.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.412, allocations: 0 / 405.5 MB, free: 3.906 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 9.366e-05/0.4121, allocations: 117.8 kB / 405.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.4122, allocations: 7.906 kB / 405.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.4125, allocations: 113.5 kB / 405.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.4125, allocations: 0 / 405.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.4125, allocations: 3.984 kB / 405.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4125, allocations: 0 / 405.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.4128, allocations: 185.6 kB / 405.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.4128, allocations: 4 kB / 405.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.4129, allocations: 23.92 kB / 405.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.4129, allocations: 3.984 kB / 405.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.4129, allocations: 7.938 kB / 405.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4129, allocations: 0 / 405.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4129, allocations: 0 / 405.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.4133, allocations: 191.4 kB / 406.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.4133, allocations: 89 kB / 406.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.4133, allocations: 7.938 kB / 406.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.751e-05/0.4134, allocations: 4 kB / 406.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.4135, allocations: 7.984 kB / 406.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.4135, allocations: 4 kB / 406.2 MB, free: 3.047 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.78e-05/0.4136, allocations: 95.27 kB / 406.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4136, allocations: 0 / 406.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000242/0.4139, allocations: 8 kB / 406.3 MB, free: 2.945 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.0001763/0.414, allocations: 107.9 kB / 406.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002958/0.4143, allocations: 68.06 kB / 406.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4144, allocations: 0 / 406.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.4145, allocations: 36.05 kB / 406.5 MB, free: 2.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.4149, allocations: 8 kB / 406.5 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/0.4155, allocations: 201.4 kB / 406.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.4159, allocations: 0.6924 MB / 407.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.496e-05/0.4159, allocations: 11.98 kB / 407.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.416, allocations: 11.44 kB / 407.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of SimCode: time 8.82e-07/0.416, allocations: 3.938 kB / 407.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of Templates: time 0.003858/0.4199, allocations: 0.7699 MB / 408.2 MB, free: 0.9883 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