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/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.0008534/0.0008534, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0008788/0.0008788, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.042/1.042, allocations: 177 MB / 205.2 MB, free: 5.051 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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 3.938 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/3.007e-05, allocations: 2.312 kB / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003651/0.003681, allocations: 1.9 MB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.00637, allocations: 1.301 MB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.0065, allocations: 0 / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.006671, allocations: 23.73 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.006848, allocations: 31.66 kB / 276.7 MB, free: 13.73 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.001004/0.007852, allocations: 302.8 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.008163, allocations: 223.4 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.008326, allocations: 42.53 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.00851, allocations: 139.7 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005496/0.00906, allocations: 109.7 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.009113, allocations: 20 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006148/0.009727, allocations: 347.2 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.939e-05/0.009807, allocations: 63.81 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.009884, allocations: 67.75 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.01048, allocations: 382.8 kB / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.01048, allocations: 0 / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01048, allocations: 0 / 278.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.01048, allocations: 0 / 278.4 MB, free: 12.07 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.000758/0.01124, allocations: 484.6 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.01129, allocations: 16.03 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.01148, allocations: 44.83 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.01169, allocations: 174.7 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.01172, allocations: 12.66 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.01175, allocations: 20.38 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.01194, allocations: 126.9 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.01195, allocations: 192 / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.01197, allocations: 8.359 kB / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.01198, allocations: 7.938 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.805e-05/0.01204, allocations: 44.42 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.01258, allocations: 346.2 kB / 279.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.01288, allocations: 182.3 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.01292, allocations: 36.83 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.01294, allocations: 8 kB / 279.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.01306, allocations: 98.08 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.01306, allocations: 0 / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001943/0.01326, allocations: 118.7 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.0133, allocations: 67.39 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.0134, allocations: 191.1 kB / 280.3 MB, free: 10 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.01343, allocations: 37.7 kB / 280.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.01349, allocations: 132.5 kB / 280.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.01353, allocations: 67.45 kB / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.01359, allocations: 69.97 kB / 280.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.01368, allocations: 338.7 kB / 280.9 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.01374, allocations: 42.34 kB / 281 MB, free: 9.301 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.445e-05/0.0138, allocations: 62.3 kB / 281 MB, free: 9.234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.01391, allocations: 117 kB / 281.1 MB, free: 9.109 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01392, allocations: 0 / 281.1 MB, free: 9.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001744/0.01409, allocations: 170.9 kB / 281.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.0141, allocations: 4 kB / 281.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01411, allocations: 0 / 281.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.01412, allocations: 8.031 kB / 281.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.01428, allocations: 83.88 kB / 281.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.01429, allocations: 0 / 281.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.01436, allocations: 47.64 kB / 281.5 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.01437, allocations: 7.984 kB / 281.5 MB, free: 8.789 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.612e-05/0.01446, allocations: 128.6 kB / 281.6 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.01448, allocations: 19.98 kB / 281.6 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.01452, allocations: 25.94 kB / 281.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01452, allocations: 4 kB / 281.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01453, allocations: 0 / 281.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01453, allocations: 0 / 281.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.01484, allocations: 369.7 kB / 282 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01485, allocations: 7.938 kB / 282 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.01495, allocations: 39.95 kB / 282 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01495, allocations: 8 kB / 282.1 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.01497, allocations: 8 kB / 282.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01497, allocations: 0 / 282.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01497, allocations: 0 / 282.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.01519, allocations: 293.9 kB / 282.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.0152, allocations: 15.91 kB / 282.4 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.01522, allocations: 8 kB / 282.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.0153, allocations: 19.97 kB / 282.4 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.01534, allocations: 15.97 kB / 282.4 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.01534, allocations: 4 kB / 282.4 MB, free: 7.789 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.37e-05/0.01539, allocations: 57.8 kB / 282.5 MB, free: 7.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01539, allocations: 0 / 282.5 MB, free: 7.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000232/0.01562, allocations: 111.7 kB / 282.6 MB, free: 7.621 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.0004523/0.01607, allocations: 283.3 kB / 282.9 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.01625, allocations: 121.1 kB / 283 MB, free: 7.246 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.01626, allocations: 4 kB / 283 MB, free: 7.242 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.01632, allocations: 50.95 kB / 283 MB, free: 7.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.01649, allocations: 43.91 kB / 283.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.01696, allocations: 387.3 kB / 283.4 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.017, allocations: 83.83 kB / 283.5 MB, free: 6.637 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.289e-05/0.01708, allocations: 33.61 kB / 283.6 MB, free: 6.605 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-05/0.01717, allocations: 83.36 kB / 283.6 MB, free: 6.523 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01717, allocations: 0 / 283.6 MB, free: 6.523 MB / 266.7 MB Notification: Performance of Templates: time 0.005958/0.02313, allocations: 4.066 MB / 287.7 MB, free: 2.5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.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.0708089829422534]