Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008326/0.0008326, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008789/0.0008789, allocations: 169.5 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.086/1.086, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.248e-05, allocations: 2.312 kB / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002161/0.002184, allocations: 1.888 MB / 275.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.003468, allocations: 1.039 MB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/0.003538, allocations: 4 kB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.502e-05/0.003613, allocations: 19.73 kB / 276.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.003731, allocations: 43.58 kB / 276.4 MB, free: 14.14 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.004059, allocations: 183.3 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.004254, allocations: 227.3 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.004363, allocations: 50.5 kB / 276.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.004469, allocations: 139.6 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.004815, allocations: 108.8 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.004846, allocations: 20 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.005053, allocations: 163.7 kB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.005105, allocations: 59.75 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.005171, allocations: 67.81 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.005461, allocations: 259 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005463, allocations: 7.984 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.005464, allocations: 0 / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.005469, allocations: 0 / 277.7 MB, free: 12.89 MB / 266.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.0005583/0.006027, allocations: 460.9 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.63e-05/0.006053, allocations: 8.031 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.006208, allocations: 48.89 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.006353, allocations: 182.7 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.006372, allocations: 12.66 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.006398, allocations: 24.36 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.006563, allocations: 130.9 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006571, allocations: 4.172 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.006584, allocations: 12.38 kB / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.006589, allocations: 3.938 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.477e-05/0.006654, allocations: 44.47 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.007102, allocations: 346.2 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.007384, allocations: 174.3 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.007426, allocations: 32.83 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.007442, allocations: 12 kB / 279.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.007548, allocations: 98.08 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.00755, allocations: 0 / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001678/0.007717, allocations: 125 kB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.007749, allocations: 63.39 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.007856, allocations: 187.1 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.007881, allocations: 41.7 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.007936, allocations: 128.5 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.007974, allocations: 67.41 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.654e-05/0.00804, allocations: 69.95 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.008136, allocations: 338.7 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.994e-05/0.008196, allocations: 54.27 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.008258, allocations: 58.3 kB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.008376, allocations: 121 kB / 280.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.008378, allocations: 0 / 280.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001717/0.00855, allocations: 170.8 kB / 280.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.008561, allocations: 7.984 kB / 280.7 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.008566, allocations: 0 / 280.7 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.008575, allocations: 4 kB / 280.7 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.00874, allocations: 79.92 kB / 280.7 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.008744, allocations: 4 kB / 280.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.008819, allocations: 43.69 kB / 280.8 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.008831, allocations: 8 kB / 280.8 MB, free: 9.617 MB / 266.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,globalSeed.seed,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.75e-05/0.008919, allocations: 132.6 kB / 280.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.008937, allocations: 12 kB / 280.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.008979, allocations: 25.95 kB / 281 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.00898, allocations: 0 / 281 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.008983, allocations: 0 / 281 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.008988, allocations: 4 kB / 281 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.009313, allocations: 358.4 kB / 281.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.009315, allocations: 3.938 kB / 281.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.009418, allocations: 43.95 kB / 281.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.00942, allocations: 0 / 281.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.009432, allocations: 4 kB / 281.4 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.009433, allocations: 4 kB / 281.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.009433, allocations: 4 kB / 281.4 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.009658, allocations: 296.6 kB / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.009676, allocations: 15.84 kB / 281.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.009701, allocations: 16.03 kB / 281.7 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.009774, allocations: 19.98 kB / 281.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.00981, allocations: 15.97 kB / 281.7 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.009818, allocations: 4 kB / 281.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.325e-05/0.009861, allocations: 61.78 kB / 281.8 MB, free: 8.562 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009861, allocations: 4 kB / 281.8 MB, free: 8.559 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.01004, allocations: 71.77 kB / 281.9 MB, free: 8.488 MB / 266.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003416/0.01039, allocations: 205.1 kB / 282.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.01055, allocations: 122.2 kB / 282.2 MB, free: 8.191 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01055, allocations: 0 / 282.2 MB, free: 8.191 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.055e-05/0.01061, allocations: 52.75 kB / 282.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.01077, allocations: 27.98 kB / 282.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.01123, allocations: 383.2 kB / 282.6 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.97e-05/0.01128, allocations: 87.91 kB / 282.7 MB, free: 7.598 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.951e-05/0.01135, allocations: 29.61 kB / 282.8 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.649e-05/0.01145, allocations: 83.34 kB / 282.8 MB, free: 7.488 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01145, allocations: 8 kB / 282.8 MB, free: 7.48 MB / 266.7 MB Notification: Performance of Templates: time 0.004881/0.01633, allocations: 3.276 MB / 286.1 MB, free: 4.242 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0897652343846858]