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.001083/0.001083, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 64.8 kB / 308.4 MB, free: 15.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1341, allocations: 50.53 MB / 358.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003277/0.1374, allocations: 1.587 MB / 360.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1387, allocations: 0.5587 MB / 361 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.1387, allocations: 0 / 361 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.207e-05/0.1388, allocations: 7.875 kB / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.1389, allocations: 23.84 kB / 361.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.1393, allocations: 43.84 kB / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1394, allocations: 51.84 kB / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.1396, allocations: 31.94 kB / 361.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.1397, allocations: 19.88 kB / 361.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1398, allocations: 31.84 kB / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1398, allocations: 4 kB / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002865/0.1401, allocations: 63.89 kB / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.1401, allocations: 7.984 kB / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.1402, allocations: 27.81 kB / 361.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.1404, allocations: 83.7 kB / 361.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1404, allocations: 0 / 361.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.422e-06/0.1404, allocations: 0 / 361.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1404, allocations: 3.938 kB / 361.4 MB, free: 10.7 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.0005821/0.141, allocations: 387.1 kB / 361.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1411, allocations: 12.03 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004703/0.1415, allocations: 48.8 kB / 361.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.1417, allocations: 176.3 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.1417, allocations: 384 / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.1418, allocations: 8.375 kB / 362 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.142, allocations: 89.95 kB / 362.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.142, allocations: 3.938 kB / 362.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.1421, allocations: 12 kB / 362.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.1421, allocations: 0 / 362.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.1423, allocations: 63.89 kB / 362.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/0.1429, allocations: 348.6 kB / 362.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.1432, allocations: 78.47 kB / 362.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.795e-05/0.1433, allocations: 32.97 kB / 362.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.1433, allocations: 0 / 362.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1433, allocations: 30.56 kB / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 3.096e-06/0.1433, allocations: 0 / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004283/0.1438, allocations: 137.4 kB / 362.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.1438, allocations: 51.41 kB / 362.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.144, allocations: 126 kB / 363 MB, free: 8.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.144, allocations: 25.7 kB / 363 MB, free: 8.906 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.144, allocations: 96.08 kB / 363.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1441, allocations: 19.7 kB / 363.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.1441, allocations: 21.72 kB / 363.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1443, allocations: 318.8 kB / 363.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.33e-05/0.1444, allocations: 23.98 kB / 363.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.866e-05/0.1445, allocations: 27.97 kB / 363.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1447, allocations: 52.83 kB / 363.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1447, allocations: 4 kB / 363.6 MB, free: 8.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002221/0.1449, allocations: 97.95 kB / 363.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1449, allocations: 4 kB / 363.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1449, allocations: 4.062 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.145, allocations: 0 / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1451, allocations: 19.98 kB / 363.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1451, allocations: 3.938 kB / 363.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.1452, allocations: 23.83 kB / 363.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1452, allocations: 0 / 363.7 MB, free: 8.176 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.112e-05/0.1453, allocations: 121.8 kB / 363.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.1453, allocations: 4 kB / 363.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.1456, allocations: 105.5 kB / 364 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1457, allocations: 4 kB / 364 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.1457, allocations: 11.92 kB / 364 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1457, allocations: 0 / 364 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.1459, allocations: 193.5 kB / 364.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1459, allocations: 0 / 364.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.146, allocations: 23.97 kB / 364.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.146, allocations: 0 / 364.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.146, allocations: 0 / 364.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.146, allocations: 0 / 364.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1461, allocations: 7.875 kB / 364.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.1463, allocations: 195.5 kB / 364.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.1464, allocations: 92.94 kB / 364.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.1464, allocations: 0 / 364.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1465, allocations: 15.92 kB / 364.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.1466, allocations: 7.938 kB / 364.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1466, allocations: 0 / 364.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.1467, allocations: 102.5 kB / 364.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1467, allocations: 0 / 364.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1469, allocations: 8 kB / 364.6 MB, free: 7.203 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.0001205/0.147, allocations: 95.25 kB / 364.7 MB, free: 7.102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.1473, allocations: 72.06 kB / 364.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1473, allocations: 0 / 364.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.689e-05/0.1474, allocations: 39.91 kB / 364.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1477, allocations: 8 kB / 364.8 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.1482, allocations: 185.4 kB / 365 MB, free: 6.777 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1485, allocations: 0.6885 MB / 365.7 MB, free: 6.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.082e-05/0.1486, allocations: 11.98 kB / 365.7 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.1486, allocations: 11.44 kB / 365.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1486, allocations: 0 / 365.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of Templates: time 0.002992/0.1516, allocations: 0.7205 MB / 366.4 MB, free: 5.328 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches