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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,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=10000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00098/0.0009802, allocations: 107 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009105/0.000911, allocations: 44.08 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2998, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003708/0.3035, allocations: 1.913 MB / 401.4 MB, free: 31.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3053, allocations: 0.9844 MB / 402.4 MB, free: 30.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-05/0.3054, allocations: 4 kB / 402.4 MB, free: 30.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.3056, allocations: 11.88 kB / 402.4 MB, free: 30.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.3058, allocations: 18.61 kB / 402.4 MB, free: 30.43 MB / 298.7 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.0006058/0.3065, allocations: 151.7 kB / 402.5 MB, free: 30.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.3067, allocations: 215.4 kB / 402.8 MB, free: 30.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.3069, allocations: 63.08 kB / 402.8 MB, free: 30.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.945e-05/0.307, allocations: 79.69 kB / 402.9 MB, free: 29.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006571/0.3076, allocations: 130.2 kB / 403 MB, free: 29.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.3077, allocations: 12 kB / 403 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.3079, allocations: 111.8 kB / 403.1 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.308, allocations: 51.83 kB / 403.2 MB, free: 29.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.747e-05/0.3081, allocations: 91.44 kB / 403.3 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.3083, allocations: 276.7 kB / 403.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3084, allocations: 0 / 403.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3084, allocations: 0 / 403.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3084, allocations: 3.938 kB / 403.6 MB, free: 29.27 MB / 298.7 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.001036/0.3094, allocations: 0.5545 MB / 404.1 MB, free: 28.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3095, allocations: 8.031 kB / 404.1 MB, free: 28.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.3097, allocations: 36.64 kB / 404.2 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.3099, allocations: 245.5 kB / 404.4 MB, free: 28.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.3099, allocations: 24.16 kB / 404.4 MB, free: 28.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.31, allocations: 20 kB / 404.4 MB, free: 28.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.3104, allocations: 198.9 kB / 404.6 MB, free: 28.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3104, allocations: 0 / 404.6 MB, free: 28.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.3104, allocations: 8 kB / 404.6 MB, free: 28.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3104, allocations: 0 / 404.6 MB, free: 28.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.3109, allocations: 152.4 kB / 404.8 MB, free: 27.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000874/0.3117, allocations: 0.5784 MB / 405.4 MB, free: 27.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009479/0.3127, allocations: 309.2 kB / 405.7 MB, free: 27.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.313, allocations: 112.8 kB / 405.8 MB, free: 26.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.313, allocations: 8 kB / 405.8 MB, free: 26.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/0.3134, allocations: 163.3 kB / 405.9 MB, free: 26.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.664e-06/0.3134, allocations: 0 / 405.9 MB, free: 26.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008859/0.3143, allocations: 353.1 kB / 406.3 MB, free: 26.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.3143, allocations: 71.41 kB / 406.4 MB, free: 26.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.3145, allocations: 207.8 kB / 406.6 MB, free: 26.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.3145, allocations: 41.7 kB / 406.6 MB, free: 26.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.3146, allocations: 132.5 kB / 406.7 MB, free: 25.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.3146, allocations: 63.02 kB / 406.8 MB, free: 25.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.3148, allocations: 69.69 kB / 406.9 MB, free: 25.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.567e-05/0.3148, allocations: 334.8 kB / 407.2 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.3152, allocations: 135.9 kB / 407.3 MB, free: 25.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.3155, allocations: 162.5 kB / 407.5 MB, free: 25.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/0.316, allocations: 272.3 kB / 407.7 MB, free: 24.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.316, allocations: 0 / 407.7 MB, free: 24.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000696/0.3167, allocations: 375.1 kB / 408.1 MB, free: 24.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.3167, allocations: 4 kB / 408.1 MB, free: 24.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3168, allocations: 4 kB / 408.1 MB, free: 24.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3168, allocations: 7.938 kB / 408.1 MB, free: 24.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.3171, allocations: 67.89 kB / 408.2 MB, free: 24.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3171, allocations: 4 kB / 408.2 MB, free: 24.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.3172, allocations: 39.66 kB / 408.2 MB, free: 24.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.3173, allocations: 19.94 kB / 408.3 MB, free: 24.33 MB / 298.7 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.0001202/0.3174, allocations: 141.8 kB / 408.4 MB, free: 24.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.3174, allocations: 19.72 kB / 408.4 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.192e-05/0.3175, allocations: 25.86 kB / 408.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3175, allocations: 0 / 408.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3175, allocations: 0 / 408.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3175, allocations: 3.984 kB / 408.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000967/0.3185, allocations: 0.6367 MB / 409.1 MB, free: 23.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3185, allocations: 4 kB / 409.1 MB, free: 23.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.3188, allocations: 43.91 kB / 409.1 MB, free: 23.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3188, allocations: 0 / 409.1 MB, free: 23.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.3188, allocations: 11.98 kB / 409.1 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3188, allocations: 0 / 409.1 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3188, allocations: 0 / 409.1 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003441/0.3223, allocations: 2.176 MB / 411.3 MB, free: 21.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.3223, allocations: 92.89 kB / 411.4 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.3224, allocations: 15.98 kB / 411.4 MB, free: 20.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.3225, allocations: 15.98 kB / 411.4 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.3226, allocations: 15.97 kB / 411.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3226, allocations: 12 kB / 411.5 MB, free: 20.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.3228, allocations: 151.2 kB / 411.6 MB, free: 20.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3228, allocations: 0 / 411.6 MB, free: 20.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004645/0.3233, allocations: 80.05 kB / 411.7 MB, free: 20.65 MB / 298.7 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.0005278/0.3238, allocations: 197.8 kB / 411.9 MB, free: 20.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000733/0.3245, allocations: 284.3 kB / 412.2 MB, free: 20.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3246, allocations: 0 / 412.2 MB, free: 20.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.3249, allocations: 123.8 kB / 412.3 MB, free: 20.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.3252, allocations: 19.94 kB / 412.3 MB, free: 20.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009869/0.3262, allocations: 0.6945 MB / 413 MB, free: 19.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.3264, allocations: 0.7479 MB / 413.7 MB, free: 18.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.3266, allocations: 33.94 kB / 413.8 MB, free: 18.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.3267, allocations: 27.42 kB / 413.8 MB, free: 18.5 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3267, allocations: 0 / 413.8 MB, free: 18.5 MB / 298.7 MB Notification: Performance of Templates: time 0.006699/0.3334, allocations: 3.439 MB / 417.2 MB, free: 15.07 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches