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.001581/0.001581, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 91.7 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.859e-05/1.861e-05, allocations: 4.219 kB / 343.7 MB, free: 8.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1071, allocations: 51.48 MB / 395.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2936/0.4008, allocations: 79.87 MB / 475 MB, free: 12.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.4011, allocations: 72.42 kB / 475.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01706/0.4182, allocations: 6.765 MB / 481.9 MB, free: 7.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4182, allocations: 0 / 481.9 MB, free: 7.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.4182, allocations: 4 kB / 481.9 MB, free: 7.48 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.0007597/0.419, allocations: 0.5459 MB / 482.4 MB, free: 6.906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.419, allocations: 16.03 kB / 482.4 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.4192, allocations: 31.7 kB / 482.5 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.4194, allocations: 233 kB / 482.7 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.4195, allocations: 11.19 kB / 482.7 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.4195, allocations: 15.61 kB / 482.7 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001722/0.4197, allocations: 87.45 kB / 482.8 MB, free: 6.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.4199, allocations: 148.8 kB / 483 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.4199, allocations: 5.438 kB / 483 MB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.4199, allocations: 0 / 483 MB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4199, allocations: 8 kB / 483 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007638/0.4207, allocations: 0.5345 MB / 483.5 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.4212, allocations: 217.5 kB / 483.7 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.715e-05/0.4213, allocations: 78.33 kB / 483.8 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.4213, allocations: 4.062 kB / 483.8 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.4215, allocations: 128.9 kB / 483.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.4215, allocations: 0 / 483.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003048/0.4218, allocations: 193 kB / 484.1 MB, free: 5.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.4219, allocations: 62.3 kB / 484.2 MB, free: 5.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.422, allocations: 166.4 kB / 484.3 MB, free: 5.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.422, allocations: 29.7 kB / 484.4 MB, free: 5.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.4221, allocations: 138.3 kB / 484.5 MB, free: 5.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.4221, allocations: 69.88 kB / 484.6 MB, free: 4.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.4221, allocations: 0 / 484.6 MB, free: 4.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.4222, allocations: 326.1 kB / 484.9 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.4223, allocations: 95.42 kB / 485 MB, free: 4.602 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.4224, allocations: 106.9 kB / 485.1 MB, free: 4.527 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.4226, allocations: 94.77 kB / 485.2 MB, free: 4.461 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4226, allocations: 0 / 485.2 MB, free: 4.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003907/0.423, allocations: 271.1 kB / 485.4 MB, free: 4.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4231, allocations: 4 kB / 485.4 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4231, allocations: 3.953 kB / 485.4 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4231, allocations: 4 kB / 485.4 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.4234, allocations: 79.56 kB / 485.5 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.4234, allocations: 3.688 kB / 485.5 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.4236, allocations: 43.77 kB / 485.6 MB, free: 4.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.4236, allocations: 15.23 kB / 485.6 MB, free: 4.117 MB / 346.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 7.539e-05/0.4237, allocations: 112.9 kB / 485.7 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.4237, allocations: 23.8 kB / 485.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.4238, allocations: 24.77 kB / 485.7 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4238, allocations: 3.953 kB / 485.7 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4238, allocations: 4 kB / 485.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4238, allocations: 0 / 485.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.4244, allocations: 0.5334 MB / 486.3 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4244, allocations: 0 / 486.3 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/0.4246, allocations: 47.91 kB / 486.3 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.4246, allocations: 11.94 kB / 486.3 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.4247, allocations: 4.562 kB / 486.3 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4247, allocations: 0 / 486.3 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4247, allocations: 8 kB / 486.4 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.425, allocations: 361.9 kB / 486.7 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.4251, allocations: 100.8 kB / 486.8 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.4251, allocations: 11.52 kB / 486.8 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.4253, allocations: 27.97 kB / 486.8 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.4253, allocations: 11.98 kB / 486.9 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.4254, allocations: 11.11 kB / 486.9 MB, free: 2.918 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.184e-05/0.4254, allocations: 125.6 kB / 487 MB, free: 2.809 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4254, allocations: 0 / 487 MB, free: 2.809 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000461/0.4259, allocations: 126.8 kB / 487.1 MB, free: 2.691 MB / 346.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.0006458/0.4266, allocations: 313.2 kB / 487.4 MB, free: 2.426 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.4269, allocations: 222.7 kB / 487.6 MB, free: 2.258 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4269, allocations: 0 / 487.6 MB, free: 2.258 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.878e-05/0.427, allocations: 82.64 kB / 487.7 MB, free: 2.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.4272, allocations: 18.61 kB / 487.7 MB, free: 2.188 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.4277, allocations: 315.7 kB / 488 MB, free: 1.895 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.4278, allocations: 0.7438 MB / 488.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.4279, allocations: 25.86 kB / 488.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.428, allocations: 23.42 kB / 488.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.428, allocations: 0 / 488.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of Templates: time 0.00648/0.4345, allocations: 3.522 MB / 492.4 MB, free: 13.62 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