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.001344/0.001344, allocations: 110.2 kB / 17.75 MB, free: 5.352 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.001289/0.001289, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 51.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2955, allocations: 49.43 MB / 401.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002573/0.2981, allocations: 1.586 MB / 403 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008674/0.299, allocations: 0.5165 MB / 403.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.2991, allocations: 0 / 403.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.2991, allocations: 11.88 kB / 403.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.2992, allocations: 19.86 kB / 403.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.2994, allocations: 39.89 kB / 403.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.402e-05/0.2995, allocations: 55.78 kB / 403.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2996, allocations: 19.98 kB / 403.7 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.2997, allocations: 19.94 kB / 403.7 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.2997, allocations: 35.83 kB / 403.7 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.2998, allocations: 4 kB / 403.7 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.2999, allocations: 35.97 kB / 403.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.2999, allocations: 11.94 kB / 403.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.3, allocations: 31.8 kB / 403.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.3002, allocations: 83.64 kB / 403.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3002, allocations: 0 / 403.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.3002, allocations: 0 / 403.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.3002, allocations: 3.938 kB / 403.9 MB, free: 6.551 MB / 318.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.0004296/0.3006, allocations: 383 kB / 404.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3007, allocations: 8.031 kB / 404.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.301, allocations: 44.84 kB / 404.3 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3012, allocations: 184.2 kB / 404.5 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.3012, allocations: 8.359 kB / 404.5 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3012, allocations: 7.938 kB / 404.5 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.3014, allocations: 95.45 kB / 404.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3015, allocations: 0 / 404.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3015, allocations: 4 kB / 404.6 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3015, allocations: 0 / 404.6 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.3017, allocations: 63.95 kB / 404.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.3022, allocations: 344.7 kB / 405 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.3025, allocations: 70.53 kB / 405.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.917e-05/0.3026, allocations: 40.89 kB / 405.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.3026, allocations: 0 / 405.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3026, allocations: 34.56 kB / 405.1 MB, free: 5.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 2.585e-06/0.3026, allocations: 4 kB / 405.1 MB, free: 5.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003879/0.303, allocations: 125.5 kB / 405.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.3031, allocations: 51.41 kB / 405.3 MB, free: 4.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3032, allocations: 124.5 kB / 405.4 MB, free: 4.801 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3032, allocations: 25.7 kB / 405.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.3032, allocations: 100 kB / 405.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.3033, allocations: 19.86 kB / 405.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.3033, allocations: 25.7 kB / 405.6 MB, free: 4.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3034, allocations: 310.8 kB / 405.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.667e-05/0.3035, allocations: 31.97 kB / 405.9 MB, free: 4.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.3036, allocations: 23.98 kB / 406 MB, free: 4.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.3038, allocations: 65.19 kB / 406 MB, free: 4.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3038, allocations: 0 / 406 MB, free: 4.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002241/0.304, allocations: 97.53 kB / 406.1 MB, free: 4.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3041, allocations: 4 kB / 406.1 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3041, allocations: 0 / 406.1 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3041, allocations: 3.938 kB / 406.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.3042, allocations: 23.97 kB / 406.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3043, allocations: 0 / 406.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.3043, allocations: 15.89 kB / 406.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3044, allocations: 4 kB / 406.2 MB, free: 4.031 MB / 318.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.37e-05/0.3044, allocations: 117.8 kB / 406.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.3045, allocations: 0 / 406.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.3048, allocations: 109.5 kB / 406.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3048, allocations: 11.92 kB / 406.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3048, allocations: 0 / 406.4 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.3048, allocations: 85.06 kB / 406.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.3049, allocations: 0 / 406.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.305, allocations: 7.984 kB / 406.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.305, allocations: 8 kB / 406.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003028/0.3053, allocations: 180.9 kB / 406.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002886/0.3056, allocations: 278.6 kB / 407 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.71e-05/0.3057, allocations: 32.22 kB / 407 MB, free: 3.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.013e-05/0.3058, allocations: 95.27 kB / 407.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of Backend: time 5.81e-07/0.3058, allocations: 0 / 407.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004661/0.3063, allocations: 130.3 kB / 407.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005016/0.3068, allocations: 0.6039 MB / 407.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of Templates: time 0.003754/0.3106, allocations: 1.353 MB / 409.2 MB, free: 0.9297 MB / 318.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/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_4.0.0_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches