Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007325/0.0007325, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008547/0.0008548, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001804/0.0001804, allocations: 4 kB / 307.8 MB, free: 0.707 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07666/0.07686, allocations: 51.53 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.00145/0.07834, allocations: 1.31 MB / 360.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008137/0.07917, allocations: 0.5573 MB / 361.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.07922, allocations: 8 kB / 361.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.07925, allocations: 7.922 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.495e-05/0.07932, allocations: 3.938 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.0795, allocations: 43.89 kB / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.681e-05/0.07958, allocations: 47.8 kB / 361.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.07968, allocations: 31.95 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.07972, allocations: 15.88 kB / 361.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.487e-05/0.07978, allocations: 23.86 kB / 361.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.07979, allocations: 0 / 361.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.07999, allocations: 47.94 kB / 361.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.08001, allocations: 8 kB / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.08005, allocations: 53.44 kB / 361.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.08018, allocations: 79.77 kB / 361.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.08019, allocations: 0 / 361.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.0802, allocations: 0 / 361.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.08021, allocations: 3.938 kB / 361.6 MB, free: 10.93 MB / 302.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.0003509/0.08057, allocations: 371.5 kB / 362 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.08061, allocations: 12.03 kB / 362 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.698e-05/0.08068, allocations: 38.66 kB / 362 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/0.08108, allocations: 60.78 kB / 362.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.08119, allocations: 172.2 kB / 362.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.08122, allocations: 8.375 kB / 362.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.08124, allocations: 4.375 kB / 362.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.08146, allocations: 109.7 kB / 362.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.08148, allocations: 0 / 362.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.0815, allocations: 4 kB / 362.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.08151, allocations: 4 kB / 362.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.08174, allocations: 83.95 kB / 362.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.08227, allocations: 372.4 kB / 362.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.08248, allocations: 82.53 kB / 362.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.08259, allocations: 48.89 kB / 362.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.08261, allocations: 0 / 362.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.08263, allocations: 34.5 kB / 363 MB, free: 9.383 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.08264, allocations: 4 kB / 363 MB, free: 9.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003992/0.08304, allocations: 149.6 kB / 363.1 MB, free: 9.227 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.08308, allocations: 51.41 kB / 363.2 MB, free: 9.164 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.08317, allocations: 118.1 kB / 363.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.08319, allocations: 25.7 kB / 363.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.08323, allocations: 100 kB / 363.4 MB, free: 8.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.08326, allocations: 19.73 kB / 363.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.08328, allocations: 9.719 kB / 363.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.713e-05/0.08337, allocations: 318.8 kB / 363.8 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.08348, allocations: 35.97 kB / 363.8 MB, free: 8.512 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.102e-05/0.08358, allocations: 35.92 kB / 363.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.08377, allocations: 76.75 kB / 363.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.08378, allocations: 4 kB / 363.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002363/0.08402, allocations: 105.6 kB / 364 MB, free: 8.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.08404, allocations: 4 kB / 364 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.08405, allocations: 0 / 364 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.08407, allocations: 3.938 kB / 364 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.0842, allocations: 23.97 kB / 364 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.08421, allocations: 4 kB / 364 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.866e-05/0.08429, allocations: 15.98 kB / 364.1 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.08431, allocations: 4 kB / 364.1 MB, free: 8.23 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 7.052e-05/0.08438, allocations: 117.7 kB / 364.2 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.08441, allocations: 7.906 kB / 364.2 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.08471, allocations: 133.5 kB / 364.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.08472, allocations: 0 / 364.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.08473, allocations: 0.5 kB / 364.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.08474, allocations: 0 / 364.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.08492, allocations: 197.6 kB / 364.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.08493, allocations: 4 kB / 364.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.08503, allocations: 19.98 kB / 364.5 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.08505, allocations: 4 kB / 364.5 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.08506, allocations: 7.938 kB / 364.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.08507, allocations: 0 / 364.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.08508, allocations: 7.922 kB / 364.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.08535, allocations: 203.4 kB / 364.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.0854, allocations: 88.95 kB / 364.8 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.08542, allocations: 7.922 kB / 364.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.08553, allocations: 8 kB / 364.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.08556, allocations: 11.98 kB / 364.9 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.08557, allocations: 3.938 kB / 364.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.973e-05/0.08563, allocations: 103.3 kB / 365 MB, free: 7.223 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08563, allocations: 0 / 365 MB, free: 7.223 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.08585, allocations: 8 kB / 365 MB, free: 7.215 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.0005958/0.08645, allocations: 0.7826 MB / 365.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.08669, allocations: 83.92 kB / 365.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.0867, allocations: 0 / 365.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.08681, allocations: 43.86 kB / 365.9 MB, free: 6.281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.08705, allocations: 15.86 kB / 365.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.08856, allocations: 1.529 MB / 367.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.08878, allocations: 0.6926 MB / 368.1 MB, free: 3.934 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.693e-05/0.08883, allocations: 11.98 kB / 368.1 MB, free: 3.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.08889, allocations: 23.42 kB / 368.2 MB, free: 3.902 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.08889, allocations: 0 / 368.2 MB, free: 3.902 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01061/0.09951, allocations: 1.648 MB / 369.8 MB, free: 2.359 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.09968, allocations: 189 kB / 370 MB, free: 2.102 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/1.721, allocations: 3.938 kB / 370 MB, free: 2.098 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Noise.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches