Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, allocations: 121.7 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3032, allocations: 50.54 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002826/0.3061, allocations: 1.492 MB / 410.2 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3073, allocations: 0.5637 MB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.3074, allocations: 8 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.3075, allocations: 11.88 kB / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.267e-05/0.3076, allocations: 11.81 kB / 410.8 MB, free: 15.43 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0006312/0.3083, allocations: 143.6 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.3084, allocations: 111.7 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.255e-05/0.3085, allocations: 17.11 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.465e-05/0.3086, allocations: 43.83 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.3092, allocations: 81.86 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.3092, allocations: 11.94 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.3094, allocations: 107.9 kB / 411.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.3095, allocations: 39.78 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.3096, allocations: 59.66 kB / 411.4 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.31, allocations: 189.2 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.31, allocations: 0 / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.31, allocations: 0 / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.31, allocations: 4 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007824/0.3108, allocations: 458.8 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.3109, allocations: 12.03 kB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.131e-05/0.3109, allocations: 42.64 kB / 412.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/0.3113, allocations: 36.81 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.3115, allocations: 200 kB / 412.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.3115, allocations: 8.375 kB / 412.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.3115, allocations: 4.375 kB / 412.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.3118, allocations: 115.3 kB / 412.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3118, allocations: 4 kB / 412.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.3118, allocations: 4 kB / 412.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3118, allocations: 0 / 412.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.312, allocations: 59.89 kB / 412.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006998/0.3127, allocations: 464.7 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.313, allocations: 125.2 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3131, allocations: 53.77 kB / 413.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3131, allocations: 7.984 kB / 413.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.3134, allocations: 141 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.3134, allocations: 0 / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004899/0.3139, allocations: 233.4 kB / 413.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.314, allocations: 97.09 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.3141, allocations: 170.3 kB / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.3142, allocations: 49.69 kB / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.3143, allocations: 104.5 kB / 414 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.3143, allocations: 47.44 kB / 414 MB, free: 12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.3144, allocations: 57.92 kB / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3145, allocations: 330.8 kB / 414.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3147, allocations: 100.5 kB / 414.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.3149, allocations: 128.4 kB / 414.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.3152, allocations: 214.8 kB / 414.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3153, allocations: 0 / 414.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004378/0.3157, allocations: 289.3 kB / 415.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3157, allocations: 8 kB / 415.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3157, allocations: 0 / 415.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3158, allocations: 0 / 415.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3159, allocations: 39.86 kB / 415.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3159, allocations: 4 kB / 415.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.316, allocations: 19.83 kB / 415.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.316, allocations: 12.06 kB / 415.2 MB, free: 10.78 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001339/0.3162, allocations: 149.6 kB / 415.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.3162, allocations: 15.81 kB / 415.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.3162, allocations: 17.41 kB / 415.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3163, allocations: 0 / 415.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3163, allocations: 0 / 415.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3163, allocations: 7.922 kB / 415.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.3165, allocations: 209.5 kB / 415.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3165, allocations: 4 kB / 415.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.3165, allocations: 11.94 kB / 415.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3165, allocations: 3.984 kB / 415.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3166, allocations: 0 / 415.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3166, allocations: 0 / 415.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.3166, allocations: 4 kB / 415.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.3169, allocations: 225.5 kB / 415.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.317, allocations: 85.02 kB / 415.9 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.317, allocations: 15.98 kB / 415.9 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.3171, allocations: 4 kB / 415.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.3171, allocations: 15.92 kB / 415.9 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.3172, allocations: 4.094 kB / 415.9 MB, free: 9.914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.3173, allocations: 124.2 kB / 416.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3173, allocations: 4 kB / 416.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.3176, allocations: 51.98 kB / 416.1 MB, free: 9.738 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001025/0.3186, allocations: 0.9114 MB / 417 MB, free: 8.824 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.3191, allocations: 192 kB / 417.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3191, allocations: 8.062 kB / 417.2 MB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.3192, allocations: 63.91 kB / 417.3 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.3194, allocations: 11.94 kB / 417.3 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.3216, allocations: 2.105 MB / 419.4 MB, free: 6.359 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.3219, allocations: 0.7157 MB / 420.1 MB, free: 5.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.442e-05/0.322, allocations: 12.88 kB / 420.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.3221, allocations: 39.42 kB / 420.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3221, allocations: 4 kB / 420.2 MB, free: 5.559 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.343, allocations: 3.674 MB / 423.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.078, allocations: 3.375 kB / 423.9 MB, free: 1.957 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches