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.001374/0.001374, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001336/0.001336, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.4/1.4, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.00161/0.00161, allocations: 51.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.09921, allocations: 53.33 MB / 426.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003773/0.103, allocations: 1.873 MB / 428.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1052, allocations: 1.025 MB / 429.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.1054, allocations: 4 kB / 429.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.1055, allocations: 23.67 kB / 429.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.1058, allocations: 31.72 kB / 429.3 MB, free: 1.785 MB / 350.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.0007215/0.1065, allocations: 183.5 kB / 429.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.1069, allocations: 223.4 kB / 429.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.1071, allocations: 52.27 kB / 429.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.1072, allocations: 103.5 kB / 429.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006136/0.1079, allocations: 117.9 kB / 430 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.1079, allocations: 24 kB / 430 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.1082, allocations: 131.8 kB / 430.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.131e-05/0.1083, allocations: 59.75 kB / 430.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.1084, allocations: 103.4 kB / 430.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005243/0.109, allocations: 298.8 kB / 430.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.109, allocations: 0 / 430.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.109, allocations: 0 / 430.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.109, allocations: 4 kB / 430.6 MB, free: 0.5117 MB / 350.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.2003/0.3093, allocations: 0.5538 MB / 431.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/0.3094, allocations: 8.938 kB / 431.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.3095, allocations: 56.62 kB / 431.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.3098, allocations: 37.53 kB / 431.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.3101, allocations: 242.7 kB / 431.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.3102, allocations: 20.02 kB / 431.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.3102, allocations: 21.55 kB / 431.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006662/0.3109, allocations: 199.4 kB / 431.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3109, allocations: 4.531 kB / 431.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.3109, allocations: 11.16 kB / 431.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.3109, allocations: 3.438 kB / 431.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006036/0.3115, allocations: 157.9 kB / 431.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.3129, allocations: 0.5836 MB / 432.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.3141, allocations: 295.9 kB / 432.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.3144, allocations: 114.5 kB / 432.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.3145, allocations: 11.59 kB / 432.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004349/0.3149, allocations: 158.6 kB / 433 MB, free: 10.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.815e-06/0.3149, allocations: 0 / 433 MB, free: 10.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001155/0.3161, allocations: 359.1 kB / 433.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.3161, allocations: 56.84 kB / 433.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.3164, allocations: 230 kB / 433.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.3164, allocations: 40.77 kB / 433.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.3165, allocations: 137.3 kB / 433.8 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.3165, allocations: 75.66 kB / 433.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.3167, allocations: 64.78 kB / 434 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3168, allocations: 335 kB / 434.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.3171, allocations: 134.8 kB / 434.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.3175, allocations: 157 kB / 434.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.3182, allocations: 273.6 kB / 434.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.3182, allocations: 6 kB / 434.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009789/0.3192, allocations: 378.9 kB / 435.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3192, allocations: 5 kB / 435.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3192, allocations: 5.922 kB / 435.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.3193, allocations: 2.062 kB / 435.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.3196, allocations: 66.64 kB / 435.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.3196, allocations: 1.906 kB / 435.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.3198, allocations: 42.53 kB / 435.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.3199, allocations: 13.41 kB / 435.3 MB, free: 9.582 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.0001586/0.32, allocations: 142.7 kB / 435.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.3201, allocations: 20.56 kB / 435.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.505e-05/0.3201, allocations: 27.22 kB / 435.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3201, allocations: 5.156 kB / 435.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.3202, allocations: 1.688 kB / 435.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3202, allocations: 0.7969 kB / 435.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.3214, allocations: 0.6276 MB / 436.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3214, allocations: 1.312 kB / 436.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.3217, allocations: 40.39 kB / 436.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3217, allocations: 1.062 kB / 436.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.3217, allocations: 11.66 kB / 436.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3217, allocations: 1.094 kB / 436.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3217, allocations: 0.875 kB / 436.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3229, allocations: 488.7 kB / 436.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.3229, allocations: 100.1 kB / 436.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.323, allocations: 13.09 kB / 436.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.3232, allocations: 23.48 kB / 436.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.3233, allocations: 14.42 kB / 436.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.3233, allocations: 7.547 kB / 436.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.3235, allocations: 154.2 kB / 437 MB, free: 8.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3235, allocations: 0 / 437 MB, free: 8.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000412/0.3239, allocations: 67.47 kB / 437.1 MB, free: 8.539 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.001862/0.3257, allocations: 1.111 MB / 438.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009099/0.3266, allocations: 261.3 kB / 438.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3266, allocations: 0 / 438.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.327, allocations: 112.1 kB / 438.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.3274, allocations: 25.28 kB / 438.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005301/0.3327, allocations: 2.826 MB / 441.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.3331, allocations: 0.7414 MB / 442.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.3333, allocations: 31.8 kB / 442.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.3335, allocations: 71.52 kB / 442.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of SimCode: time 1.783e-06/0.3335, allocations: 0.5625 kB / 442.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.3672, allocations: 5.32 MB / 447.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/8.779, allocations: 1.844 kB / 447.6 MB, free: 4.504 MB / 350.1 MB " [Timeout remaining time 651] (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: 12.280831390060484]