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.001271/0.00127, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009982/0.0009988, allocations: 98.66 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.213e-05/4.215e-05, allocations: 4 kB / 350.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 51.49 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3514/0.4605, allocations: 80.53 MB / 482.6 MB, free: 8.945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.4608, allocations: 78.75 kB / 482.6 MB, free: 8.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01687/0.4777, allocations: 6.794 MB / 489.4 MB, free: 3.082 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4778, allocations: 4 kB / 489.4 MB, free: 3.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.4778, allocations: 4 kB / 489.4 MB, free: 3.074 MB / 346.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.0007281/0.4785, allocations: 0.5449 MB / 490 MB, free: 2.508 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4786, allocations: 8.031 kB / 490 MB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.4787, allocations: 35.7 kB / 490 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.479, allocations: 238.1 kB / 490.3 MB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.479, allocations: 11.91 kB / 490.3 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.4791, allocations: 25.98 kB / 490.3 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.4793, allocations: 157.6 kB / 490.4 MB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4793, allocations: 7.938 kB / 490.5 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.4794, allocations: 11.23 kB / 490.5 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4794, allocations: 4 kB / 490.5 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.4796, allocations: 104.6 kB / 490.6 MB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009479/0.4805, allocations: 0.5867 MB / 491.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.4812, allocations: 240.9 kB / 491.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.4813, allocations: 82.3 kB / 491.5 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.4814, allocations: 7.688 kB / 491.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.4816, allocations: 128.1 kB / 491.6 MB, free: 1.078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.445e-06/0.4816, allocations: 0 / 491.6 MB, free: 1.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003989/0.482, allocations: 203.7 kB / 491.8 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.4821, allocations: 55.59 kB / 491.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.4822, allocations: 201.5 kB / 492.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.4823, allocations: 33.33 kB / 492.1 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.4824, allocations: 130.7 kB / 492.2 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.4824, allocations: 73.92 kB / 492.3 MB, free: 476 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.4824, allocations: 3.625 kB / 492.3 MB, free: 476 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.4825, allocations: 341.7 kB / 492.6 MB, free: 136 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.4827, allocations: 88.17 kB / 492.7 MB, free: 80 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.4829, allocations: 113.1 kB / 492.8 MB, free: 0 / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.4831, allocations: 102.6 kB / 492.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4831, allocations: 0 / 492.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005359/0.4836, allocations: 299.2 kB / 493.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4837, allocations: 8 kB / 493.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.4837, allocations: 0 / 493.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4838, allocations: 0 / 493.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.4841, allocations: 83.66 kB / 493.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.4841, allocations: 4 kB / 493.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.4843, allocations: 43.11 kB / 493.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.4844, allocations: 16.95 kB / 493.4 MB, free: 15.57 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 () * 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.0001019/0.4845, allocations: 129.5 kB / 493.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.4845, allocations: 19.77 kB / 493.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.4846, allocations: 21.77 kB / 493.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4846, allocations: 0 / 493.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4846, allocations: 0 / 493.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4846, allocations: 4 kB / 493.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000782/0.4854, allocations: 0.5876 MB / 494.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4854, allocations: 0 / 494.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.4857, allocations: 54.08 kB / 494.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.4857, allocations: 4 kB / 494.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.4857, allocations: 7.75 kB / 494.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4857, allocations: 4 kB / 494.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4857, allocations: 0 / 494.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.4862, allocations: 382.8 kB / 494.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.4863, allocations: 96.81 kB / 494.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.4863, allocations: 12.05 kB / 494.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.4865, allocations: 31.98 kB / 494.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.4866, allocations: 15.97 kB / 494.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.4866, allocations: 8 kB / 494.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.4867, allocations: 147.2 kB / 494.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4867, allocations: 0 / 494.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000484/0.4872, allocations: 127.7 kB / 495 MB, free: 13.99 MB / 362.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]) * 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.0007502/0.488, allocations: 322.8 kB / 495.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003919/0.4884, allocations: 230.2 kB / 495.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4884, allocations: 3.938 kB / 495.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.4886, allocations: 75.92 kB / 495.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.4888, allocations: 29.77 kB / 495.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.4893, allocations: 323.8 kB / 496 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.4896, allocations: 0.7438 MB / 496.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.4898, allocations: 31.47 kB / 496.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.4898, allocations: 27.42 kB / 496.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4899, allocations: 4 kB / 496.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of Templates: time 0.007095/0.497, allocations: 3.704 MB / 0.4887 GB, free: 8.57 MB / 362.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