Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 112.9 kB / 19.04 MB, free: 3.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 193.9 kB / 22.22 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 55.91 kB / 368.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3088, allocations: 52.13 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003591/0.3124, allocations: 1.87 MB / 422.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.3144, allocations: 1.001 MB / 423.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.3145, allocations: 7.938 kB / 423.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.3147, allocations: 19.73 kB / 423.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.3149, allocations: 35.72 kB / 423.8 MB, free: 12.16 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0006523/0.3155, allocations: 183.5 kB / 424 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.3159, allocations: 219.5 kB / 424.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.3161, allocations: 48.28 kB / 424.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.3162, allocations: 99.61 kB / 424.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007429/0.317, allocations: 123.5 kB / 424.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.317, allocations: 20 kB / 424.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.3173, allocations: 139.8 kB / 424.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.842e-05/0.3174, allocations: 55.83 kB / 424.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.3175, allocations: 107.4 kB / 424.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.318, allocations: 284.2 kB / 425.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3181, allocations: 4 kB / 425.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3181, allocations: 0 / 425.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3181, allocations: 0 / 425.1 MB, free: 10.9 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.001267/0.3193, allocations: 0.5618 MB / 425.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3194, allocations: 11.97 kB / 425.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.3196, allocations: 36.78 kB / 425.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.3199, allocations: 245.5 kB / 425.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/0.32, allocations: 20.22 kB / 425.9 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.32, allocations: 16 kB / 425.9 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.3205, allocations: 195.6 kB / 426.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3205, allocations: 0 / 426.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.3206, allocations: 12 kB / 426.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.3206, allocations: 4 kB / 426.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.3211, allocations: 156.1 kB / 426.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.3222, allocations: 0.5746 MB / 426.9 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3232, allocations: 306.6 kB / 427.2 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.3235, allocations: 104.8 kB / 427.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.3235, allocations: 12 kB / 427.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004341/0.324, allocations: 170.1 kB / 427.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.324, allocations: 0 / 427.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001018/0.325, allocations: 356.4 kB / 427.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.3251, allocations: 63.39 kB / 427.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.3253, allocations: 211.8 kB / 428.1 MB, free: 7.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.3254, allocations: 41.64 kB / 428.1 MB, free: 7.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3255, allocations: 132.6 kB / 428.2 MB, free: 7.516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/0.3256, allocations: 63.44 kB / 428.3 MB, free: 7.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.3257, allocations: 77.62 kB / 428.4 MB, free: 7.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.3259, allocations: 338.8 kB / 428.7 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.3263, allocations: 135.9 kB / 428.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.3266, allocations: 158.2 kB / 429 MB, free: 6.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006178/0.3272, allocations: 264.6 kB / 429.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3272, allocations: 0 / 429.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000821/0.3281, allocations: 379.3 kB / 429.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3281, allocations: 4 kB / 429.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3281, allocations: 0 / 429.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.3281, allocations: 4 kB / 429.6 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.3284, allocations: 71.92 kB / 429.7 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3284, allocations: 0 / 429.7 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.3286, allocations: 47.69 kB / 429.8 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.3286, allocations: 12 kB / 429.8 MB, free: 5.965 MB / 334.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.0001697/0.3288, allocations: 149.6 kB / 429.9 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3288, allocations: 19.86 kB / 429.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.3289, allocations: 25.86 kB / 430 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.3289, allocations: 7.938 kB / 430 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3289, allocations: 0 / 430 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3289, allocations: 3.938 kB / 430 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.3301, allocations: 0.6309 MB / 430.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3301, allocations: 0 / 430.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.3304, allocations: 39.97 kB / 430.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3304, allocations: 0 / 430.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3304, allocations: 7.984 kB / 430.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3304, allocations: 4 kB / 430.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3304, allocations: 7.938 kB / 430.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.3314, allocations: 488.9 kB / 431.1 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.3315, allocations: 101 kB / 431.2 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.3315, allocations: 8.062 kB / 431.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.3317, allocations: 19.97 kB / 431.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.3318, allocations: 11.98 kB / 431.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.3318, allocations: 4 kB / 431.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.3319, allocations: 163.2 kB / 431.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3319, allocations: 0 / 431.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.3323, allocations: 63.88 kB / 431.5 MB, free: 4.125 MB / 334.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 (18): * Single equations (assignments): 16 * 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.0005098/0.3328, allocations: 196.9 kB / 431.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007624/0.3336, allocations: 267.8 kB / 432 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3336, allocations: 4.062 kB / 432 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.3339, allocations: 107.9 kB / 432.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3343, allocations: 19.98 kB / 432.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.3353, allocations: 469.7 kB / 432.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.3358, allocations: 0.7398 MB / 433.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.336, allocations: 33.92 kB / 433.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/0.336, allocations: 23.42 kB / 433.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of SimCode: time 1.643e-06/0.336, allocations: 4 kB / 433.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of Templates: time 0.007883/0.3439, allocations: 3.047 MB / 436.4 MB, free: 15.21 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.665431329980493]