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.0008828/0.0008825, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000944/0.000944, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002437/0.0002437, allocations: 8 kB / 307.7 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1141, allocations: 51.52 MB / 359.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002193/0.1164, allocations: 1.306 MB / 360.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1178, allocations: 0.5573 MB / 361.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.1179, allocations: 0 / 361.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.1179, allocations: 7.922 kB / 361.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1181, allocations: 3.938 kB / 361.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.1184, allocations: 43.89 kB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.1185, allocations: 51.8 kB / 361.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.1187, allocations: 19.97 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.06e-05/0.1187, allocations: 15.94 kB / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.718e-05/0.1188, allocations: 27.78 kB / 361.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1188, allocations: 4 kB / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.1191, allocations: 51.95 kB / 361.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.1191, allocations: 4 kB / 361.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.1192, allocations: 53.44 kB / 361.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.1193, allocations: 79.75 kB / 361.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1193, allocations: 0 / 361.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1193, allocations: 0 / 361.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.1194, allocations: 0 / 361.5 MB, free: 11.05 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.0004929/0.1199, allocations: 375.5 kB / 361.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1199, allocations: 12.03 kB / 361.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000465/0.1204, allocations: 64.73 kB / 361.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1205, allocations: 180.2 kB / 362.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.1206, allocations: 384 / 362.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.1206, allocations: 8.375 kB / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.1208, allocations: 97.95 kB / 362.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.1209, allocations: 3.938 kB / 362.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1209, allocations: 4 kB / 362.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1209, allocations: 0 / 362.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.1211, allocations: 75.95 kB / 362.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.1218, allocations: 360.6 kB / 362.6 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.122, allocations: 82.55 kB / 362.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.1221, allocations: 44.95 kB / 362.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1222, allocations: 3.984 kB / 362.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1222, allocations: 34.56 kB / 362.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.1222, allocations: 0 / 362.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004501/0.1226, allocations: 145.5 kB / 362.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1227, allocations: 51.41 kB / 363 MB, free: 9.359 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1228, allocations: 126 kB / 363.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1228, allocations: 29.7 kB / 363.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.1229, allocations: 91.98 kB / 363.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1229, allocations: 23.8 kB / 363.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.123, allocations: 9.719 kB / 363.3 MB, free: 9.055 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1231, allocations: 318.8 kB / 363.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1232, allocations: 31.97 kB / 363.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.774e-05/0.1233, allocations: 35.98 kB / 363.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.1235, allocations: 69.19 kB / 363.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1235, allocations: 0 / 363.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002533/0.1238, allocations: 121.4 kB / 363.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1238, allocations: 4 kB / 363.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1238, allocations: 3.984 kB / 363.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1238, allocations: 4 kB / 363.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.124, allocations: 23.98 kB / 363.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.124, allocations: 7.922 kB / 363.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-05/0.1241, allocations: 15.92 kB / 363.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.1241, allocations: 4 kB / 363.9 MB, free: 8.41 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.357e-05/0.1242, allocations: 113.8 kB / 364 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.1242, allocations: 7.906 kB / 364 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.1246, allocations: 129.5 kB / 364.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1246, allocations: 0 / 364.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1246, allocations: 3.938 kB / 364.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1246, allocations: 0 / 364.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.1248, allocations: 193.6 kB / 364.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1248, allocations: 3.938 kB / 364.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1249, allocations: 19.98 kB / 364.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1249, allocations: 0 / 364.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1249, allocations: 0 / 364.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1249, allocations: 0 / 364.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1249, allocations: 3.938 kB / 364.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.1253, allocations: 219.3 kB / 364.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.1253, allocations: 81.02 kB / 364.6 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.1253, allocations: 4 kB / 364.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.1254, allocations: 15.98 kB / 364.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.1255, allocations: 7.922 kB / 364.7 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.1255, allocations: 4.188 kB / 364.7 MB, free: 7.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.149e-05/0.1255, allocations: 98.77 kB / 364.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1256, allocations: 0 / 364.8 MB, free: 7.426 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.1258, allocations: 12 kB / 364.8 MB, free: 7.414 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.0001122/0.1259, allocations: 91.25 kB / 364.9 MB, free: 7.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.1262, allocations: 79.95 kB / 364.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1262, allocations: 0 / 364.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.1263, allocations: 51.91 kB / 365 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1266, allocations: 4 kB / 365 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.1271, allocations: 220.6 kB / 365.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.1273, allocations: 0.6887 MB / 365.9 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.079e-05/0.1274, allocations: 7.984 kB / 365.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.1275, allocations: 15.44 kB / 365.9 MB, free: 6.199 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1275, allocations: 0 / 365.9 MB, free: 6.199 MB / 302.1 MB Notification: Performance of Templates: time 0.003014/0.1305, allocations: 0.6737 MB / 366.6 MB, free: 5.535 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