Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 194.7 kB / 18.07 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 226.6 MB / 245.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000734/0.0007342, allocations: 96.52 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002432/0.0002433, allocations: 8 kB / 357.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2104, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09213/0.3026, allocations: 80.54 MB / 489.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.3029, allocations: 71.95 kB / 489.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01887/0.3217, allocations: 6.832 MB / 496.1 MB, free: 4.141 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.051e-06/0.3218, allocations: 0 / 496.1 MB, free: 4.141 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.3218, allocations: 4 kB / 496.1 MB, free: 4.137 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.0008961/0.3227, allocations: 0.5638 MB / 496.7 MB, free: 3.516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3228, allocations: 12.03 kB / 496.7 MB, free: 3.504 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.3229, allocations: 36.64 kB / 496.7 MB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.3232, allocations: 249.5 kB / 497 MB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.3233, allocations: 12.66 kB / 497 MB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.3233, allocations: 20.38 kB / 497 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.3238, allocations: 220 kB / 497.2 MB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3238, allocations: 192 / 497.2 MB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.3238, allocations: 11.94 kB / 497.2 MB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3238, allocations: 4 kB / 497.2 MB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/0.3243, allocations: 185 kB / 497.4 MB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009658/0.3253, allocations: 0.5825 MB / 498 MB, free: 2.109 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009998/0.3263, allocations: 378.5 kB / 498.4 MB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.3266, allocations: 132.8 kB / 498.5 MB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3266, allocations: 4 kB / 498.5 MB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003788/0.327, allocations: 194.5 kB / 498.7 MB, free: 1.395 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.327, allocations: 0 / 498.7 MB, free: 1.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009743/0.328, allocations: 417.2 kB / 499.1 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.328, allocations: 63.41 kB / 499.2 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.3282, allocations: 199.9 kB / 499.4 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.3283, allocations: 41.69 kB / 499.4 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.3284, allocations: 124.5 kB / 499.5 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.3284, allocations: 78.94 kB / 499.6 MB, free: 460 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/0.3284, allocations: 4 kB / 499.6 MB, free: 456 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3286, allocations: 334.8 kB / 499.9 MB, free: 112 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.329, allocations: 143.9 kB / 0.4883 GB, free: 15.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.3293, allocations: 174.2 kB / 0.4885 GB, free: 15.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006193/0.33, allocations: 300.6 kB / 0.4888 GB, free: 15.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.33, allocations: 3.938 kB / 0.4888 GB, free: 15.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008171/0.3308, allocations: 410.8 kB / 0.4892 GB, free: 15.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3308, allocations: 4 kB / 0.4892 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3308, allocations: 0 / 0.4892 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3309, allocations: 8 kB / 0.4892 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.3312, allocations: 75.89 kB / 0.4893 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3312, allocations: 0 / 0.4893 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.3314, allocations: 55.66 kB / 0.4893 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.3314, allocations: 12 kB / 0.4893 GB, free: 14.93 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.0001396/0.3316, allocations: 141.8 kB / 0.4895 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.3316, allocations: 23.66 kB / 0.4895 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.168e-05/0.3317, allocations: 25.86 kB / 0.4895 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3317, allocations: 0 / 0.4895 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3317, allocations: 8 kB / 0.4895 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3317, allocations: 0 / 0.4895 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.3329, allocations: 0.6776 MB / 0.4902 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3329, allocations: 0 / 0.4902 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.3331, allocations: 55.95 kB / 0.4902 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3331, allocations: 0 / 0.4902 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.3332, allocations: 11.98 kB / 0.4903 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3332, allocations: 0 / 0.4903 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3332, allocations: 0 / 0.4903 GB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009799/0.3342, allocations: 0.533 MB / 0.4908 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.3342, allocations: 104.7 kB / 0.4909 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.3343, allocations: 8.062 kB / 0.4909 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.3345, allocations: 35.91 kB / 0.4909 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.3345, allocations: 15.98 kB / 0.4909 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.3345, allocations: 7.984 kB / 0.4909 GB, free: 13.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.3347, allocations: 147.2 kB / 0.4911 GB, free: 13.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3347, allocations: 0 / 0.4911 GB, free: 13.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004937/0.3352, allocations: 127.8 kB / 0.4912 GB, free: 12.92 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.0007029/0.3359, allocations: 322 kB / 0.4915 GB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007409/0.3366, allocations: 351.9 kB / 0.4918 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3366, allocations: 0 / 0.4918 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.337, allocations: 135.9 kB / 0.492 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.3373, allocations: 27.92 kB / 0.492 GB, free: 12.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008183/0.3381, allocations: 0.5515 MB / 0.4925 GB, free: 11.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.3384, allocations: 0.7359 MB / 0.4933 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.3385, allocations: 31.42 kB / 0.4933 GB, free: 10.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3385, allocations: 0 / 0.4933 GB, free: 10.75 MB / 378.7 MB Notification: Performance of Templates: time 0.006142/0.3446, allocations: 4.345 MB / 0.4975 GB, free: 6.406 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches