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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 110.9 kB / 17.06 MB, free: 5.984 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.001211/0.001211, allocations: 196 kB / 18 MB, free: 5.074 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.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002083, allocations: 51.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2316, allocations: 49.42 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.00263/0.2343, allocations: 1.585 MB / 401.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008922/0.2352, allocations: 0.5149 MB / 402.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.2352, allocations: 4 kB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.2353, allocations: 7.922 kB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.2354, allocations: 7.875 kB / 402.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.2356, allocations: 43.84 kB / 402.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.616e-05/0.2357, allocations: 55.83 kB / 402.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2358, allocations: 23.98 kB / 402.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.2359, allocations: 19.88 kB / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.2359, allocations: 27.84 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.2359, allocations: 4 kB / 402.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.2361, allocations: 47.95 kB / 402.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.2361, allocations: 15.92 kB / 402.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.2362, allocations: 23.81 kB / 402.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.2364, allocations: 78.8 kB / 402.7 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2364, allocations: 7.875 kB / 402.7 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2364, allocations: 4 kB / 402.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.2364, allocations: 4 kB / 402.7 MB, free: 6.344 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.0004839/0.2369, allocations: 383.1 kB / 403.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2369, allocations: 11.97 kB / 403.1 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.772e-05/0.237, allocations: 42.7 kB / 403.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.2374, allocations: 40.84 kB / 403.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.2375, allocations: 180.2 kB / 403.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.2375, allocations: 16.12 kB / 403.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.2376, allocations: 4 kB / 403.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.2378, allocations: 93.58 kB / 403.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2378, allocations: 0 / 403.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.2378, allocations: 8 kB / 403.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2379, allocations: 0 / 403.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.2381, allocations: 67.94 kB / 403.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.2387, allocations: 372.5 kB / 403.9 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.2389, allocations: 66.55 kB / 404 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.2391, allocations: 40.95 kB / 404 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.2391, allocations: 4 kB / 404 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.2391, allocations: 34.5 kB / 404 MB, free: 4.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2391, allocations: 3.938 kB / 404 MB, free: 4.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004177/0.2396, allocations: 113.6 kB / 404.2 MB, free: 4.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.2396, allocations: 51.41 kB / 404.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2397, allocations: 129.8 kB / 404.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.2398, allocations: 29.7 kB / 404.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.2398, allocations: 104 kB / 404.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.2399, allocations: 15.89 kB / 404.5 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.2399, allocations: 17.72 kB / 404.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2401, allocations: 318.8 kB / 404.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.2402, allocations: 27.92 kB / 404.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.2403, allocations: 31.97 kB / 404.9 MB, free: 3.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.2405, allocations: 60.77 kB / 404.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2405, allocations: 0 / 404.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002496/0.2407, allocations: 97.98 kB / 405 MB, free: 3.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2408, allocations: 11.98 kB / 405 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2408, allocations: 0 / 405 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2408, allocations: 0 / 405 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.2409, allocations: 19.98 kB / 405 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.241, allocations: 0 / 405 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.241, allocations: 11.98 kB / 405.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.2411, allocations: 0 / 405.1 MB, free: 3.75 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 9.711e-05/0.2412, allocations: 117.8 kB / 405.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.2412, allocations: 11.89 kB / 405.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.2415, allocations: 113.6 kB / 405.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2415, allocations: 0 / 405.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2415, allocations: 0 / 405.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2416, allocations: 3.938 kB / 405.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.2418, allocations: 197.6 kB / 405.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2418, allocations: 0 / 405.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.2419, allocations: 19.92 kB / 405.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2419, allocations: 0 / 405.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.2419, allocations: 8 kB / 405.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2419, allocations: 0 / 405.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.242, allocations: 0 / 405.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.2423, allocations: 195.4 kB / 405.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.2423, allocations: 89 kB / 405.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.2424, allocations: 0 / 405.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2425, allocations: 19.98 kB / 405.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.2425, allocations: 0 / 405.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.2425, allocations: 7.984 kB / 405.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.968e-05/0.2426, allocations: 91.27 kB / 405.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2426, allocations: 0 / 405.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.2429, allocations: 16 kB / 405.9 MB, free: 2.773 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.000738/0.2436, allocations: 0.771 MB / 406.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000264/0.2439, allocations: 64 kB / 406.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2439, allocations: 3.938 kB / 406.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.244, allocations: 43.91 kB / 406.8 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.2443, allocations: 4 kB / 406.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.2462, allocations: 1.483 MB / 408.3 MB, free: 308 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.2465, allocations: 0.7 MB / 409 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.799e-05/0.2466, allocations: 3.984 kB / 409 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.157e-05/0.2467, allocations: 27.42 kB / 409 MB, free: 15.54 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2467, allocations: 0 / 409 MB, free: 15.54 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.2694, allocations: 1.967 MB / 411 MB, free: 13.65 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/8.543, allocations: 7.922 kB / 411 MB, free: 13.64 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_Densities.fmu > 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