Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.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_trunk_cpp_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_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009815/0.0009817, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007074/0.0007075, allocations: 96.72 kB / 297.4 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002232/0.0002233, allocations: 8 kB / 357.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2107, allocations: 51.29 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09265/0.3034, allocations: 79.91 MB / 488.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.3037, allocations: 77.58 kB / 488.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01511/0.3188, allocations: 5.251 MB / 493.9 MB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3189, allocations: 3.938 kB / 493.9 MB, free: 6.371 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.3189, allocations: 4 kB / 493.9 MB, free: 6.367 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.0009344/0.3198, allocations: 0.5443 MB / 494.5 MB, free: 5.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3199, allocations: 8.031 kB / 494.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.3201, allocations: 36.67 kB / 494.5 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.3204, allocations: 245.5 kB / 494.7 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.3204, allocations: 16.66 kB / 494.8 MB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.3205, allocations: 24.38 kB / 494.8 MB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005041/0.321, allocations: 219.2 kB / 495 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.321, allocations: 192 / 495 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.3211, allocations: 7.938 kB / 495 MB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3211, allocations: 4 kB / 495 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004581/0.3215, allocations: 177 kB / 495.2 MB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3226, allocations: 0.5942 MB / 495.8 MB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.3236, allocations: 374.5 kB / 496.1 MB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.324, allocations: 132.8 kB / 496.3 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.324, allocations: 4 kB / 496.3 MB, free: 3.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.3244, allocations: 186.6 kB / 496.5 MB, free: 3.656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.397e-06/0.3244, allocations: 4 kB / 496.5 MB, free: 3.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001159/0.3256, allocations: 417.1 kB / 496.9 MB, free: 3.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3256, allocations: 63.41 kB / 496.9 MB, free: 3.164 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.3258, allocations: 207.8 kB / 497.1 MB, free: 2.949 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.3259, allocations: 45.69 kB / 497.2 MB, free: 2.898 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.326, allocations: 120.6 kB / 497.3 MB, free: 2.777 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.3261, allocations: 75 kB / 497.4 MB, free: 2.703 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.3261, allocations: 4 kB / 497.4 MB, free: 2.699 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3262, allocations: 334.8 kB / 497.7 MB, free: 2.363 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003574/0.3266, allocations: 143.9 kB / 497.8 MB, free: 2.223 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.3269, allocations: 175 kB / 498 MB, free: 2.047 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006499/0.3276, allocations: 296.6 kB / 498.3 MB, free: 1.754 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3276, allocations: 0 / 498.3 MB, free: 1.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008326/0.3284, allocations: 410.8 kB / 498.7 MB, free: 1.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3285, allocations: 4 kB / 498.7 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.3285, allocations: 0 / 498.7 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3285, allocations: 4 kB / 498.7 MB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.3289, allocations: 75.89 kB / 498.8 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.3289, allocations: 0 / 498.8 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.3291, allocations: 51.66 kB / 498.8 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-05/0.3291, allocations: 12 kB / 498.8 MB, free: 1.203 MB / 362.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.0001507/0.3293, allocations: 153.7 kB / 499 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.3293, allocations: 31.64 kB / 499 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.389e-05/0.3294, allocations: 21.86 kB / 499 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3294, allocations: 0 / 499 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3294, allocations: 0 / 499 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3294, allocations: 7.938 kB / 499 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.3306, allocations: 0.6845 MB / 499.7 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3306, allocations: 0 / 499.7 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.3309, allocations: 55.89 kB / 499.8 MB, free: 196 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3309, allocations: 0 / 499.8 MB, free: 196 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.3309, allocations: 4 kB / 499.8 MB, free: 192 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.331, allocations: 0 / 499.8 MB, free: 192 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.331, allocations: 4 kB / 499.8 MB, free: 188 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.332, allocations: 0.5294 MB / 0.4886 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.3321, allocations: 104.8 kB / 0.4887 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.3321, allocations: 7.984 kB / 0.4887 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3323, allocations: 31.92 kB / 0.4887 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.3324, allocations: 19.91 kB / 0.4888 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.3324, allocations: 8 kB / 0.4888 GB, free: 15.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.3326, allocations: 151.2 kB / 0.4889 GB, free: 15.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3326, allocations: 0 / 0.4889 GB, free: 15.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004002/0.333, allocations: 83.92 kB / 0.489 GB, free: 15.22 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.0005251/0.3335, allocations: 233.1 kB / 0.4892 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000782/0.3343, allocations: 349.8 kB / 0.4895 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3343, allocations: 0 / 0.4895 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.3347, allocations: 131.9 kB / 0.4897 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.335, allocations: 34.27 kB / 0.4897 GB, free: 14.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008796/0.3359, allocations: 0.5515 MB / 0.4902 GB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.3362, allocations: 0.7359 MB / 0.491 GB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.554e-05/0.3363, allocations: 27.42 kB / 0.491 GB, free: 13.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3363, allocations: 3.938 kB / 0.491 GB, free: 13.14 MB / 378.7 MB Notification: Performance of Templates: time 0.006326/0.3426, allocations: 3.589 MB / 0.4945 GB, free: 9.547 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches