Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001574/0.001574, allocations: 116.4 kB / 20.43 MB, free: 1.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002001/0.002001, allocations: 206.9 kB / 23.74 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 67.89 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3413, allocations: 53.41 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003251/0.3446, allocations: 1.883 MB / 433.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.3465, allocations: 1.048 MB / 434.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.097e-05/0.3466, allocations: 0 / 434.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.3467, allocations: 27.73 kB / 434.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.3469, allocations: 35.66 kB / 434.2 MB, free: 3.656 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0006172/0.3475, allocations: 187.5 kB / 434.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.3478, allocations: 223.5 kB / 434.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.348, allocations: 56.53 kB / 434.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.3481, allocations: 99.64 kB / 434.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006181/0.3488, allocations: 126.2 kB / 434.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.304e-05/0.3488, allocations: 24 kB / 434.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.3491, allocations: 155.8 kB / 435 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.834e-05/0.3492, allocations: 63.77 kB / 435.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.3493, allocations: 95.45 kB / 435.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.3498, allocations: 291.3 kB / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3498, allocations: 0 / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3498, allocations: 0 / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.3498, allocations: 0 / 435.5 MB, free: 2.367 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.001223/0.351, allocations: 0.4982 MB / 436 MB, free: 1.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3511, allocations: 8.031 kB / 436 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.415e-05/0.3512, allocations: 54.69 kB / 436 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.3514, allocations: 36.78 kB / 436.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.3517, allocations: 182.2 kB / 436.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.3517, allocations: 16.38 kB / 436.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.3518, allocations: 24.33 kB / 436.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.3523, allocations: 211.3 kB / 436.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3523, allocations: 3.938 kB / 436.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.3523, allocations: 8 kB / 436.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3523, allocations: 4 kB / 436.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.3528, allocations: 164.2 kB / 436.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.3539, allocations: 0.5544 MB / 437.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.3549, allocations: 290.7 kB / 437.5 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.3553, allocations: 104.8 kB / 437.6 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3553, allocations: 12 kB / 437.6 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004708/0.3558, allocations: 162.9 kB / 437.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.014e-06/0.3558, allocations: 4 kB / 437.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001027/0.3568, allocations: 349.3 kB / 438.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.3569, allocations: 59.41 kB / 438.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.3571, allocations: 222.7 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.3572, allocations: 49.69 kB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3573, allocations: 132.5 kB / 438.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.3573, allocations: 71.44 kB / 438.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3574, allocations: 69.64 kB / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3576, allocations: 330.8 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.3579, allocations: 135.9 kB / 439.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.3583, allocations: 165.5 kB / 439.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.359, allocations: 271.2 kB / 439.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.359, allocations: 0 / 439.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008613/0.3598, allocations: 382.6 kB / 440 MB, free: 13.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3599, allocations: 4 kB / 440 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3599, allocations: 4 kB / 440 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3599, allocations: 3.938 kB / 440 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.3602, allocations: 67.88 kB / 440.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3602, allocations: 4 kB / 440.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.3604, allocations: 43.81 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.3604, allocations: 12 kB / 440.1 MB, free: 13.52 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.0001675/0.3606, allocations: 149.6 kB / 440.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.3606, allocations: 19.86 kB / 440.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.3607, allocations: 17.97 kB / 440.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.3607, allocations: 11.97 kB / 440.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3607, allocations: 0 / 440.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3607, allocations: 0 / 440.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.3619, allocations: 0.5986 MB / 440.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3619, allocations: 0 / 440.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.3621, allocations: 47.95 kB / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3621, allocations: 0 / 441 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.3621, allocations: 15.92 kB / 441 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3621, allocations: 0 / 441 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3621, allocations: 0 / 441 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.3632, allocations: 489.2 kB / 441.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.3633, allocations: 19.8 kB / 441.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.3633, allocations: 12.12 kB / 441.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3635, allocations: 27.97 kB / 441.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.3636, allocations: 19.97 kB / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.3636, allocations: 4 kB / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.3637, allocations: 160.7 kB / 441.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3637, allocations: 0 / 441.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003521/0.3641, allocations: 59.94 kB / 441.8 MB, free: 11.82 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.001674/0.3658, allocations: 1.103 MB / 442.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007483/0.3665, allocations: 272.3 kB / 443.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3665, allocations: 0 / 443.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.3668, allocations: 111.8 kB / 443.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.3672, allocations: 34.64 kB / 443.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.3715, allocations: 2.799 MB / 446.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.3718, allocations: 0.7359 MB / 446.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.3719, allocations: 37.88 kB / 446.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.3721, allocations: 67.41 kB / 446.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3721, allocations: 0 / 446.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03771/0.4098, allocations: 5.55 MB / 452.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.86, allocations: 7.594 kB / 452.5 MB, free: 1.113 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 15.54408779507503]