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.001099/0.001099, allocations: 100 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 205.5 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002466/0.0002471, allocations: 8 kB / 306.6 MB, free: 1.383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1137, allocations: 51.5 MB / 358.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002113/0.1158, allocations: 1.283 MB / 359.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1169, allocations: 0.5186 MB / 359.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.117, allocations: 4 kB / 359.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.117, allocations: 7.922 kB / 359.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.1171, allocations: 11.92 kB / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.1173, allocations: 35.89 kB / 359.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.076e-05/0.1174, allocations: 31.97 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.1176, allocations: 19.92 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.102e-05/0.1176, allocations: 15.92 kB / 360 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.1177, allocations: 23.84 kB / 360 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1178, allocations: 7.938 kB / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.118, allocations: 35.97 kB / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.118, allocations: 11.98 kB / 360.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.1181, allocations: 37.64 kB / 360.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.1182, allocations: 51.89 kB / 360.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1182, allocations: 0 / 360.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1182, allocations: 0 / 360.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1182, allocations: 0 / 360.2 MB, free: 11.77 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.0004952/0.1187, allocations: 371.4 kB / 360.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1188, allocations: 12.03 kB / 360.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004716/0.1193, allocations: 59.84 kB / 360.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.1194, allocations: 182.9 kB / 360.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.1195, allocations: 0 / 360.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.1195, allocations: 8 kB / 360.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1198, allocations: 89.59 kB / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1198, allocations: 4 kB / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1198, allocations: 4 kB / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1198, allocations: 0 / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.1201, allocations: 83.94 kB / 361 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006957/0.1208, allocations: 356.5 kB / 361.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.121, allocations: 78.55 kB / 361.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.121, allocations: 3.984 kB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.1211, allocations: 38.62 kB / 361.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1211, allocations: 4 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.000423/0.1215, allocations: 133.5 kB / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.1216, allocations: 51.41 kB / 361.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1217, allocations: 125.7 kB / 361.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1217, allocations: 25.7 kB / 361.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/0.1218, allocations: 104 kB / 361.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.1218, allocations: 15.81 kB / 361.9 MB, free: 9.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.1219, allocations: 4 kB / 361.9 MB, free: 9.855 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.122, allocations: 318.8 kB / 362.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.83e-05/0.1221, allocations: 31.98 kB / 362.2 MB, free: 9.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.181e-05/0.1222, allocations: 39.91 kB / 362.3 MB, free: 9.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.653e-05/0.1223, allocations: 27.98 kB / 362.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1223, allocations: 0 / 362.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002417/0.1226, allocations: 110 kB / 362.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1226, allocations: 4 kB / 362.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1226, allocations: 0 / 362.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1226, allocations: 64 / 362.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1228, allocations: 27.97 kB / 362.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1228, allocations: 0 / 362.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.334e-05/0.1229, allocations: 23.91 kB / 362.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1229, allocations: 3.984 kB / 362.4 MB, free: 9.266 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 0.0001148/0.123, allocations: 117.7 kB / 362.6 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.123, allocations: 11.94 kB / 362.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.1234, allocations: 121.5 kB / 362.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1234, allocations: 3.984 kB / 362.7 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1234, allocations: 4 kB / 362.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.1234, allocations: 3.984 kB / 362.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.1237, allocations: 193.6 kB / 362.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1237, allocations: 0 / 362.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1238, allocations: 27.97 kB / 362.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1238, allocations: 0 / 362.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1239, allocations: 4 kB / 362.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1239, allocations: 0 / 362.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1239, allocations: 0 / 362.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.1242, allocations: 211.3 kB / 363.1 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.1243, allocations: 85.09 kB / 363.2 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1243, allocations: 4 kB / 363.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1244, allocations: 11.98 kB / 363.2 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.1245, allocations: 4 kB / 363.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1245, allocations: 0 / 363.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.015e-05/0.1246, allocations: 99.27 kB / 363.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1246, allocations: 0 / 363.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.1248, allocations: 15.91 kB / 363.3 MB, free: 8.266 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.0001921/0.125, allocations: 91.25 kB / 363.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.1253, allocations: 84 kB / 363.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1253, allocations: 0 / 363.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1254, allocations: 44.11 kB / 363.6 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.1256, allocations: 11.94 kB / 363.6 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.1261, allocations: 212.6 kB / 363.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.1264, allocations: 0.7043 MB / 364.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.768e-05/0.1264, allocations: 7.938 kB / 364.5 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.1265, allocations: 15.38 kB / 364.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1265, allocations: 0 / 364.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of Templates: time 0.003127/0.1296, allocations: 0.6634 MB / 365.2 MB, free: 6.379 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","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches