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.001254/0.001254, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001864/0.003118, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001086/0.001086, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00142/0.002506, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.048/1.048, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09964/1.148, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.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.703e-06/1.703e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.139e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002792/0.002823, allocations: 1.916 MB / 247.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.004562, allocations: 1.032 MB / 248.2 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.387e-05/0.004646, allocations: 4 kB / 248.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.898e-05/0.004715, allocations: 23.73 kB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.938e-05/0.004815, allocations: 31.67 kB / 248.2 MB, free: 10.55 MB / 250.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.0004606/0.005275, allocations: 183.3 kB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.005471, allocations: 215.5 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.005595, allocations: 58.45 kB / 248.7 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.00575, allocations: 156.5 kB / 248.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.006088, allocations: 101.3 kB / 248.9 MB, free: 9.852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.006125, allocations: 24 kB / 249 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.006358, allocations: 155.6 kB / 249.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.006407, allocations: 43.81 kB / 249.1 MB, free: 9.633 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.006461, allocations: 47.88 kB / 249.2 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.006743, allocations: 223.2 kB / 249.4 MB, free: 9.367 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.006752, allocations: 4 kB / 249.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006753, allocations: 0 / 249.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.006763, allocations: 0 / 249.4 MB, free: 9.363 MB / 250.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.0006923/0.007455, allocations: 0.5005 MB / 249.9 MB, free: 8.832 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.007486, allocations: 12.62 kB / 249.9 MB, free: 8.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.007666, allocations: 125.9 kB / 250 MB, free: 8.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.007832, allocations: 167 kB / 250.2 MB, free: 8.488 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.007854, allocations: 24.64 kB / 250.2 MB, free: 8.465 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.007884, allocations: 20.38 kB / 250.3 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.008074, allocations: 126.9 kB / 250.4 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.008081, allocations: 192 / 250.4 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.008093, allocations: 8.375 kB / 250.4 MB, free: 8.309 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.008115, allocations: 15.92 kB / 250.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.228e-05/0.008177, allocations: 44.42 kB / 250.4 MB, free: 8.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.008647, allocations: 350.2 kB / 250.8 MB, free: 7.891 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.008915, allocations: 170.4 kB / 251 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/0.008962, allocations: 40.77 kB / 251 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.008978, allocations: 7.938 kB / 251 MB, free: 7.664 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.009093, allocations: 94.14 kB / 251.1 MB, free: 7.559 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.009094, allocations: 4 kB / 251.1 MB, free: 7.555 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001841/0.009278, allocations: 133 kB / 251.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.009314, allocations: 59.34 kB / 251.3 MB, free: 7.352 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.88e-05/0.009413, allocations: 194.3 kB / 251.5 MB, free: 7.148 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.009436, allocations: 37.7 kB / 251.5 MB, free: 7.105 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.00949, allocations: 136.4 kB / 251.6 MB, free: 6.969 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.009528, allocations: 67.42 kB / 251.7 MB, free: 6.902 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.009591, allocations: 73.94 kB / 251.8 MB, free: 6.824 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.009665, allocations: 338.7 kB / 252.1 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.723e-05/0.009722, allocations: 42.34 kB / 252.2 MB, free: 6.441 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.013e-05/0.009783, allocations: 57.67 kB / 252.2 MB, free: 6.379 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.009901, allocations: 125 kB / 252.3 MB, free: 6.246 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009903, allocations: 0 / 252.3 MB, free: 6.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001697/0.01007, allocations: 167.5 kB / 252.5 MB, free: 6.078 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.01008, allocations: 8 kB / 252.5 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01009, allocations: 0 / 252.5 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.0101, allocations: 3.984 kB / 252.5 MB, free: 6.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.01027, allocations: 79.89 kB / 252.6 MB, free: 5.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01028, allocations: 7.984 kB / 252.6 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.01035, allocations: 43.8 kB / 252.6 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.01036, allocations: 8 kB / 252.6 MB, free: 5.93 MB / 250.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 7.971e-05/0.01044, allocations: 137.7 kB / 252.8 MB, free: 5.785 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.01046, allocations: 11.98 kB / 252.8 MB, free: 5.773 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.0105, allocations: 21.97 kB / 252.8 MB, free: 5.75 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.0105, allocations: 0 / 252.8 MB, free: 5.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.0105, allocations: 4 kB / 252.8 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.0105, allocations: 7.984 kB / 252.8 MB, free: 5.738 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.01079, allocations: 354.4 kB / 253.2 MB, free: 5.367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01079, allocations: 0 / 253.2 MB, free: 5.367 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.0109, allocations: 47.95 kB / 253.2 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.01092, allocations: 27.77 kB / 253.2 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01093, allocations: 3.938 kB / 253.3 MB, free: 5.289 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.01094, allocations: 0 / 253.3 MB, free: 5.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01094, allocations: 4 kB / 253.3 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01094, allocations: 0 / 253.3 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.01115, allocations: 297.9 kB / 253.5 MB, free: 4.977 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.01117, allocations: 8 kB / 253.6 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.01124, allocations: 23.97 kB / 253.6 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.01127, allocations: 7.984 kB / 253.6 MB, free: 4.938 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.01128, allocations: 7.984 kB / 253.6 MB, free: 4.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.062e-05/0.01132, allocations: 52.67 kB / 253.6 MB, free: 4.875 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01132, allocations: 0 / 253.6 MB, free: 4.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00019/0.01151, allocations: 63.89 kB / 253.7 MB, free: 4.812 MB / 250.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.0003486/0.01186, allocations: 234.6 kB / 253.9 MB, free: 4.617 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.01203, allocations: 130.2 kB / 254.1 MB, free: 4.488 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.01203, allocations: 4 kB / 254.1 MB, free: 4.484 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.609e-05/0.0121, allocations: 60.75 kB / 254.1 MB, free: 4.422 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.01232, allocations: 209.6 kB / 254.3 MB, free: 4.184 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.01288, allocations: 375.2 kB / 254.7 MB, free: 3.789 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.01292, allocations: 91.77 kB / 254.8 MB, free: 3.68 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.131e-05/0.01299, allocations: 29.72 kB / 254.8 MB, free: 3.652 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.307e-05/0.01308, allocations: 79.36 kB / 254.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01308, allocations: 0 / 254.9 MB, free: 3.574 MB / 250.7 MB Notification: Performance of Templates: time 0.004696/0.01778, allocations: 3.299 MB / 258.2 MB, free: 320 kB / 250.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4441069466993213]