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.001243/0.001243, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001183/0.001183, allocations: 192 kB / 18.51 MB, free: 4.508 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.842/1.842, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001375/0.001375, allocations: 59.91 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1464, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003952/0.1504, allocations: 1.564 MB / 328.9 MB, free: 2.793 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1517, allocations: 0.5697 MB / 329.5 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.1517, allocations: 0 / 329.5 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.962e-05/0.1518, allocations: 3.938 kB / 329.5 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.1519, allocations: 15.86 kB / 329.5 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.1523, allocations: 39.84 kB / 329.6 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.1524, allocations: 47.91 kB / 329.6 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1526, allocations: 35.91 kB / 329.7 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/0.1527, allocations: 11.94 kB / 329.7 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.1527, allocations: 35.78 kB / 329.7 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1528, allocations: 4 kB / 329.7 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.153, allocations: 39.97 kB / 329.7 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.153, allocations: 11.92 kB / 329.8 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.1531, allocations: 31.8 kB / 329.8 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.1533, allocations: 79.77 kB / 329.9 MB, free: 1.863 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1533, allocations: 0 / 329.9 MB, free: 1.863 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1533, allocations: 4 kB / 329.9 MB, free: 1.859 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1533, allocations: 0 / 329.9 MB, free: 1.859 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.0006537/0.154, allocations: 379.4 kB / 330.2 MB, free: 1.441 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.154, allocations: 12.03 kB / 330.3 MB, free: 1.43 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.671e-05/0.1541, allocations: 38.73 kB / 330.3 MB, free: 1.383 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004081/0.1545, allocations: 44.8 kB / 330.3 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.1547, allocations: 180.2 kB / 330.5 MB, free: 1.125 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/0.1548, allocations: 12.38 kB / 330.5 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.1548, allocations: 4.375 kB / 330.5 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.1552, allocations: 98.52 kB / 330.6 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1552, allocations: 0 / 330.6 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1552, allocations: 4 kB / 330.6 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1552, allocations: 4 kB / 330.6 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.1554, allocations: 67.89 kB / 330.7 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007046/0.1562, allocations: 372.5 kB / 331.1 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1564, allocations: 74.53 kB / 331.1 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1565, allocations: 36.95 kB / 331.2 MB, free: 408 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1565, allocations: 4 kB / 331.2 MB, free: 404 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.1566, allocations: 30.56 kB / 331.2 MB, free: 364 kB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.1566, allocations: 0 / 331.2 MB, free: 364 kB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004848/0.1571, allocations: 121.5 kB / 331.3 MB, free: 236 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.1571, allocations: 59.39 kB / 331.4 MB, free: 164 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1573, allocations: 118.1 kB / 331.5 MB, free: 36 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1573, allocations: 29.7 kB / 331.5 MB, free: 0 / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.1574, allocations: 100 kB / 331.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.1574, allocations: 19.69 kB / 331.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.1575, allocations: 21.7 kB / 331.7 MB, free: 15.85 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1576, allocations: 310.8 kB / 332 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.1578, allocations: 35.97 kB / 332 MB, free: 15.5 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.648e-05/0.1578, allocations: 23.98 kB / 332 MB, free: 15.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.158, allocations: 65.19 kB / 332.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.158, allocations: 0 / 332.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002334/0.1583, allocations: 93.59 kB / 332.2 MB, free: 15.31 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1583, allocations: 7.281 kB / 332.2 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1583, allocations: 4 kB / 332.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1584, allocations: 3.938 kB / 332.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.1585, allocations: 19.97 kB / 332.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.1585, allocations: 0 / 332.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.551e-05/0.1586, allocations: 11.91 kB / 332.2 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1586, allocations: 3.984 kB / 332.2 MB, free: 15.27 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 0.0001125/0.1588, allocations: 117.8 kB / 332.3 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.1588, allocations: 7.984 kB / 332.3 MB, free: 15.13 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.1591, allocations: 109.5 kB / 332.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.1592, allocations: 7.984 kB / 332.5 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1592, allocations: 0 / 332.5 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1592, allocations: 0 / 332.5 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.1594, allocations: 201.5 kB / 332.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1594, allocations: 4 kB / 332.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1595, allocations: 15.98 kB / 332.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1595, allocations: 3.938 kB / 332.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1596, allocations: 3.938 kB / 332.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1596, allocations: 4 kB / 332.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1596, allocations: 0 / 332.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.16, allocations: 195.4 kB / 332.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.16, allocations: 85.2 kB / 333 MB, free: 14.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.1601, allocations: 7.938 kB / 333 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1602, allocations: 11.98 kB / 333 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.1602, allocations: 4 kB / 333 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1602, allocations: 0 / 333 MB, free: 14.4 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.877e-05/0.1603, allocations: 95.77 kB / 333.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1603, allocations: 0 / 333.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1606, allocations: 23.91 kB / 333.1 MB, free: 14.29 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.0007997/0.1614, allocations: 0.7515 MB / 333.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.1617, allocations: 71.88 kB / 333.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1617, allocations: 0 / 333.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1618, allocations: 43.91 kB / 334 MB, free: 13.39 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1622, allocations: 11.94 kB / 334 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.1643, allocations: 1.476 MB / 335.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.1647, allocations: 0.6924 MB / 336.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.499e-05/0.1648, allocations: 7.984 kB / 336.2 MB, free: 11.1 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.1649, allocations: 23.44 kB / 336.2 MB, free: 11.08 MB / 286.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1649, allocations: 0 / 336.2 MB, free: 11.08 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.1996, allocations: 1.915 MB / 338.1 MB, free: 9.109 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/7.993, allocations: 7.797 kB / 338.1 MB, free: 9.102 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches