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/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 trunk/package.mo", uses=false) 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) 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_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/ModelicaServices trunk/package.mo): time 0.0008856/0.0008859, allocations: 100.9 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009308/0.0009312, allocations: 191.4 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002793, allocations: 4 kB / 307.1 MB, free: 1.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1091, allocations: 51.53 MB / 358.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001593/0.1107, allocations: 1.283 MB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008092/0.1115, allocations: 0.5342 MB / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.1116, allocations: 0 / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.1116, allocations: 3.938 kB / 360.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.1117, allocations: 3.938 kB / 360.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.1119, allocations: 47.83 kB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.934e-05/0.112, allocations: 43.84 kB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1121, allocations: 19.98 kB / 360.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.1121, allocations: 27.84 kB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.1122, allocations: 19.86 kB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1122, allocations: 4 kB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.1124, allocations: 39.97 kB / 360.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.1125, allocations: 15.91 kB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.1125, allocations: 33.7 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.1126, allocations: 55.89 kB / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1126, allocations: 8 kB / 360.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1126, allocations: 0 / 360.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1126, allocations: 0 / 360.8 MB, free: 11.51 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.0004211/0.1131, allocations: 363.4 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1131, allocations: 8.031 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004114/0.1135, allocations: 63.84 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1136, allocations: 174.9 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.1137, allocations: 4 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.1137, allocations: 8 kB / 361.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.1139, allocations: 93.59 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1139, allocations: 4 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1139, allocations: 4 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1139, allocations: 4 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.1142, allocations: 75.94 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.1147, allocations: 352.6 kB / 361.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1149, allocations: 90.41 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.115, allocations: 36.97 kB / 362 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1151, allocations: 4 kB / 362 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1151, allocations: 38.55 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1151, allocations: 0 / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003881/0.1155, allocations: 141.7 kB / 362.2 MB, free: 9.906 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1155, allocations: 55.39 kB / 362.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.1156, allocations: 122.1 kB / 362.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1157, allocations: 25.7 kB / 362.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.1157, allocations: 107.8 kB / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.1157, allocations: 15.81 kB / 362.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.1157, allocations: 0 / 362.5 MB, free: 9.551 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.1158, allocations: 326.8 kB / 362.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.064e-05/0.1159, allocations: 31.98 kB / 362.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.116, allocations: 31.97 kB / 362.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.214e-05/0.1161, allocations: 35.98 kB / 362.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1161, allocations: 0 / 362.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002175/0.1164, allocations: 101.6 kB / 363 MB, free: 9.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1164, allocations: 8 kB / 363 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1164, allocations: 7.984 kB / 363.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1164, allocations: 3.984 kB / 363.1 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1165, allocations: 19.98 kB / 363.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.1166, allocations: 0 / 363.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.1166, allocations: 19.92 kB / 363.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1167, allocations: 0 / 363.1 MB, free: 8.961 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.533e-05/0.1167, allocations: 125.7 kB / 363.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.1168, allocations: 3.906 kB / 363.2 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.1171, allocations: 125.6 kB / 363.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1171, allocations: 0 / 363.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1171, allocations: 0 / 363.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1171, allocations: 0 / 363.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.1173, allocations: 193.6 kB / 363.5 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1173, allocations: 0 / 363.5 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.1174, allocations: 23.92 kB / 363.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1174, allocations: 0 / 363.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1174, allocations: 4 kB / 363.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1175, allocations: 7.938 kB / 363.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1175, allocations: 4 kB / 363.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.1177, allocations: 211.7 kB / 363.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.1178, allocations: 81.11 kB / 363.9 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1178, allocations: 4 kB / 363.9 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1179, allocations: 11.98 kB / 363.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.118, allocations: 3.984 kB / 363.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.118, allocations: 4 kB / 363.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.714e-05/0.118, allocations: 98.64 kB / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1181, allocations: 4 kB / 364 MB, free: 7.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000225/0.1183, allocations: 11.91 kB / 364 MB, free: 7.965 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 (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 0.0001001/0.1184, allocations: 99.19 kB / 364.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.1186, allocations: 71.95 kB / 364.2 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.1187, allocations: 4 kB / 364.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1188, allocations: 47.91 kB / 364.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.119, allocations: 11.95 kB / 364.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.1195, allocations: 204.6 kB / 364.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.1197, allocations: 0.6965 MB / 365.1 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.36e-05/0.1198, allocations: 8 kB / 365.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.1198, allocations: 11.44 kB / 365.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1198, allocations: 0 / 365.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of Templates: time 0.002628/0.1225, allocations: 0.6562 MB / 365.8 MB, free: 6.102 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches