Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001886/0.001886, 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.002151/0.002151, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.UniformNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 43.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2984, allocations: 53.37 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003403/0.3018, allocations: 1.809 MB / 432.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.3039, allocations: 0.9899 MB / 433.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.506e-05/0.304, allocations: 0 / 433.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.3041, allocations: 19.73 kB / 433.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.3043, allocations: 35.66 kB / 433.9 MB, free: 3.758 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.0006205/0.3049, allocations: 191.5 kB / 434.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.3052, allocations: 223.5 kB / 434.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.3054, allocations: 56.34 kB / 434.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.3055, allocations: 103.6 kB / 434.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.3061, allocations: 126.1 kB / 434.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.3061, allocations: 24 kB / 434.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.3064, allocations: 159.8 kB / 434.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.935e-05/0.3065, allocations: 55.78 kB / 434.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.3066, allocations: 83.56 kB / 434.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.3071, allocations: 296.7 kB / 435.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3071, allocations: 0 / 435.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3071, allocations: 4 kB / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.3071, allocations: 0 / 435.2 MB, free: 2.465 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001212/0.3083, allocations: 498.1 kB / 435.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3083, allocations: 12.03 kB / 435.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.3084, allocations: 58.67 kB / 435.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.3086, allocations: 40.78 kB / 435.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.3089, allocations: 182.2 kB / 436 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.309, allocations: 12.38 kB / 436 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.309, allocations: 35.88 kB / 436.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.3095, allocations: 198.3 kB / 436.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3095, allocations: 0 / 436.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.3096, allocations: 7.984 kB / 436.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3096, allocations: 4 kB / 436.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005001/0.3101, allocations: 157.1 kB / 436.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.3111, allocations: 0.5115 MB / 436.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.3122, allocations: 294.7 kB / 437.2 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.3125, allocations: 104.8 kB / 437.3 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.3125, allocations: 0 / 437.3 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004175/0.3129, allocations: 169.3 kB / 437.5 MB, free: 80 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.664e-06/0.3129, allocations: 0 / 437.5 MB, free: 80 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001067/0.314, allocations: 353.3 kB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.3141, allocations: 59.41 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.3143, allocations: 230.7 kB / 438.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.3144, allocations: 41.64 kB / 438.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3145, allocations: 136.6 kB / 438.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.487e-05/0.3145, allocations: 71.39 kB / 438.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.3147, allocations: 69.67 kB / 438.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3148, allocations: 334.8 kB / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.3152, allocations: 143.8 kB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.3155, allocations: 154.2 kB / 439 MB, free: 14.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006522/0.3162, allocations: 267.3 kB / 439.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3162, allocations: 4 kB / 439.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008451/0.317, allocations: 382.5 kB / 439.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.3171, allocations: 14.53 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3171, allocations: 0 / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3171, allocations: 0 / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.3174, allocations: 71.89 kB / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3174, allocations: 0 / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.3176, allocations: 43.81 kB / 439.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.3176, allocations: 12 kB / 439.8 MB, free: 13.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001555/0.3178, allocations: 149.6 kB / 440 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.3178, allocations: 23.86 kB / 440 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.482e-05/0.3179, allocations: 25.95 kB / 440 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3179, allocations: 0 / 440 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3179, allocations: 0 / 440 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3179, allocations: 0 / 440 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.3191, allocations: 0.5821 MB / 440.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3191, allocations: 0 / 440.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.3193, allocations: 39.95 kB / 440.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.3193, allocations: 3.984 kB / 440.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.3193, allocations: 8 kB / 440.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3193, allocations: 7.938 kB / 440.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3193, allocations: 0 / 440.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.3204, allocations: 487 kB / 441.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.3204, allocations: 27.73 kB / 441.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.3205, allocations: 12.05 kB / 441.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.3207, allocations: 23.97 kB / 441.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.3207, allocations: 7.984 kB / 441.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.3208, allocations: 7.984 kB / 441.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.3209, allocations: 156.7 kB / 441.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3209, allocations: 0 / 441.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.3213, allocations: 67.92 kB / 441.4 MB, free: 11.99 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001796/0.3231, allocations: 1.119 MB / 442.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007753/0.3238, allocations: 272.2 kB / 442.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3239, allocations: 0 / 442.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.3242, allocations: 103.9 kB / 442.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.3245, allocations: 38.41 kB / 443 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004363/0.3289, allocations: 2.803 MB / 445.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.329, allocations: 133.2 kB / 445.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.3291, allocations: 29.94 kB / 445.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.3293, allocations: 67.41 kB / 446 MB, free: 7.352 MB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3293, allocations: 3.938 kB / 446 MB, free: 7.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.3653, allocations: 6.059 MB / 452 MB, free: 1.441 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.95, allocations: 7.938 kB / 452.1 MB, free: 1.434 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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: 14.539649064012337]