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.001274/0.001274, allocations: 103.3 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001226, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.3 MB, free: 9.141 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.64 kB / 306.3 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1339, allocations: 50.54 MB / 356.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002698/0.1366, allocations: 1.648 MB / 358.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.1376, allocations: 0.5689 MB / 359 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.1376, allocations: 4 kB / 359 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.1377, allocations: 7.922 kB / 359 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.511e-05/0.1378, allocations: 3.938 kB / 359 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.138, allocations: 43.89 kB / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.092e-05/0.1381, allocations: 47.8 kB / 359.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1382, allocations: 31.95 kB / 359.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.1383, allocations: 23.86 kB / 359.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.1383, allocations: 23.84 kB / 359.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1384, allocations: 4 kB / 359.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.1386, allocations: 47.97 kB / 359.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.1386, allocations: 15.97 kB / 359.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.1386, allocations: 23.75 kB / 359.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1388, allocations: 79.77 kB / 359.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1388, allocations: 7.938 kB / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1388, allocations: 0 / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1388, allocations: 0 / 359.4 MB, free: 11.72 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.0004651/0.1393, allocations: 387.5 kB / 359.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.1394, allocations: 8.031 kB / 359.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/0.1398, allocations: 52.78 kB / 359.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.14, allocations: 172.3 kB / 360 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.14, allocations: 4.375 kB / 360 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.14, allocations: 4.375 kB / 360 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.1403, allocations: 93.89 kB / 360.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1403, allocations: 4 kB / 360.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1403, allocations: 0 / 360.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1403, allocations: 0 / 360.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.1405, allocations: 67.94 kB / 360.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.1411, allocations: 360.5 kB / 360.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1414, allocations: 74.53 kB / 360.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1415, allocations: 28.97 kB / 360.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1415, allocations: 7.938 kB / 360.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1415, allocations: 34.56 kB / 360.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1415, allocations: 0 / 360.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004126/0.142, allocations: 129.5 kB / 360.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.142, allocations: 51.41 kB / 360.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.1421, allocations: 129.9 kB / 360.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1421, allocations: 29.7 kB / 361 MB, free: 9.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.1422, allocations: 92.08 kB / 361.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.1422, allocations: 19.7 kB / 361.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.1422, allocations: 17.72 kB / 361.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1424, allocations: 322.8 kB / 361.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.1425, allocations: 23.98 kB / 361.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.467e-05/0.1426, allocations: 31.91 kB / 361.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.1428, allocations: 60.81 kB / 361.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1428, allocations: 0 / 361.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002422/0.143, allocations: 93.59 kB / 361.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.143, allocations: 8 kB / 361.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.143, allocations: 3.984 kB / 361.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1431, allocations: 0 / 361.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1432, allocations: 15.98 kB / 361.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1432, allocations: 3.938 kB / 361.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.259e-05/0.1433, allocations: 23.83 kB / 361.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1433, allocations: 4 kB / 361.7 MB, free: 9.184 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 7.634e-05/0.1434, allocations: 121.8 kB / 361.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.1435, allocations: 4 kB / 361.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.1438, allocations: 105.5 kB / 361.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1438, allocations: 3.984 kB / 361.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1438, allocations: 4.438 kB / 361.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1438, allocations: 0 / 361.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.144, allocations: 197.5 kB / 362.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.144, allocations: 3.984 kB / 362.1 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.1441, allocations: 23.97 kB / 362.1 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1441, allocations: 0 / 362.1 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1442, allocations: 4 kB / 362.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1442, allocations: 0 / 362.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1442, allocations: 3.938 kB / 362.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.1445, allocations: 195.4 kB / 362.3 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.1445, allocations: 85.02 kB / 362.4 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1445, allocations: 4 kB / 362.4 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.1447, allocations: 11.98 kB / 362.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.1447, allocations: 3.938 kB / 362.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1447, allocations: 4 kB / 362.4 MB, free: 8.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.113e-05/0.1448, allocations: 95.2 kB / 362.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1448, allocations: 4 kB / 362.5 MB, free: 8.227 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002377/0.145, allocations: 16 kB / 362.5 MB, free: 8.211 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.764e-05/0.1451, allocations: 95.23 kB / 362.6 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.1454, allocations: 59.95 kB / 362.7 MB, free: 8.051 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.1454, allocations: 3.938 kB / 362.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1455, allocations: 43.91 kB / 362.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.1458, allocations: 4 kB / 362.7 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.1462, allocations: 211.1 kB / 363 MB, free: 7.766 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.1465, allocations: 0.6926 MB / 363.6 MB, free: 7.047 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.431e-05/0.1465, allocations: 7.984 kB / 363.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.1466, allocations: 11.44 kB / 363.7 MB, free: 7.027 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1466, allocations: 0 / 363.7 MB, free: 7.027 MB / 302.1 MB Notification: Performance of Templates: time 0.002822/0.1494, allocations: 0.6787 MB / 364.3 MB, free: 6.355 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