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.001275/0.001274, allocations: 107.4 kB / 17.98 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 213.8 kB / 18.92 MB, free: 4.41 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.376/1.376, allocations: 227.7 MB / 247.4 MB, free: 10.54 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.001872/0.001872, allocations: 68.39 kB / 307.4 MB, free: 0.8398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.09886, allocations: 50.54 MB / 357.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003057/0.102, allocations: 1.653 MB / 359.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.103, allocations: 0.5533 MB / 360.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.103, allocations: 0 / 360.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.828e-05/0.1031, allocations: 7.922 kB / 360.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.182e-05/0.1032, allocations: 7.938 kB / 360.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.1034, allocations: 59.83 kB / 360.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.1035, allocations: 47.8 kB / 360.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1036, allocations: 23.97 kB / 360.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.1037, allocations: 23.88 kB / 360.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.1038, allocations: 31.83 kB / 360.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1038, allocations: 4 kB / 360.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.104, allocations: 55.97 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.104, allocations: 7.984 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.1041, allocations: 31.8 kB / 360.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1042, allocations: 55.91 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1042, allocations: 0 / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1042, allocations: 0 / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.1042, allocations: 0 / 360.5 MB, free: 11.71 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.0005122/0.1048, allocations: 389.9 kB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1048, allocations: 12.03 kB / 360.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004428/0.1053, allocations: 52.78 kB / 360.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.1054, allocations: 176.3 kB / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.1054, allocations: 4.375 kB / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1055, allocations: 4.375 kB / 361.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.1057, allocations: 89.95 kB / 361.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1057, allocations: 0 / 361.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1057, allocations: 4 kB / 361.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1057, allocations: 8 kB / 361.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.106, allocations: 67.88 kB / 361.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.1066, allocations: 352.6 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.1068, allocations: 74.47 kB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1069, allocations: 32.97 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1069, allocations: 0 / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.107, allocations: 30.56 kB / 361.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.107, allocations: 4 kB / 361.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004146/0.1074, allocations: 117.5 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1075, allocations: 55.41 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1076, allocations: 133.9 kB / 362.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1076, allocations: 25.7 kB / 362.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.1077, allocations: 100 kB / 362.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.1077, allocations: 19.72 kB / 362.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1077, allocations: 17.72 kB / 362.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1079, allocations: 318.8 kB / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-05/0.108, allocations: 27.98 kB / 362.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.1081, allocations: 23.97 kB / 362.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.1083, allocations: 64.81 kB / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1083, allocations: 0 / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000233/0.1085, allocations: 97.97 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1086, allocations: 4 kB / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1086, allocations: 0 / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1086, allocations: 0 / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.1087, allocations: 23.92 kB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1087, allocations: 11.92 kB / 362.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.575e-05/0.1088, allocations: 19.84 kB / 362.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1088, allocations: 0 / 362.8 MB, free: 9.172 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.975e-05/0.1089, allocations: 117.8 kB / 362.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.109, allocations: 0 / 362.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.1093, allocations: 109.6 kB / 363 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1093, allocations: 4 kB / 363 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1093, allocations: 7.938 kB / 363 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1093, allocations: 0 / 363 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.1095, allocations: 189.5 kB / 363.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1095, allocations: 0 / 363.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1097, allocations: 23.97 kB / 363.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1097, allocations: 0 / 363.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1097, allocations: 4 kB / 363.2 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1097, allocations: 0 / 363.2 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1097, allocations: 3.938 kB / 363.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.11, allocations: 195.5 kB / 363.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.1101, allocations: 81.02 kB / 363.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.1101, allocations: 4 kB / 363.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1102, allocations: 7.984 kB / 363.5 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.1102, allocations: 7.938 kB / 363.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1102, allocations: 4 kB / 363.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.761e-05/0.1103, allocations: 106.3 kB / 363.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1103, allocations: 0 / 363.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.1105, allocations: 8 kB / 363.6 MB, free: 8.219 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 0.0001108/0.1107, allocations: 95.23 kB / 363.7 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.1109, allocations: 68.08 kB / 363.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1109, allocations: 4 kB / 363.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.111, allocations: 36.16 kB / 363.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.1114, allocations: 12.12 kB / 363.9 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.1118, allocations: 243 kB / 364.1 MB, free: 7.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.1121, allocations: 0.6962 MB / 364.8 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.1122, allocations: 11.44 kB / 364.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1122, allocations: 3.938 kB / 364.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of Templates: time 0.002492/0.1147, allocations: 0.9488 MB / 365.8 MB, free: 6.043 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