Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 90.34 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2447, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.001653/0.2464, allocations: 1.265 MB / 376.4 MB, free: 44.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007789/0.2472, allocations: 0.5361 MB / 377 MB, free: 44.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.2473, allocations: 1.062 kB / 377 MB, free: 44.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.2473, allocations: 7.922 kB / 377 MB, free: 44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.513e-05/0.2474, allocations: 9 kB / 377 MB, free: 44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.2476, allocations: 33 kB / 377 MB, free: 43.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.711e-05/0.2477, allocations: 51 kB / 377.1 MB, free: 43.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2478, allocations: 15.36 kB / 377.1 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.2478, allocations: 18.41 kB / 377.1 MB, free: 43.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.2479, allocations: 16.67 kB / 377.1 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.2479, allocations: 6.219 kB / 377.1 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.2481, allocations: 48.2 kB / 377.2 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.2481, allocations: 5.203 kB / 377.2 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.2481, allocations: 50.14 kB / 377.2 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.2482, allocations: 52.95 kB / 377.3 MB, free: 43.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2482, allocations: 0 / 377.3 MB, free: 43.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2482, allocations: 0 / 377.3 MB, free: 43.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2483, allocations: 0 / 377.3 MB, free: 43.79 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.000383/0.2486, allocations: 368.9 kB / 377.7 MB, free: 43.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2487, allocations: 14.28 kB / 377.7 MB, free: 43.4 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.626e-05/0.2488, allocations: 45.23 kB / 377.7 MB, free: 43.35 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003485/0.2491, allocations: 53.17 kB / 377.8 MB, free: 43.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.447e-05/0.2492, allocations: 180.8 kB / 377.9 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.2492, allocations: 3.438 kB / 377.9 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.2493, allocations: 8.688 kB / 378 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.2495, allocations: 103.1 kB / 378.1 MB, free: 43.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2495, allocations: 0 / 378.1 MB, free: 43.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2495, allocations: 5.062 kB / 378.1 MB, free: 43.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2496, allocations: 2.156 kB / 378.1 MB, free: 43.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.2498, allocations: 84.73 kB / 378.1 MB, free: 43.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.2504, allocations: 371.6 kB / 378.5 MB, free: 42.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.2506, allocations: 83.22 kB / 378.6 MB, free: 42.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.2507, allocations: 43.64 kB / 378.6 MB, free: 42.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.2507, allocations: 0 / 378.6 MB, free: 42.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.2508, allocations: 35.72 kB / 378.7 MB, free: 42.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.2508, allocations: 0 / 378.7 MB, free: 42.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004306/0.2512, allocations: 143.1 kB / 378.8 MB, free: 42.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.2512, allocations: 56.5 kB / 378.9 MB, free: 42.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.933e-05/0.2513, allocations: 117.7 kB / 379 MB, free: 42.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.2514, allocations: 26.98 kB / 379 MB, free: 42.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.2514, allocations: 107.5 kB / 379.1 MB, free: 42.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.2514, allocations: 18.47 kB / 379.1 MB, free: 42.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.2514, allocations: 0 / 379.1 MB, free: 42.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.2515, allocations: 316.5 kB / 379.4 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.2516, allocations: 31.64 kB / 379.5 MB, free: 41.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.453e-05/0.2517, allocations: 37.34 kB / 379.5 MB, free: 41.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.2519, allocations: 69.77 kB / 379.6 MB, free: 41.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2519, allocations: 5.031 kB / 379.6 MB, free: 41.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002355/0.2522, allocations: 110.4 kB / 379.7 MB, free: 41.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2522, allocations: 5.125 kB / 379.7 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2522, allocations: 7.922 kB / 379.7 MB, free: 41.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2522, allocations: 5.281 kB / 379.7 MB, free: 41.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.2524, allocations: 22.55 kB / 379.7 MB, free: 41.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2524, allocations: 1.219 kB / 379.7 MB, free: 41.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.832e-05/0.2525, allocations: 13.64 kB / 379.7 MB, free: 41.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.2525, allocations: 1.312 kB / 379.7 MB, free: 41.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/0.2525, allocations: 113.5 kB / 379.8 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.2526, allocations: 7.625 kB / 379.9 MB, free: 41.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.2529, allocations: 130.6 kB / 380 MB, free: 41.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2529, allocations: 1.75 kB / 380 MB, free: 41.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2529, allocations: 3.938 kB / 380 MB, free: 41.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2529, allocations: 4 kB / 380 MB, free: 41.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.2531, allocations: 197.9 kB / 380.2 MB, free: 41.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2531, allocations: 0 / 380.2 MB, free: 41.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.2532, allocations: 19.64 kB / 380.2 MB, free: 41.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2532, allocations: 1.125 kB / 380.2 MB, free: 41.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2532, allocations: 7.922 kB / 380.2 MB, free: 41.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2532, allocations: 1.062 kB / 380.2 MB, free: 41.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2532, allocations: 0 / 380.2 MB, free: 41.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.2535, allocations: 205.7 kB / 380.4 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.2535, allocations: 82.64 kB / 380.5 MB, free: 40.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.2536, allocations: 15.92 kB / 380.5 MB, free: 40.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.2537, allocations: 13.78 kB / 380.5 MB, free: 40.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.2537, allocations: 5.203 kB / 380.5 MB, free: 40.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2537, allocations: 6.5 kB / 380.5 MB, free: 40.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.892e-05/0.2538, allocations: 95.61 kB / 380.6 MB, free: 40.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2538, allocations: 0 / 380.6 MB, free: 40.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.254, allocations: 18.12 kB / 380.6 MB, free: 40.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000548/0.2546, allocations: 0.7751 MB / 381.4 MB, free: 40.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.2548, allocations: 84.61 kB / 381.5 MB, free: 40.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2548, allocations: 0 / 381.5 MB, free: 40.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.2549, allocations: 43.7 kB / 381.5 MB, free: 40.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.2552, allocations: 6.422 kB / 381.6 MB, free: 40.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2563, allocations: 0.6611 MB / 382.2 MB, free: 39.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.2565, allocations: 0.6917 MB / 382.9 MB, free: 38.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.2565, allocations: 29.83 kB / 382.9 MB, free: 38.81 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2565, allocations: 1.219 kB / 382.9 MB, free: 38.81 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.479/2.735, allocations: 1.197 MB / 384.1 MB, free: 38.21 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches