Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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 3.2.3+maint.om/package.mo", uses=false) 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 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.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_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.001713/0.001713, allocations: 107.4 kB / 17.16 MB, free: 6.309 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.002114/0.002115, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 51.92 kB / 280.1 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07628/0.07742, allocations: 46.62 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.00254/0.08, allocations: 1.628 MB / 328.3 MB, free: 3.156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008295/0.08086, allocations: 0.5667 MB / 328.9 MB, free: 2.582 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.08091, allocations: 8 kB / 328.9 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.539e-05/0.08096, allocations: 3.938 kB / 328.9 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.728e-05/0.08103, allocations: 3.938 kB / 328.9 MB, free: 2.566 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.08121, allocations: 39.89 kB / 328.9 MB, free: 2.527 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.948e-05/0.08129, allocations: 47.86 kB / 329 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.001e-05/0.08138, allocations: 19.92 kB / 329 MB, free: 2.461 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.955e-05/0.08142, allocations: 23.92 kB / 329 MB, free: 2.438 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.08148, allocations: 27.84 kB / 329.1 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.0815, allocations: 4 kB / 329.1 MB, free: 2.406 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.08165, allocations: 39.97 kB / 329.1 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.08167, allocations: 11.92 kB / 329.1 MB, free: 2.355 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.08171, allocations: 23.81 kB / 329.1 MB, free: 2.332 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.08184, allocations: 75.77 kB / 329.2 MB, free: 2.258 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.08185, allocations: 4 kB / 329.2 MB, free: 2.254 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.08186, allocations: 3.938 kB / 329.2 MB, free: 2.25 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.08187, allocations: 0 / 329.2 MB, free: 2.25 MB / 270.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.0004141/0.08229, allocations: 391.4 kB / 329.6 MB, free: 1.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.08233, allocations: 8.031 kB / 329.6 MB, free: 1.812 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.08239, allocations: 38.75 kB / 329.6 MB, free: 1.766 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/0.08274, allocations: 40.8 kB / 329.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.08286, allocations: 184.2 kB / 329.9 MB, free: 1.508 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.08288, allocations: 4.375 kB / 329.9 MB, free: 1.504 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.08291, allocations: 8.375 kB / 329.9 MB, free: 1.496 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.08313, allocations: 101.6 kB / 330 MB, free: 1.391 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.08314, allocations: 0 / 330 MB, free: 1.391 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.08316, allocations: 8 kB / 330 MB, free: 1.383 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.08317, allocations: 0 / 330 MB, free: 1.383 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.08338, allocations: 67.94 kB / 330.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.08395, allocations: 372.5 kB / 330.4 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.08415, allocations: 74.53 kB / 330.5 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.87e-05/0.08425, allocations: 40.95 kB / 330.5 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.08427, allocations: 0 / 330.5 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.0843, allocations: 30.56 kB / 330.6 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.0843, allocations: 0 / 330.6 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003784/0.08469, allocations: 125.5 kB / 330.7 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.08473, allocations: 55.41 kB / 330.7 MB, free: 0.543 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.279e-05/0.08482, allocations: 126.1 kB / 330.9 MB, free: 420 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.08484, allocations: 25.7 kB / 330.9 MB, free: 388 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.08488, allocations: 99.94 kB / 331 MB, free: 284 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.08491, allocations: 23.73 kB / 331 MB, free: 260 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.08496, allocations: 17.72 kB / 331 MB, free: 236 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.08506, allocations: 314.8 kB / 331.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.08516, allocations: 27.98 kB / 331.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.08525, allocations: 31.97 kB / 331.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.08542, allocations: 56.77 kB / 331.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.08543, allocations: 0 / 331.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002134/0.08565, allocations: 89.66 kB / 331.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.08567, allocations: 11.11 kB / 331.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.08568, allocations: 4 kB / 331.5 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.08569, allocations: 3.938 kB / 331.5 MB, free: 15.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.08583, allocations: 15.98 kB / 331.6 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.08585, allocations: 4 kB / 331.6 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.893e-05/0.08593, allocations: 11.89 kB / 331.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.08595, allocations: 4 kB / 331.6 MB, free: 15.65 MB / 286.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 6.547e-05/0.08602, allocations: 109.8 kB / 331.7 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.08605, allocations: 4 kB / 331.7 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.08633, allocations: 125.4 kB / 331.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.08634, allocations: 0 / 331.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.08635, allocations: 0 / 331.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.08636, allocations: 0 / 331.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.08654, allocations: 206 kB / 332 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.08655, allocations: 0 / 332 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.08666, allocations: 19.98 kB / 332 MB, free: 15.13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.08667, allocations: 11.94 kB / 332 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.08669, allocations: 3.938 kB / 332.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.08669, allocations: 0 / 332.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.0867, allocations: 0 / 332.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.08696, allocations: 195.4 kB / 332.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.087, allocations: 81.02 kB / 332.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.08702, allocations: 7.938 kB / 332.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.08713, allocations: 15.98 kB / 332.3 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.08717, allocations: 3.984 kB / 332.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.08718, allocations: 4 kB / 332.4 MB, free: 14.78 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.473e-05/0.08723, allocations: 95.77 kB / 332.4 MB, free: 14.69 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08724, allocations: 0 / 332.4 MB, free: 14.69 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.08746, allocations: 15.91 kB / 332.5 MB, free: 14.67 MB / 286.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.0005706/0.08803, allocations: 0.7554 MB / 333.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.08827, allocations: 67.94 kB / 333.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.08828, allocations: 4 kB / 333.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.894e-05/0.08838, allocations: 39.91 kB / 333.3 MB, free: 13.78 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.08867, allocations: 4 kB / 333.3 MB, free: 13.78 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.09016, allocations: 1.498 MB / 334.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.09037, allocations: 0.6965 MB / 335.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.13e-05/0.09043, allocations: 8 kB / 335.5 MB, free: 11.47 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.09049, allocations: 23.42 kB / 335.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.09049, allocations: 0 / 335.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.1119, allocations: 1.771 MB / 337.3 MB, free: 9.648 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/0.1122, allocations: 208.7 kB / 337.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.816, allocations: 4 kB / 337.5 MB, free: 9.379 MB / 286.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > 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/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_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches