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.001308/0.001308, allocations: 110.6 kB / 17.33 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 209.8 kB / 18.27 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 65.83 kB / 306.6 MB, free: 0.8477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08721/0.08863, allocations: 50.52 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002807/0.09147, allocations: 1.653 MB / 358.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009987/0.09251, allocations: 0.5611 MB / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.09259, allocations: 0 / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.301e-05/0.09264, allocations: 3.938 kB / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.894e-05/0.09276, allocations: 11.94 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.09302, allocations: 39.89 kB / 359.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.316e-05/0.09312, allocations: 51.8 kB / 359.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.09323, allocations: 27.95 kB / 359.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.09328, allocations: 19.88 kB / 359.4 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.848e-05/0.09335, allocations: 35.84 kB / 359.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.09338, allocations: 4 kB / 359.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.09361, allocations: 51.95 kB / 359.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.09365, allocations: 11.98 kB / 359.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.0937, allocations: 27.81 kB / 359.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.09386, allocations: 75.77 kB / 359.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.09387, allocations: 11.88 kB / 359.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09388, allocations: 0 / 359.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.09389, allocations: 0 / 359.7 MB, free: 11.72 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.0004689/0.09436, allocations: 387.4 kB / 360 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.09442, allocations: 11.97 kB / 360.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.09448, allocations: 42.73 kB / 360.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004489/0.09494, allocations: 44.8 kB / 360.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.09508, allocations: 180.2 kB / 360.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.09512, allocations: 4.375 kB / 360.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.09515, allocations: 8.375 kB / 360.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.09538, allocations: 105.6 kB / 360.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.0954, allocations: 0 / 360.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.09542, allocations: 4 kB / 360.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.09543, allocations: 0 / 360.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.09565, allocations: 71.94 kB / 360.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.09628, allocations: 376.4 kB / 360.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.09648, allocations: 66.55 kB / 360.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.09659, allocations: 32.95 kB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.09662, allocations: 4 kB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.09664, allocations: 34.56 kB / 361 MB, free: 10.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/0.09665, allocations: 3.938 kB / 361 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004203/0.09707, allocations: 121.6 kB / 361.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.09712, allocations: 51.41 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.09723, allocations: 126.1 kB / 361.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.09726, allocations: 25.7 kB / 361.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.09732, allocations: 100.1 kB / 361.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.09735, allocations: 19.73 kB / 361.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.0974, allocations: 17.72 kB / 361.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.09753, allocations: 322.8 kB / 361.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.09763, allocations: 23.98 kB / 361.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.846e-05/0.09773, allocations: 31.97 kB / 361.8 MB, free: 9.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.09791, allocations: 69.12 kB / 361.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.09792, allocations: 0 / 361.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002236/0.09815, allocations: 89.56 kB / 362 MB, free: 9.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.09818, allocations: 6.812 kB / 362 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.09819, allocations: 8 kB / 362 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.09821, allocations: 3.938 kB / 362 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.09836, allocations: 19.98 kB / 362 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.09838, allocations: 0 / 362 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.507e-05/0.09847, allocations: 11.98 kB / 362 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.09849, allocations: 0 / 362 MB, free: 9.113 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 8.973e-05/0.09858, allocations: 125.7 kB / 362.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.09862, allocations: 7.906 kB / 362.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.09893, allocations: 113.5 kB / 362.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.09894, allocations: 0 / 362.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.09895, allocations: 0 / 362.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.09896, allocations: 3.938 kB / 362.3 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.09923, allocations: 197.6 kB / 362.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.09924, allocations: 0 / 362.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.09936, allocations: 15.98 kB / 362.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.09937, allocations: 8 kB / 362.5 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.09939, allocations: 7.938 kB / 362.5 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.0994, allocations: 0 / 362.5 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.0994, allocations: 0 / 362.5 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.0997, allocations: 199.5 kB / 362.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.09976, allocations: 81.05 kB / 362.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.09979, allocations: 11.94 kB / 362.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.0999, allocations: 11.98 kB / 362.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.09993, allocations: 0 / 362.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.09995, allocations: 7.984 kB / 362.8 MB, free: 8.238 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.59e-05/0.1, allocations: 102.8 kB / 362.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1, allocations: 0 / 362.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1003, allocations: 11.91 kB / 362.9 MB, free: 8.129 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.0006726/0.101, allocations: 0.7631 MB / 363.7 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002591/0.1012, allocations: 75.86 kB / 363.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1012, allocations: 4 kB / 363.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.918e-05/0.1013, allocations: 31.92 kB / 363.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.1017, allocations: 15.98 kB / 363.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.1035, allocations: 1.488 MB / 365.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1038, allocations: 0.6924 MB / 366 MB, free: 4.926 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.106e-05/0.1038, allocations: 8 kB / 366 MB, free: 4.918 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.1039, allocations: 27.42 kB / 366 MB, free: 4.895 MB / 302.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1039, allocations: 0 / 366 MB, free: 4.895 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5178/0.6218, allocations: 1.765 MB / 367.8 MB, free: 3.227 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.622, allocations: 194.4 kB / 368 MB, free: 2.965 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.521, allocations: 3.5 kB / 368 MB, free: 2.965 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