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.001278/0.001278, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001248/0.001248, allocations: 184.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.421/1.421, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001669/0.001669, allocations: 55.91 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.0991, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002672/0.1018, allocations: 1.476 MB / 376.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1031, allocations: 0.5585 MB / 376.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.1031, allocations: 0 / 376.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.1033, allocations: 11.86 kB / 376.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.865e-05/0.1034, allocations: 15.81 kB / 376.7 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.104, allocations: 151.5 kB / 376.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1042, allocations: 127.6 kB / 377 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.959e-05/0.1043, allocations: 8.875 kB / 377 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.1043, allocations: 51.83 kB / 377 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.1044, allocations: 51.75 kB / 377.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.1045, allocations: 16 kB / 377.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.1048, allocations: 123.8 kB / 377.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.1048, allocations: 35.83 kB / 377.3 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.949e-05/0.1049, allocations: 59.67 kB / 377.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.1053, allocations: 215.1 kB / 377.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1054, allocations: 0 / 377.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1054, allocations: 0 / 377.5 MB, free: 2.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1054, allocations: 0 / 377.5 MB, free: 2.188 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.0008289/0.1062, allocations: 462.5 kB / 378 MB, free: 1.684 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.1063, allocations: 12.03 kB / 378 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.1064, allocations: 42.73 kB / 378 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004083/0.1068, allocations: 36.81 kB / 378.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.1071, allocations: 192.2 kB / 378.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.1071, allocations: 8.359 kB / 378.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.1071, allocations: 12.36 kB / 378.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.1074, allocations: 115.9 kB / 378.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1074, allocations: 7.938 kB / 378.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1074, allocations: 0 / 378.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1074, allocations: 0 / 378.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.1076, allocations: 59.95 kB / 378.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007764/0.1084, allocations: 460.7 kB / 378.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.1087, allocations: 133.2 kB / 379 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.1089, allocations: 53.77 kB / 379.1 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.1089, allocations: 4 kB / 379.1 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.1092, allocations: 141 kB / 379.2 MB, free: 284 kB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.1092, allocations: 0 / 379.2 MB, free: 284 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005553/0.1098, allocations: 237.5 kB / 379.5 MB, free: 40 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1851/0.2949, allocations: 87.05 kB / 379.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.2952, allocations: 176 kB / 379.7 MB, free: 12.81 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.445e-05/0.2953, allocations: 45.38 kB / 379.8 MB, free: 12.78 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.2954, allocations: 110.8 kB / 379.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.2954, allocations: 43.06 kB / 379.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.2955, allocations: 58.58 kB / 380 MB, free: 12.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.035e-05/0.2956, allocations: 332.5 kB / 380.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.2958, allocations: 97.94 kB / 380.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.296, allocations: 133 kB / 380.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.2964, allocations: 216.8 kB / 380.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.2964, allocations: 1.203 kB / 380.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005226/0.2969, allocations: 293.2 kB / 381 MB, free: 12.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.2969, allocations: 6.344 kB / 381 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.297, allocations: 1.375 kB / 381 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.297, allocations: 1.375 kB / 381 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.2972, allocations: 36.81 kB / 381.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.2972, allocations: 2.719 kB / 381.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.409e-05/0.2972, allocations: 26.88 kB / 381.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.2973, allocations: 7.922 kB / 381.1 MB, free: 12.27 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.0001357/0.2974, allocations: 146.2 kB / 381.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.2975, allocations: 18.23 kB / 381.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.2975, allocations: 16.7 kB / 381.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2975, allocations: 1.375 kB / 381.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.2975, allocations: 5.719 kB / 381.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2975, allocations: 0.8906 kB / 381.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.2977, allocations: 214 kB / 381.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2977, allocations: 0 / 381.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.2978, allocations: 11.67 kB / 381.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2978, allocations: 3.938 kB / 381.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.2978, allocations: 6.922 kB / 381.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2978, allocations: 0 / 381.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2978, allocations: 1.375 kB / 381.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.2982, allocations: 218.1 kB / 381.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.2982, allocations: 92.69 kB / 381.8 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.2983, allocations: 15.47 kB / 381.8 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.2984, allocations: 8.578 kB / 381.8 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.2984, allocations: 15.3 kB / 381.9 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2985, allocations: 3.641 kB / 381.9 MB, free: 11.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.2986, allocations: 128.2 kB / 382 MB, free: 11.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2986, allocations: 0 / 382 MB, free: 11.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003537/0.2989, allocations: 58.94 kB / 382.1 MB, free: 11.68 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.001317/0.3003, allocations: 0.9497 MB / 383 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004774/0.3008, allocations: 192.9 kB / 383.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3008, allocations: 3.438 kB / 383.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3009, allocations: 57.27 kB / 383.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.3011, allocations: 11.89 kB / 383.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.3034, allocations: 2.119 MB / 385.4 MB, free: 9.527 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.3036, allocations: 0.7096 MB / 386.1 MB, free: 8.832 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.304e-05/0.3037, allocations: 19.27 kB / 386.1 MB, free: 8.828 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/0.3037, allocations: 41.95 kB / 386.1 MB, free: 8.801 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3038, allocations: 0 / 386.1 MB, free: 8.801 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.3299, allocations: 3.799 MB / 389.9 MB, free: 8.062 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.365, allocations: 8.859 kB / 390 MB, free: 8.055 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