Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008781/0.0008781, allocations: 94.14 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009289/0.0009291, allocations: 183.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 241.1 MB, free: 5.367 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002761, allocations: 6.562 kB / 300.7 MB, free: 6.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 50.42 MB / 351.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001839/0.1182, allocations: 1.273 MB / 352.4 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.119, allocations: 499.1 kB / 352.9 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.1191, allocations: 0 / 352.9 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.1191, allocations: 3.938 kB / 352.9 MB, free: 9.906 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.653e-05/0.1192, allocations: 8 kB / 352.9 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.1194, allocations: 35.89 kB / 352.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.555e-05/0.1195, allocations: 35.91 kB / 353 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1196, allocations: 20.25 kB / 353 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.337e-05/0.1197, allocations: 7.938 kB / 353 MB, free: 9.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.1198, allocations: 19.86 kB / 353 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1198, allocations: 4 kB / 353 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1199, allocations: 39.95 kB / 353.1 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.12, allocations: 15.92 kB / 353.1 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.12, allocations: 33.64 kB / 353.1 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.1201, allocations: 59.83 kB / 353.2 MB, free: 9.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1201, allocations: 0 / 353.2 MB, free: 9.625 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1201, allocations: 0 / 353.2 MB, free: 9.625 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1202, allocations: 0 / 353.2 MB, free: 9.625 MB / 286.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.0004698/0.1206, allocations: 367.1 kB / 353.5 MB, free: 9.219 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1207, allocations: 12.03 kB / 353.5 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/0.1211, allocations: 55.81 kB / 353.6 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.1212, allocations: 167 kB / 353.8 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.1213, allocations: 8 kB / 353.8 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.1213, allocations: 7.938 kB / 353.8 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.1215, allocations: 97.58 kB / 353.9 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1215, allocations: 0 / 353.9 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1216, allocations: 4 kB / 353.9 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1216, allocations: 0 / 353.9 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.1218, allocations: 83.91 kB / 354 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.1224, allocations: 360.5 kB / 354.3 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.1227, allocations: 86.53 kB / 354.4 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.1227, allocations: 0 / 354.4 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1227, allocations: 30.56 kB / 354.4 MB, free: 8.211 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1228, allocations: 0 / 354.4 MB, free: 8.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004136/0.1232, allocations: 141.6 kB / 354.6 MB, free: 8.066 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.1232, allocations: 63.41 kB / 354.6 MB, free: 7.992 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.1233, allocations: 118.1 kB / 354.7 MB, free: 7.863 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1233, allocations: 25.7 kB / 354.8 MB, free: 7.832 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.1234, allocations: 96.03 kB / 354.9 MB, free: 7.734 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.1234, allocations: 19.73 kB / 354.9 MB, free: 7.715 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.1234, allocations: 0 / 354.9 MB, free: 7.715 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1236, allocations: 318.8 kB / 355.2 MB, free: 7.395 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.1237, allocations: 35.97 kB / 355.2 MB, free: 7.359 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/0.1238, allocations: 27.98 kB / 355.3 MB, free: 7.332 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.624e-05/0.1239, allocations: 31.98 kB / 355.3 MB, free: 7.301 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1239, allocations: 4 kB / 355.3 MB, free: 7.297 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002371/0.1241, allocations: 109.5 kB / 355.4 MB, free: 7.184 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1242, allocations: 8 kB / 355.4 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1242, allocations: 0 / 355.4 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1242, allocations: 0 / 355.4 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1243, allocations: 27.92 kB / 355.4 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1243, allocations: 448 / 355.4 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.1244, allocations: 15.89 kB / 355.4 MB, free: 7.133 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1244, allocations: 4 kB / 355.5 MB, free: 7.129 MB / 286.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 8.758e-05/0.1245, allocations: 113.8 kB / 355.6 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.1246, allocations: 3.953 kB / 355.6 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.1249, allocations: 137.4 kB / 355.7 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1249, allocations: 3.984 kB / 355.7 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1249, allocations: 0 / 355.7 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1249, allocations: 4 kB / 355.7 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.1252, allocations: 189.6 kB / 355.9 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1252, allocations: 0 / 355.9 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.1253, allocations: 19.98 kB / 355.9 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1253, allocations: 3.953 kB / 355.9 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1253, allocations: 4 kB / 355.9 MB, free: 6.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1253, allocations: 3.938 kB / 355.9 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1253, allocations: 0 / 355.9 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.1256, allocations: 211.4 kB / 356.1 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.1257, allocations: 77.11 kB / 356.2 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.1257, allocations: 3.953 kB / 356.2 MB, free: 6.266 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1258, allocations: 19.92 kB / 356.2 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.1259, allocations: 7.984 kB / 356.2 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1259, allocations: 4 kB / 356.2 MB, free: 6.234 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.138e-05/0.126, allocations: 98.39 kB / 356.3 MB, free: 6.141 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.126, allocations: 0 / 356.3 MB, free: 6.141 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.1262, allocations: 15.84 kB / 356.4 MB, free: 6.125 MB / 286.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.0001007/0.1263, allocations: 95.25 kB / 356.4 MB, free: 6.023 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1266, allocations: 75.95 kB / 356.5 MB, free: 5.949 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1266, allocations: 0 / 356.5 MB, free: 5.949 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1267, allocations: 51.91 kB / 356.6 MB, free: 5.898 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.1269, allocations: 4 kB / 356.6 MB, free: 5.895 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.1274, allocations: 220.5 kB / 356.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.1277, allocations: 0.6926 MB / 357.5 MB, free: 4.934 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.118e-05/0.1277, allocations: 7.984 kB / 357.5 MB, free: 4.926 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.1278, allocations: 11.44 kB / 357.5 MB, free: 4.914 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1278, allocations: 0 / 357.5 MB, free: 4.914 MB / 286.1 MB Notification: Performance of Templates: time 0.002942/0.1307, allocations: 0.6831 MB / 358.2 MB, free: 4.238 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches