Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00153/0.00153, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001599, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.391/1.391, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 73.98 kB / 307.9 MB, free: 492 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09707, allocations: 50.55 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002924/0.1, allocations: 1.583 MB / 360 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009638/0.101, allocations: 0.5742 MB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.1011, allocations: 4 kB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.1011, allocations: 3.938 kB / 360.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.703e-05/0.1012, allocations: 7.875 kB / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.1014, allocations: 47.81 kB / 360.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.341e-05/0.1015, allocations: 51.86 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1017, allocations: 27.97 kB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.509e-05/0.1017, allocations: 15.88 kB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.1018, allocations: 35.78 kB / 360.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1018, allocations: 4 kB / 360.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.102, allocations: 55.95 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.102, allocations: 11.98 kB / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.1021, allocations: 23.81 kB / 360.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1022, allocations: 87.75 kB / 361 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1022, allocations: 0 / 361 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1023, allocations: 0 / 361 MB, free: 11.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1023, allocations: 0 / 361 MB, free: 11.38 MB / 302.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.0004766/0.1027, allocations: 391.4 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1028, allocations: 11.97 kB / 361.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004327/0.1032, allocations: 56.78 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1034, allocations: 168.3 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.1034, allocations: 4.375 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1034, allocations: 4.375 kB / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.1036, allocations: 89.95 kB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.1037, allocations: 4 kB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.1037, allocations: 0 / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1037, allocations: 0 / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.1039, allocations: 71.88 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.1045, allocations: 356.6 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.1047, allocations: 78.47 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.964e-05/0.1048, allocations: 28.97 kB / 362.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1048, allocations: 7.984 kB / 362.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1049, allocations: 30.56 kB / 362.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1049, allocations: 0 / 362.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004039/0.1053, allocations: 125.5 kB / 362.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.1053, allocations: 55.34 kB / 362.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1055, allocations: 126 kB / 362.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.1055, allocations: 29.7 kB / 362.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.1055, allocations: 96.02 kB / 362.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.1056, allocations: 19.7 kB / 362.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.1056, allocations: 17.72 kB / 362.7 MB, free: 9.434 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1058, allocations: 322.8 kB / 363 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.7e-05/0.1059, allocations: 23.98 kB / 363 MB, free: 9.086 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.762e-05/0.106, allocations: 27.97 kB / 363.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1062, allocations: 60.81 kB / 363.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1062, allocations: 0 / 363.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002414/0.1064, allocations: 97.91 kB / 363.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1064, allocations: 10.5 kB / 363.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1065, allocations: 4.062 kB / 363.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1065, allocations: 0 / 363.2 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1066, allocations: 19.97 kB / 363.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1066, allocations: 3.938 kB / 363.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.611e-05/0.1067, allocations: 23.83 kB / 363.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1067, allocations: 8 kB / 363.3 MB, free: 8.828 MB / 302.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 8.424e-05/0.1068, allocations: 113.8 kB / 363.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1069, allocations: 4 kB / 363.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.1072, allocations: 109.5 kB / 363.5 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1072, allocations: 0 / 363.5 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1072, allocations: 3.938 kB / 363.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1072, allocations: 4 kB / 363.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.1074, allocations: 193.5 kB / 363.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1074, allocations: 0 / 363.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.1075, allocations: 19.97 kB / 363.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1076, allocations: 0 / 363.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1076, allocations: 4 kB / 363.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1076, allocations: 0 / 363.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1076, allocations: 3.938 kB / 363.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.1079, allocations: 191.5 kB / 363.9 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.108, allocations: 85.02 kB / 364 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.108, allocations: 4 kB / 364 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1081, allocations: 11.98 kB / 364 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.1081, allocations: 7.875 kB / 364 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1081, allocations: 4 kB / 364 MB, free: 7.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.77e-05/0.1082, allocations: 91.27 kB / 364.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1082, allocations: 4 kB / 364.1 MB, free: 7.891 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.1084, allocations: 16 kB / 364.1 MB, free: 7.875 MB / 302.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 9.927e-05/0.1085, allocations: 95.23 kB / 364.2 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.1088, allocations: 68.08 kB / 364.3 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1088, allocations: 0 / 364.3 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.1089, allocations: 43.91 kB / 364.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1092, allocations: 7.938 kB / 364.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.1097, allocations: 211.1 kB / 364.6 MB, free: 7.418 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.11, allocations: 0.6962 MB / 365.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.11, allocations: 15.42 kB / 365.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.11, allocations: 0 / 365.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of Templates: time 0.002521/0.1126, allocations: 0.967 MB / 366.2 MB, free: 5.719 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches