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.001178/0.001178, allocations: 92.73 kB / 16.65 MB, free: 6.535 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.001329/0.001329, allocations: 176.3 kB / 17.56 MB, free: 6.18 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.595/1.595, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002915, allocations: 4.719 kB / 301.5 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1461, allocations: 50.43 MB / 352 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002374/0.1485, allocations: 1.289 MB / 353.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1498, allocations: 0.5112 MB / 353.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.631e-05/0.1499, allocations: 0 / 353.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.315e-05/0.1499, allocations: 0 / 353.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.1501, allocations: 15.86 kB / 353.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1503, allocations: 35.86 kB / 353.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.1505, allocations: 51.84 kB / 353.9 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1506, allocations: 19.97 kB / 353.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.1507, allocations: 15.94 kB / 353.9 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.1507, allocations: 19.86 kB / 353.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1508, allocations: 0 / 353.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.151, allocations: 39.97 kB / 353.9 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.151, allocations: 23.84 kB / 354 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.1511, allocations: 49.52 kB / 354 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.1513, allocations: 71.75 kB / 354.1 MB, free: 1.195 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1513, allocations: 0 / 354.1 MB, free: 1.195 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1513, allocations: 0 / 354.1 MB, free: 1.195 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1513, allocations: 0 / 354.1 MB, free: 1.195 MB / 286.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.0005334/0.1519, allocations: 371.6 kB / 354.5 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.1519, allocations: 8.031 kB / 354.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.356e-05/0.152, allocations: 46.64 kB / 354.5 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/0.1525, allocations: 52.8 kB / 354.6 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.1527, allocations: 176.2 kB / 354.7 MB, free: 472 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.1527, allocations: 8.375 kB / 354.7 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.1527, allocations: 7.938 kB / 354.7 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.153, allocations: 101.6 kB / 354.8 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.153, allocations: 0 / 354.8 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.153, allocations: 4 kB / 354.8 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1531, allocations: 7.984 kB / 354.9 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.1533, allocations: 75.95 kB / 354.9 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006998/0.154, allocations: 372.4 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.1543, allocations: 82.53 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1544, allocations: 40.97 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1545, allocations: 4 kB / 355.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1545, allocations: 42.44 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1545, allocations: 0 / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004616/0.155, allocations: 137.7 kB / 355.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.155, allocations: 51.41 kB / 355.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1552, allocations: 129.3 kB / 355.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1552, allocations: 25.7 kB / 355.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.1553, allocations: 99.98 kB / 355.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.1553, allocations: 19.75 kB / 355.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.1554, allocations: 13.72 kB / 355.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1555, allocations: 322.8 kB / 356.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.1556, allocations: 27.98 kB / 356.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.836e-05/0.1557, allocations: 35.91 kB / 356.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.1559, allocations: 73.2 kB / 356.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.156, allocations: 7.938 kB / 356.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002649/0.1562, allocations: 109.5 kB / 356.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1563, allocations: 7.938 kB / 356.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1563, allocations: 0 / 356.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1563, allocations: 0 / 356.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.1564, allocations: 27.97 kB / 356.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1565, allocations: 4 kB / 356.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.016e-05/0.1565, allocations: 15.98 kB / 356.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1566, allocations: 3.938 kB / 356.5 MB, free: 14.5 MB / 302.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.0001072/0.1567, allocations: 117.8 kB / 356.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.1567, allocations: 11.84 kB / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.1571, allocations: 121.6 kB / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1571, allocations: 4 kB / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1571, allocations: 0 / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1571, allocations: 0 / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.1574, allocations: 189.6 kB / 357 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1574, allocations: 0 / 357 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.1575, allocations: 23.98 kB / 357 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.1575, allocations: 3.938 kB / 357 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1575, allocations: 7.938 kB / 357 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1575, allocations: 0 / 357 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1575, allocations: 0 / 357 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.1579, allocations: 211.4 kB / 357.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.158, allocations: 88.89 kB / 357.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.158, allocations: 0 / 357.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1581, allocations: 16.17 kB / 357.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.1582, allocations: 11.98 kB / 357.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1582, allocations: 0 / 357.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.627e-05/0.1583, allocations: 103.3 kB / 357.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1583, allocations: 0 / 357.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1585, allocations: 12 kB / 357.5 MB, free: 13.49 MB / 302.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.0007706/0.1593, allocations: 0.7864 MB / 358.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.1596, allocations: 76 kB / 358.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1596, allocations: 0 / 358.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1597, allocations: 47.91 kB / 358.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.16, allocations: 8 kB / 358.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.1621, allocations: 1.544 MB / 359.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.1624, allocations: 0.6926 MB / 360.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.751e-05/0.1625, allocations: 11.98 kB / 360.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.1626, allocations: 27.42 kB / 360.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1626, allocations: 0 / 360.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.1748, allocations: 1.688 MB / 362.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/0.1751, allocations: 188.8 kB / 362.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.119, allocations: 0 / 362.5 MB, free: 8.336 MB / 302.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