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.001405/0.001405, allocations: 115.8 kB / 17.74 MB, free: 5.336 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.001574/0.001574, allocations: 185.5 kB / 18.66 MB, free: 4.422 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.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 47.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2777, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002792/0.2805, allocations: 1.584 MB / 403 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.2815, allocations: 0.5242 MB / 403.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.2816, allocations: 4 kB / 403.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.2816, allocations: 3.938 kB / 403.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.2817, allocations: 7.875 kB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.282, allocations: 51.81 kB / 403.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.94e-05/0.2821, allocations: 51.84 kB / 403.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.2822, allocations: 23.98 kB / 403.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.775e-05/0.2823, allocations: 19.92 kB / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.2823, allocations: 23.86 kB / 403.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.2823, allocations: 4 kB / 403.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.2825, allocations: 47.89 kB / 403.7 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.2826, allocations: 15.92 kB / 403.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.2826, allocations: 27.75 kB / 403.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.2828, allocations: 79.77 kB / 403.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2828, allocations: 0 / 403.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2828, allocations: 8 kB / 403.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2828, allocations: 3.938 kB / 403.9 MB, free: 6.391 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.0004797/0.2833, allocations: 376.4 kB / 404.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2833, allocations: 8.031 kB / 404.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/0.2837, allocations: 44.8 kB / 404.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2838, allocations: 184.1 kB / 404.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.2839, allocations: 384 / 404.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.2839, allocations: 15.94 kB / 404.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.2841, allocations: 80.16 kB / 404.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2841, allocations: 0 / 404.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.2842, allocations: 4 kB / 404.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2842, allocations: 7.984 kB / 404.6 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.2844, allocations: 63.95 kB / 404.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.285, allocations: 348.5 kB / 405 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.2852, allocations: 70.53 kB / 405.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2853, allocations: 40.91 kB / 405.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.2853, allocations: 0 / 405.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.2853, allocations: 38.55 kB / 405.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.2853, allocations: 0 / 405.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004054/0.2858, allocations: 121.5 kB / 405.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.2858, allocations: 51.41 kB / 405.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.2859, allocations: 126.1 kB / 405.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.2859, allocations: 29.7 kB / 405.5 MB, free: 4.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.286, allocations: 96.03 kB / 405.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.286, allocations: 15.75 kB / 405.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.2861, allocations: 17.72 kB / 405.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.2862, allocations: 318.8 kB / 405.9 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.495e-05/0.2863, allocations: 27.92 kB / 405.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/0.2864, allocations: 27.97 kB / 405.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.2866, allocations: 64.81 kB / 406 MB, free: 4.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2866, allocations: 0 / 406 MB, free: 4.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000226/0.2868, allocations: 93.94 kB / 406.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2868, allocations: 8 kB / 406.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2868, allocations: 4 kB / 406.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2869, allocations: 3.938 kB / 406.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.287, allocations: 23.92 kB / 406.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.287, allocations: 0 / 406.1 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.667e-05/0.2871, allocations: 11.98 kB / 406.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.2871, allocations: 0 / 406.1 MB, free: 3.895 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.928e-05/0.2872, allocations: 117.8 kB / 406.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.2872, allocations: 7.906 kB / 406.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.2875, allocations: 113.5 kB / 406.4 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2876, allocations: 4 kB / 406.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2876, allocations: 0 / 406.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2876, allocations: 0 / 406.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.2878, allocations: 197.5 kB / 406.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2878, allocations: 0 / 406.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.2879, allocations: 23.92 kB / 406.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2879, allocations: 0 / 406.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.2879, allocations: 3.938 kB / 406.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2879, allocations: 7.984 kB / 406.6 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2879, allocations: 0 / 406.6 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.2882, allocations: 191.4 kB / 406.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.2883, allocations: 81.02 kB / 406.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.2883, allocations: 7.938 kB / 406.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.2884, allocations: 11.98 kB / 406.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.2884, allocations: 15.97 kB / 406.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2884, allocations: 0 / 406.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.773e-05/0.2885, allocations: 97.39 kB / 407 MB, free: 2.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2885, allocations: 0 / 407 MB, free: 2.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.2888, allocations: 12 kB / 407 MB, free: 2.918 MB / 318.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.0001058/0.2889, allocations: 99.92 kB / 407.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.2891, allocations: 72.08 kB / 407.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2891, allocations: 0 / 407.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.2892, allocations: 31.97 kB / 407.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.2896, allocations: 11.94 kB / 407.2 MB, free: 2.699 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.2901, allocations: 215.3 kB / 407.4 MB, free: 2.457 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2903, allocations: 0.6962 MB / 408.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.2904, allocations: 15.42 kB / 408.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2904, allocations: 0 / 408.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of Templates: time 0.002447/0.2928, allocations: 0.969 MB / 409.1 MB, free: 0.75 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