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.001267/0.001267, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 59.69 kB / 307 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1204, allocations: 50.54 MB / 357.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.0032/0.1236, allocations: 1.579 MB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1248, allocations: 0.5782 MB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.1249, allocations: 0 / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.72e-05/0.1249, allocations: 11.86 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.334e-05/0.125, allocations: 11.88 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1253, allocations: 47.84 kB / 359.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.848e-05/0.1254, allocations: 51.83 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1255, allocations: 23.97 kB / 359.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.1256, allocations: 23.88 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.512e-05/0.1257, allocations: 27.86 kB / 359.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1257, allocations: 4 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.1259, allocations: 63.88 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.126, allocations: 4 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.126, allocations: 31.8 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1262, allocations: 75.77 kB / 360.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1262, allocations: 0 / 360.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1262, allocations: 3.938 kB / 360.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1262, allocations: 4 kB / 360.1 MB, free: 11.5 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.0004965/0.1267, allocations: 391.4 kB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1267, allocations: 8.031 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004394/0.1272, allocations: 48.73 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.1274, allocations: 180.2 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.1274, allocations: 8.375 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1274, allocations: 4.375 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.1277, allocations: 93.95 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1277, allocations: 3.984 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1277, allocations: 0 / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1278, allocations: 4 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.128, allocations: 59.95 kB / 360.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006421/0.1286, allocations: 364.5 kB / 361.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.1288, allocations: 66.55 kB / 361.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.129, allocations: 32.95 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.129, allocations: 0 / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.129, allocations: 42.5 kB / 361.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.129, allocations: 0 / 361.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004144/0.1294, allocations: 121.5 kB / 361.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1295, allocations: 51.41 kB / 361.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1296, allocations: 122 kB / 361.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1296, allocations: 29.7 kB / 361.7 MB, free: 9.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.1297, allocations: 100.1 kB / 361.8 MB, free: 9.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1297, allocations: 19.7 kB / 361.8 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.1298, allocations: 17.72 kB / 361.8 MB, free: 9.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1299, allocations: 318.8 kB / 362.1 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.667e-05/0.13, allocations: 23.98 kB / 362.1 MB, free: 9.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.543e-05/0.1301, allocations: 31.91 kB / 362.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.1303, allocations: 60.77 kB / 362.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1303, allocations: 0 / 362.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002517/0.1306, allocations: 94.08 kB / 362.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1306, allocations: 6.969 kB / 362.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1306, allocations: 0 / 362.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1306, allocations: 0 / 362.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.1308, allocations: 31.98 kB / 362.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1308, allocations: 3.938 kB / 362.4 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.271e-05/0.1309, allocations: 19.83 kB / 362.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.1309, allocations: 0 / 362.4 MB, free: 8.969 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 9.173e-05/0.131, allocations: 117.8 kB / 362.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.131, allocations: 4 kB / 362.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.1314, allocations: 105.6 kB / 362.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1314, allocations: 4 kB / 362.6 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1314, allocations: 3.938 kB / 362.6 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1314, allocations: 0 / 362.6 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1316, allocations: 197.5 kB / 362.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1316, allocations: 3.938 kB / 362.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.1318, allocations: 19.98 kB / 362.8 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1318, allocations: 0 / 362.8 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1318, allocations: 7.984 kB / 362.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1318, allocations: 3.938 kB / 362.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1318, allocations: 3.938 kB / 362.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.1321, allocations: 187.5 kB / 363 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.1321, allocations: 85 kB / 363.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.1322, allocations: 8 kB / 363.1 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1323, allocations: 8 kB / 363.1 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.1323, allocations: 11.92 kB / 363.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1323, allocations: 0 / 363.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.078e-05/0.1324, allocations: 98.77 kB / 363.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1324, allocations: 0 / 363.2 MB, free: 8.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.1326, allocations: 12 kB / 363.2 MB, free: 8.008 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.0001095/0.1327, allocations: 91.25 kB / 363.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.133, allocations: 75.88 kB / 363.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.133, allocations: 0 / 363.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1331, allocations: 32.23 kB / 363.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.1335, allocations: 18.72 kB / 363.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.1339, allocations: 193.4 kB / 363.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.1342, allocations: 0.6885 MB / 364.3 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.1343, allocations: 11.98 kB / 364.3 MB, free: 6.848 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.1343, allocations: 15.42 kB / 364.4 MB, free: 6.832 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1343, allocations: 0 / 364.4 MB, free: 6.832 MB / 302.1 MB Notification: Performance of Templates: time 0.003272/0.1376, allocations: 0.7138 MB / 365.1 MB, free: 6.125 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.1.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