Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001632/0.001632, allocations: 201.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 229.5 MB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 90.41 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002621/0.0002623, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3136, allocations: 51.42 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.001893/0.3156, allocations: 1.282 MB / 413.3 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008688/0.3165, allocations: 0.9128 MB / 414.2 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.3165, allocations: 0 / 414.2 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.3166, allocations: 1.25 kB / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.3167, allocations: 19.86 kB / 414.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.3169, allocations: 38.88 kB / 414.3 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.317, allocations: 47.84 kB / 414.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3171, allocations: 19.98 kB / 414.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.259e-05/0.3171, allocations: 15.92 kB / 414.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.3172, allocations: 31.69 kB / 414.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.3172, allocations: 0 / 414.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.3174, allocations: 51.91 kB / 414.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.3174, allocations: 7.984 kB / 414.5 MB, free: 23.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.3175, allocations: 53.5 kB / 414.5 MB, free: 23.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.3176, allocations: 75.75 kB / 414.6 MB, free: 23.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3177, allocations: 0 / 414.6 MB, free: 23.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3177, allocations: 0 / 414.6 MB, free: 23.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3177, allocations: 0 / 414.6 MB, free: 23.23 MB / 298.7 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.0003927/0.3181, allocations: 370.8 kB / 415 MB, free: 22.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3181, allocations: 8.031 kB / 415 MB, free: 22.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003996/0.3185, allocations: 64.78 kB / 415 MB, free: 22.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.109e-05/0.3186, allocations: 172.2 kB / 415.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.3187, allocations: 4.375 kB / 415.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.3187, allocations: 8.375 kB / 415.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.3189, allocations: 97.89 kB / 415.3 MB, free: 22.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3189, allocations: 0 / 415.3 MB, free: 22.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3189, allocations: 8 kB / 415.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3189, allocations: 0 / 415.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.3191, allocations: 75.94 kB / 415.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.3197, allocations: 356.5 kB / 415.7 MB, free: 21.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.3199, allocations: 82.53 kB / 415.8 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.144e-05/0.32, allocations: 36.97 kB / 415.9 MB, free: 21.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.32, allocations: 7.984 kB / 415.9 MB, free: 21.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.32, allocations: 34.56 kB / 415.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.32, allocations: 0 / 415.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003692/0.3204, allocations: 145.5 kB / 416 MB, free: 21.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.3204, allocations: 51.41 kB / 416.1 MB, free: 21.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/0.3205, allocations: 130 kB / 416.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.3205, allocations: 29.7 kB / 416.3 MB, free: 21.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.3206, allocations: 88.05 kB / 416.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.3206, allocations: 27.67 kB / 416.4 MB, free: 21.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.3206, allocations: 0 / 416.4 MB, free: 21.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.3207, allocations: 318.8 kB / 416.7 MB, free: 20.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.87e-05/0.3208, allocations: 35.97 kB / 416.7 MB, free: 20.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.3209, allocations: 27.98 kB / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.321, allocations: 76.75 kB / 416.8 MB, free: 20.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.321, allocations: 0 / 416.8 MB, free: 20.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002005/0.3212, allocations: 105.6 kB / 416.9 MB, free: 20.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3213, allocations: 11.94 kB / 416.9 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3213, allocations: 0 / 416.9 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3213, allocations: 0 / 416.9 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.3214, allocations: 28.41 kB / 417 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3214, allocations: 3.938 kB / 417 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.3215, allocations: 16 kB / 417 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3215, allocations: 7.984 kB / 417 MB, free: 20.64 MB / 298.7 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 5.416e-05/0.3216, allocations: 117.8 kB / 417.1 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.3216, allocations: 3.906 kB / 417.1 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.3219, allocations: 125.5 kB / 417.2 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3219, allocations: 0 / 417.2 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.3219, allocations: 3.938 kB / 417.2 MB, free: 20.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3219, allocations: 3.984 kB / 417.2 MB, free: 20.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.3221, allocations: 189.6 kB / 417.4 MB, free: 20.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3221, allocations: 0 / 417.4 MB, free: 20.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.3222, allocations: 27.97 kB / 417.4 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3222, allocations: 0 / 417.4 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.3222, allocations: 0 / 417.4 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3222, allocations: 0 / 417.4 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3222, allocations: 3.938 kB / 417.4 MB, free: 20.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.3225, allocations: 211.4 kB / 417.7 MB, free: 19.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.3225, allocations: 88.94 kB / 417.7 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.3225, allocations: 4 kB / 417.7 MB, free: 19.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.3226, allocations: 15.98 kB / 417.8 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.3227, allocations: 3.938 kB / 417.8 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.3227, allocations: 8 kB / 417.8 MB, free: 19.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.297e-05/0.3227, allocations: 91.27 kB / 417.9 MB, free: 19.65 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3227, allocations: 0 / 417.9 MB, free: 19.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.3229, allocations: 16 kB / 417.9 MB, free: 19.64 MB / 298.7 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 9.397e-05/0.323, allocations: 95.25 kB / 418 MB, free: 19.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.3233, allocations: 83.88 kB / 418.1 MB, free: 19.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3233, allocations: 0 / 418.1 MB, free: 19.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/0.3234, allocations: 39.98 kB / 418.1 MB, free: 19.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.3237, allocations: 11.92 kB / 418.1 MB, free: 19.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.3241, allocations: 218.1 kB / 418.3 MB, free: 19.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.3243, allocations: 0.6926 MB / 419 MB, free: 18.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.919e-05/0.3243, allocations: 7.984 kB / 419 MB, free: 18.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.3244, allocations: 11.44 kB / 419 MB, free: 18.43 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3244, allocations: 4 kB / 419 MB, free: 18.42 MB / 298.7 MB Notification: Performance of Templates: time 0.002538/0.3269, allocations: 0.695 MB / 419.7 MB, free: 17.73 MB / 298.7 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