Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 214.1 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 51.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2679, allocations: 53.36 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002724/0.2706, allocations: 1.469 MB / 432.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2717, allocations: 0.5806 MB / 433.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.2718, allocations: 0 / 433.1 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.263e-05/0.2719, allocations: 15.88 kB / 433.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.88e-05/0.2719, allocations: 23.73 kB / 433.2 MB, free: 4.523 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.000554/0.2725, allocations: 151.5 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.2727, allocations: 111.7 kB / 433.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.2727, allocations: 9.297 kB / 433.4 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.16e-05/0.2728, allocations: 47.84 kB / 433.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005741/0.2733, allocations: 69.06 kB / 433.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.2734, allocations: 8 kB / 433.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.2737, allocations: 151.7 kB / 433.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.2737, allocations: 39.84 kB / 433.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.2738, allocations: 39.8 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.2741, allocations: 197.1 kB / 434 MB, free: 3.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2741, allocations: 0 / 434 MB, free: 3.719 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2741, allocations: 3.938 kB / 434 MB, free: 3.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.2741, allocations: 0 / 434 MB, free: 3.715 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.0006723/0.2748, allocations: 385.4 kB / 434.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2748, allocations: 8.031 kB / 434.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.2749, allocations: 42.73 kB / 434.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.2752, allocations: 40.81 kB / 434.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.2754, allocations: 139.1 kB / 434.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.2754, allocations: 4.375 kB / 434.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.2754, allocations: 12.31 kB / 434.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.2757, allocations: 134.2 kB / 434.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2757, allocations: 0 / 434.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2757, allocations: 7.969 kB / 434.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2757, allocations: 4 kB / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.2758, allocations: 55.97 kB / 434.8 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.2765, allocations: 407.8 kB / 435.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.2768, allocations: 121.2 kB / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.2769, allocations: 45.77 kB / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.2769, allocations: 0 / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002789/0.2772, allocations: 149 kB / 435.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.2772, allocations: 0 / 435.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005589/0.2778, allocations: 241.5 kB / 435.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.2778, allocations: 93.09 kB / 435.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.278, allocations: 170.3 kB / 436 MB, free: 1.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.2781, allocations: 49.69 kB / 436 MB, free: 1.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.2781, allocations: 104.6 kB / 436.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.2782, allocations: 51.61 kB / 436.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.106e-05/0.2783, allocations: 65.86 kB / 436.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2784, allocations: 326.8 kB / 436.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.2786, allocations: 100.5 kB / 436.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.2788, allocations: 128.4 kB / 436.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.2792, allocations: 203.5 kB / 437 MB, free: 460 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2792, allocations: 0 / 437 MB, free: 460 kB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005319/0.2797, allocations: 301.3 kB / 437.3 MB, free: 152 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2797, allocations: 11.94 kB / 437.3 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2797, allocations: 0 / 437.3 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2797, allocations: 0 / 437.3 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.2799, allocations: 27.98 kB / 437.3 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2799, allocations: 4 kB / 437.3 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.28, allocations: 19.81 kB / 437.4 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.28, allocations: 12.06 kB / 437.4 MB, free: 76 kB / 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.0001511/0.2801, allocations: 145.8 kB / 437.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.2802, allocations: 15.91 kB / 437.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.2802, allocations: 13.41 kB / 437.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2802, allocations: 4 kB / 437.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2802, allocations: 96 / 437.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2802, allocations: 11.91 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.2804, allocations: 168.7 kB / 437.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2804, allocations: 0 / 437.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.2804, allocations: 15.94 kB / 437.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2804, allocations: 0 / 437.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2805, allocations: 3.984 kB / 437.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2805, allocations: 3.938 kB / 437.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2805, allocations: 4 kB / 437.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.2808, allocations: 221.7 kB / 438 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.2809, allocations: 11.91 kB / 438 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.2809, allocations: 16 kB / 438 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.799e-05/0.281, allocations: 7.984 kB / 438 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.281, allocations: 15.92 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.281, allocations: 4 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.2811, allocations: 128.2 kB / 438.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2811, allocations: 7.938 kB / 438.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.2814, allocations: 43.92 kB / 438.2 MB, free: 15.17 MB / 350.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.001123/0.2825, allocations: 0.9161 MB / 439.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.2829, allocations: 187.8 kB / 439.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2829, allocations: 0 / 439.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.283, allocations: 56.09 kB / 439.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.2832, allocations: 7.938 kB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.2857, allocations: 2.092 MB / 441.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.35e-05/0.2858, allocations: 106.3 kB / 441.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.05e-05/0.2858, allocations: 12.97 kB / 441.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.1e-05/0.2859, allocations: 39.42 kB / 441.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2859, allocations: 0 / 441.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03118/0.3171, allocations: 4.285 MB / 445.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.82, allocations: 7.25 kB / 445.9 MB, free: 7.508 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.193950692017097]