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.001943/0.001943, allocations: 101.9 kB / 17.06 MB, free: 6.145 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.00231/0.00231, allocations: 195 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.673/2.673, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002244, allocations: 43.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.5268, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.007059/0.534, allocations: 1.574 MB / 401.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.5359, allocations: 0.5184 MB / 402.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.536, allocations: 4 kB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.108e-05/0.5362, allocations: 3.938 kB / 402.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.5364, allocations: 11.88 kB / 402.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.5369, allocations: 47.81 kB / 402.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.5371, allocations: 51.84 kB / 402.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.5373, allocations: 16 kB / 402.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.893e-05/0.5374, allocations: 19.92 kB / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.859e-05/0.5375, allocations: 31.84 kB / 402.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.5376, allocations: 4 kB / 402.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.5379, allocations: 47.91 kB / 402.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.538, allocations: 19.92 kB / 402.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.538, allocations: 27.8 kB / 402.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.5383, allocations: 67.78 kB / 402.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.5383, allocations: 7.938 kB / 402.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5384, allocations: 0 / 402.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.5384, allocations: 3.984 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.0008107/0.5392, allocations: 377 kB / 403.1 MB, free: 5.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.771e-05/0.5393, allocations: 8.031 kB / 403.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.5394, allocations: 50.58 kB / 403.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006822/0.5401, allocations: 40.8 kB / 403.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.5404, allocations: 180.2 kB / 403.3 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.5405, allocations: 12.12 kB / 403.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.5405, allocations: 8 kB / 403.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.5409, allocations: 93.64 kB / 403.4 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.541, allocations: 4 kB / 403.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.541, allocations: 4 kB / 403.5 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.541, allocations: 0 / 403.5 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.5415, allocations: 78.38 kB / 403.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.5426, allocations: 356.5 kB / 403.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.543, allocations: 70.53 kB / 403.9 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.5432, allocations: 44.89 kB / 404 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.5432, allocations: 0 / 404 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.5433, allocations: 34.5 kB / 404 MB, free: 4.844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 2.004e-06/0.5433, allocations: 4 kB / 404 MB, free: 4.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007439/0.5441, allocations: 125.6 kB / 404.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.5441, allocations: 55.41 kB / 404.2 MB, free: 4.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.5443, allocations: 126.1 kB / 404.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.5444, allocations: 25.7 kB / 404.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.5445, allocations: 104 kB / 404.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.5445, allocations: 15.75 kB / 404.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.049e-05/0.5446, allocations: 17.72 kB / 404.5 MB, free: 4.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.5448, allocations: 322.8 kB / 404.8 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.545, allocations: 27.91 kB / 404.8 MB, free: 3.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.5452, allocations: 23.98 kB / 404.9 MB, free: 3.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.5456, allocations: 64.81 kB / 404.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5456, allocations: 0 / 404.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004925/0.5461, allocations: 97.44 kB / 405 MB, free: 3.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.5462, allocations: 8 kB / 405 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5462, allocations: 0 / 405 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.5462, allocations: 0 / 405 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.5465, allocations: 15.98 kB / 405 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.5465, allocations: 0 / 405 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.5467, allocations: 16.42 kB / 405.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.5467, allocations: 4 kB / 405.1 MB, free: 3.746 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 0.000152/0.5469, allocations: 109.8 kB / 405.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.547, allocations: 11.84 kB / 405.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005383/0.5475, allocations: 117.5 kB / 405.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5475, allocations: 4 kB / 405.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5476, allocations: 0 / 405.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.5476, allocations: 0 / 405.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.548, allocations: 197.6 kB / 405.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.548, allocations: 0 / 405.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.5482, allocations: 23.91 kB / 405.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.5482, allocations: 4 kB / 405.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.5483, allocations: 0 / 405.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.5483, allocations: 0 / 405.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5483, allocations: 0 / 405.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.5488, allocations: 195.4 kB / 405.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/0.5489, allocations: 96.94 kB / 405.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.549, allocations: 0 / 405.8 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.5492, allocations: 8 kB / 405.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.5493, allocations: 3.984 kB / 405.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.5493, allocations: 11.94 kB / 405.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.5494, allocations: 97.64 kB / 405.9 MB, free: 2.781 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5494, allocations: 0 / 405.9 MB, free: 2.781 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004459/0.5499, allocations: 15.94 kB / 405.9 MB, free: 2.766 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.001225/0.5511, allocations: 0.767 MB / 406.7 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005074/0.5517, allocations: 67.89 kB / 406.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5517, allocations: 3.938 kB / 406.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.5519, allocations: 36.28 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.000618/0.5526, allocations: 8.125 kB / 406.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.5562, allocations: 1.476 MB / 408.3 MB, free: 308 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.5568, allocations: 0.7 MB / 409 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.5569, allocations: 8 kB / 409 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.5571, allocations: 23.42 kB / 409 MB, free: 15.54 MB / 334.1 MB Notification: Performance of SimCode: time 1.001e-06/0.5571, allocations: 0 / 409 MB, free: 15.54 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07193/0.629, allocations: 1.971 MB / 411 MB, free: 13.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.95/20.58, allocations: 5.484 kB / 411 MB, free: 13.63 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