Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001484, allocations: 177.9 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.6 MB / 223.7 MB, free: 8.969 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007959/0.0007961, allocations: 94.36 kB / 272.1 MB, free: 8.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000258/0.0002583, allocations: 8 kB / 329 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2408, allocations: 47.58 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.001685/0.2426, allocations: 1.272 MB / 377.9 MB, free: 44.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.2436, allocations: 0.7699 MB / 378.6 MB, free: 43.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.2437, allocations: 1.562 kB / 378.6 MB, free: 43.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.2437, allocations: 7.922 kB / 378.7 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.2438, allocations: 4.875 kB / 378.7 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.2441, allocations: 41.48 kB / 378.7 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.803e-05/0.2442, allocations: 51.45 kB / 378.7 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.2443, allocations: 15.33 kB / 378.8 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.2443, allocations: 18.41 kB / 378.8 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.205e-05/0.2444, allocations: 21.05 kB / 378.8 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.2444, allocations: 2.469 kB / 378.8 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.2446, allocations: 42.92 kB / 378.8 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.2446, allocations: 10.2 kB / 378.9 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.2447, allocations: 54.64 kB / 378.9 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.2449, allocations: 72.16 kB / 379 MB, free: 43.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2449, allocations: 1.125 kB / 379 MB, free: 43.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2449, allocations: 0 / 379 MB, free: 43.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.2449, allocations: 0 / 379 MB, free: 43.65 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.000394/0.2453, allocations: 365.5 kB / 379.3 MB, free: 43.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2454, allocations: 8.531 kB / 379.3 MB, free: 43.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.2457, allocations: 57.33 kB / 379.4 MB, free: 43.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.319e-05/0.2458, allocations: 176.7 kB / 379.6 MB, free: 43.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.2459, allocations: 6.5 kB / 379.6 MB, free: 43.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.2459, allocations: 9.438 kB / 379.6 MB, free: 43.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.2461, allocations: 94.52 kB / 379.7 MB, free: 42.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2462, allocations: 3.984 kB / 379.7 MB, free: 42.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.2462, allocations: 5.062 kB / 379.7 MB, free: 42.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.2462, allocations: 1.594 kB / 379.7 MB, free: 42.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.2464, allocations: 75.64 kB / 379.8 MB, free: 42.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.247, allocations: 353.6 kB / 380.1 MB, free: 42.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.2472, allocations: 88.97 kB / 380.2 MB, free: 42.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.2473, allocations: 42.86 kB / 380.2 MB, free: 42.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.2473, allocations: 0 / 380.2 MB, free: 42.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.2473, allocations: 36.03 kB / 380.3 MB, free: 42.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.2473, allocations: 0 / 380.3 MB, free: 42.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003985/0.2477, allocations: 145.9 kB / 380.4 MB, free: 42.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.2478, allocations: 56.78 kB / 380.5 MB, free: 42.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.2478, allocations: 126.6 kB / 380.6 MB, free: 42.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.2479, allocations: 25.7 kB / 380.6 MB, free: 42.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.2479, allocations: 99.25 kB / 380.7 MB, free: 42.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.2479, allocations: 14.03 kB / 380.7 MB, free: 42.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.2479, allocations: 0 / 380.7 MB, free: 42.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.174e-05/0.248, allocations: 325.3 kB / 381 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.2481, allocations: 28.55 kB / 381.1 MB, free: 41.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.602e-05/0.2482, allocations: 32.28 kB / 381.1 MB, free: 41.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.2484, allocations: 74.83 kB / 381.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2484, allocations: 0 / 381.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002265/0.2486, allocations: 115 kB / 381.3 MB, free: 41.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2486, allocations: 7.812 kB / 381.3 MB, free: 41.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2486, allocations: 1.531 kB / 381.3 MB, free: 41.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2487, allocations: 0 / 381.3 MB, free: 41.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.2488, allocations: 19.36 kB / 381.3 MB, free: 41.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.2488, allocations: 5.062 kB / 381.3 MB, free: 41.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.31e-05/0.2489, allocations: 21.95 kB / 381.3 MB, free: 41.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.249, allocations: 1.25 kB / 381.3 MB, free: 41.59 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.82e-05/0.249, allocations: 112.3 kB / 381.5 MB, free: 41.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.249, allocations: 6.812 kB / 381.5 MB, free: 41.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.2493, allocations: 119.8 kB / 381.6 MB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2494, allocations: 5.062 kB / 381.6 MB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2494, allocations: 3.938 kB / 381.6 MB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2494, allocations: 0.8438 kB / 381.6 MB, free: 41.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.2495, allocations: 195.2 kB / 381.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2495, allocations: 0 / 381.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.2497, allocations: 25.83 kB / 381.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2497, allocations: 0 / 381.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.2497, allocations: 0 / 381.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2497, allocations: 0 / 381.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2497, allocations: 5.438 kB / 381.8 MB, free: 41.15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.25, allocations: 207.3 kB / 382 MB, free: 40.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.25, allocations: 83.3 kB / 382.1 MB, free: 40.89 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.25, allocations: 4.969 kB / 382.1 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2501, allocations: 17.02 kB / 382.1 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.2502, allocations: 10.31 kB / 382.1 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.2502, allocations: 5.109 kB / 382.1 MB, free: 40.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.201e-05/0.2502, allocations: 97.73 kB / 382.2 MB, free: 40.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2503, allocations: 0 / 382.2 MB, free: 40.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.2505, allocations: 17.81 kB / 382.2 MB, free: 40.77 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.485e-05/0.2506, allocations: 98.06 kB / 382.3 MB, free: 40.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.2508, allocations: 76.61 kB / 382.4 MB, free: 40.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2508, allocations: 0 / 382.4 MB, free: 40.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.2509, allocations: 47.28 kB / 382.5 MB, free: 40.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2512, allocations: 6.547 kB / 382.5 MB, free: 40.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.2517, allocations: 227.9 kB / 382.7 MB, free: 40.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.2518, allocations: 0.694 MB / 383.4 MB, free: 39.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.421e-05/0.2519, allocations: 7.172 kB / 383.4 MB, free: 39.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.2519, allocations: 10.97 kB / 383.4 MB, free: 39.73 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2519, allocations: 3.938 kB / 383.4 MB, free: 39.72 MB / 298.7 MB Notification: Performance of Templates: time 0.003003/0.2549, allocations: 0.698 MB / 384.1 MB, free: 39.37 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches