Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",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.001421/0.001421, allocations: 101.6 kB / 17.72 MB, free: 5.359 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.001536/0.001536, allocations: 188.1 kB / 18.66 MB, free: 4.434 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.483/1.483, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001329/0.00133, allocations: 52.25 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1034, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003059/0.1065, allocations: 1.475 MB / 376.1 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1078, allocations: 0.5585 MB / 376.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.173e-05/0.1079, allocations: 0 / 376.7 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.108, allocations: 11.86 kB / 376.7 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.898e-05/0.1081, allocations: 15.81 kB / 376.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006687/0.1088, allocations: 155.5 kB / 376.9 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.109, allocations: 119.6 kB / 377 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.948e-05/0.109, allocations: 12.88 kB / 377 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.121e-05/0.1091, allocations: 51.83 kB / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.1092, allocations: 51.75 kB / 377.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.1092, allocations: 16 kB / 377.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.1095, allocations: 123.8 kB / 377.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.1096, allocations: 35.89 kB / 377.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/0.1097, allocations: 55.67 kB / 377.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.11, allocations: 219.5 kB / 377.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1101, allocations: 3.938 kB / 377.5 MB, free: 2.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1101, allocations: 0 / 377.5 MB, free: 2.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1101, allocations: 0 / 377.5 MB, free: 2.191 MB / 318.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.0007266/0.1108, allocations: 454.8 kB / 378 MB, free: 1.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1108, allocations: 12.03 kB / 378 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.993e-05/0.1109, allocations: 42.73 kB / 378 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003172/0.1112, allocations: 32.73 kB / 378.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1115, allocations: 204 kB / 378.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.1115, allocations: 8.312 kB / 378.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.1115, allocations: 8.375 kB / 378.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.1118, allocations: 119.9 kB / 378.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1118, allocations: 3.938 kB / 378.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1118, allocations: 0 / 378.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1118, allocations: 0 / 378.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.112, allocations: 63.89 kB / 378.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000696/0.1127, allocations: 456.8 kB / 378.9 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.113, allocations: 121.2 kB / 379 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1131, allocations: 57.77 kB / 379.1 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.1132, allocations: 4 kB / 379.1 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003149/0.1135, allocations: 145 kB / 379.2 MB, free: 296 kB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.1135, allocations: 0 / 379.2 MB, free: 296 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005154/0.114, allocations: 234 kB / 379.5 MB, free: 56 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1895/0.3035, allocations: 88 kB / 379.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.3038, allocations: 179.2 kB / 379.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.3039, allocations: 43.62 kB / 379.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.3039, allocations: 111.2 kB / 379.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.304, allocations: 39.98 kB / 379.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3041, allocations: 53.12 kB / 380 MB, free: 12.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.3042, allocations: 332.9 kB / 380.3 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.3044, allocations: 98.73 kB / 380.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.3047, allocations: 128.8 kB / 380.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.305, allocations: 218.3 kB / 380.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.305, allocations: 1.375 kB / 380.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006009/0.3056, allocations: 293 kB / 381 MB, free: 12.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.3057, allocations: 6.766 kB / 381 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.3057, allocations: 5.125 kB / 381 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.3057, allocations: 1.375 kB / 381 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.3059, allocations: 34.11 kB / 381.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3059, allocations: 3.453 kB / 381.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.76e-05/0.3061, allocations: 29.16 kB / 381.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.3061, allocations: 6.203 kB / 381.1 MB, free: 12.31 MB / 318.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.0001633/0.3063, allocations: 147.4 kB / 381.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.3063, allocations: 25.41 kB / 381.3 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.3063, allocations: 14.56 kB / 381.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3064, allocations: 1.375 kB / 381.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/0.3064, allocations: 0.875 kB / 381.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3064, allocations: 5.625 kB / 381.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.3066, allocations: 204.3 kB / 381.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3067, allocations: 0 / 381.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.3067, allocations: 9.359 kB / 381.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3067, allocations: 5.312 kB / 381.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3067, allocations: 5.828 kB / 381.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3068, allocations: 0.75 kB / 381.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3068, allocations: 1.375 kB / 381.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.3072, allocations: 225.3 kB / 381.7 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.3073, allocations: 90.52 kB / 381.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.3073, allocations: 16 kB / 381.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.428e-05/0.3074, allocations: 5.375 kB / 381.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.3075, allocations: 16.7 kB / 381.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3075, allocations: 3.891 kB / 381.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.3076, allocations: 130.5 kB / 382 MB, free: 11.72 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3076, allocations: 0 / 382 MB, free: 11.72 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.3081, allocations: 55.05 kB / 382 MB, free: 11.72 MB / 318.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.001323/0.3094, allocations: 0.9514 MB / 383 MB, free: 11.06 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004984/0.3099, allocations: 190.5 kB / 383.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3099, allocations: 5.75 kB / 383.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.3101, allocations: 64.09 kB / 383.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.3103, allocations: 3.547 kB / 383.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.3127, allocations: 2.115 MB / 385.4 MB, free: 9.566 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.3129, allocations: 0.7094 MB / 386.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.313, allocations: 17.28 kB / 386.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.313, allocations: 42.12 kB / 386.1 MB, free: 8.84 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.313, allocations: 0 / 386.1 MB, free: 8.84 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.3365, allocations: 3.862 MB / 390 MB, free: 8.082 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.337, allocations: 12.77 kB / 390 MB, free: 8.07 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches