Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009696/0.0009697, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 227.2 MB / 245 MB, free: 7.656 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008515/0.0008519, allocations: 92.03 kB / 297.3 MB, free: 6.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.000292, allocations: 4 kB / 357.9 MB, free: 9.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2086, allocations: 51.47 MB / 409.4 MB, free: 26.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09361/0.3023, allocations: 80.61 MB / 490 MB, free: 10.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.3025, allocations: 80.66 kB / 490.1 MB, free: 9.977 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01857/0.3211, allocations: 6.836 MB / 496.9 MB, free: 3.121 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3212, allocations: 0 / 496.9 MB, free: 3.121 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.3212, allocations: 4 kB / 496.9 MB, free: 3.117 MB / 362.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.00085/0.3221, allocations: 0.5714 MB / 497.5 MB, free: 2.492 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3221, allocations: 12.03 kB / 497.5 MB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.3223, allocations: 27.8 kB / 497.5 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.3225, allocations: 247.9 kB / 497.8 MB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.3226, allocations: 16.23 kB / 497.8 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.3226, allocations: 27.98 kB / 497.8 MB, free: 2.129 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.3231, allocations: 207.8 kB / 498 MB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3231, allocations: 0 / 498 MB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.3232, allocations: 8 kB / 498 MB, free: 1.914 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3232, allocations: 4 kB / 498 MB, free: 1.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.3236, allocations: 176.4 kB / 498.2 MB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009261/0.3246, allocations: 0.5864 MB / 498.8 MB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.3256, allocations: 396.5 kB / 499.2 MB, free: 0.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3256, allocations: 3.953 kB / 499.2 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003818/0.326, allocations: 186.8 kB / 499.4 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.326, allocations: 0 / 499.4 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009925/0.327, allocations: 493.4 kB / 499.9 MB, free: 8 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.3271, allocations: 63.77 kB / 499.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.3273, allocations: 183 kB / 0.4884 GB, free: 15.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.3273, allocations: 37.7 kB / 0.4884 GB, free: 15.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.3274, allocations: 132.5 kB / 0.4885 GB, free: 15.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.3275, allocations: 79 kB / 0.4886 GB, free: 15.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.3275, allocations: 4 kB / 0.4886 GB, free: 15.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.3276, allocations: 338.8 kB / 0.4889 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.328, allocations: 139.9 kB / 0.4891 GB, free: 15.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.3283, allocations: 169.6 kB / 0.4892 GB, free: 14.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.3287, allocations: 158.8 kB / 0.4894 GB, free: 14.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3287, allocations: 4 kB / 0.4894 GB, free: 14.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007759/0.3294, allocations: 398.4 kB / 0.4898 GB, free: 14.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3295, allocations: 15.98 kB / 0.4898 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3295, allocations: 0 / 0.4898 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3295, allocations: 0 / 0.4898 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.3298, allocations: 79.88 kB / 0.4899 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3298, allocations: 4 kB / 0.4899 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.33, allocations: 47.73 kB / 0.4899 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.3301, allocations: 19.92 kB / 0.4899 GB, free: 14.12 MB / 378.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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.3302, allocations: 133.8 kB / 0.4901 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.3302, allocations: 19.72 kB / 0.4901 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.072e-05/0.3303, allocations: 33.81 kB / 0.4901 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3303, allocations: 4 kB / 0.4901 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3303, allocations: 0 / 0.4901 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3303, allocations: 0 / 0.4901 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.3314, allocations: 0.6855 MB / 0.4908 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3315, allocations: 0 / 0.4908 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.3317, allocations: 51.95 kB / 0.4908 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3317, allocations: 4 kB / 0.4908 GB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.3318, allocations: 7.984 kB / 0.4908 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3318, allocations: 0 / 0.4908 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3318, allocations: 4 kB / 0.4908 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009766/0.3327, allocations: 0.5334 MB / 0.4914 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.3328, allocations: 104.7 kB / 0.4915 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.3329, allocations: 12.05 kB / 0.4915 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.333, allocations: 27.98 kB / 0.4915 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.3331, allocations: 15.97 kB / 0.4915 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.3331, allocations: 4 kB / 0.4915 GB, free: 12.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.3332, allocations: 151.2 kB / 0.4917 GB, free: 12.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3333, allocations: 0 / 0.4917 GB, free: 12.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000449/0.3337, allocations: 131.8 kB / 0.4918 GB, free: 12.11 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006971/0.3344, allocations: 314.1 kB / 0.4921 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007476/0.3352, allocations: 345.2 kB / 0.4924 GB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3352, allocations: 0 / 0.4924 GB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.3355, allocations: 139.8 kB / 0.4926 GB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.3357, allocations: 26.05 kB / 0.4926 GB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.3365, allocations: 0.5187 MB / 0.4931 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.3368, allocations: 0.7476 MB / 0.4938 GB, free: 10.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.3369, allocations: 29.94 kB / 0.4938 GB, free: 9.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.337, allocations: 27.42 kB / 0.4939 GB, free: 9.953 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.337, allocations: 0 / 0.4939 GB, free: 9.953 MB / 378.7 MB Notification: Performance of Templates: time 0.00655/0.3435, allocations: 3.697 MB / 0.4975 GB, free: 6.273 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches