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.001562/0.001562, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001201/0.001201, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.012/1.012, allocations: 177 MB / 204.8 MB, free: 5.59 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.974e-06/1.974e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.908e-05, allocations: 2.312 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002467/0.002496, allocations: 1.875 MB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.003846, allocations: 1.012 MB / 275.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.123e-05/0.003937, allocations: 4 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.004056, allocations: 19.73 kB / 275.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.004244, allocations: 39.59 kB / 275.9 MB, free: 14.46 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.0005035/0.004748, allocations: 199.3 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.00495, allocations: 219.4 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.005079, allocations: 56.28 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.005201, allocations: 139.6 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.005584, allocations: 107 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.005627, allocations: 24 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.005852, allocations: 147.7 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.005911, allocations: 59.81 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.005982, allocations: 71.75 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.006364, allocations: 263 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.006366, allocations: 0 / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006367, allocations: 0 / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.006371, allocations: 0 / 277.1 MB, free: 13.21 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.0007652/0.007136, allocations: 0.5826 MB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.007172, allocations: 11.97 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.007348, allocations: 56.73 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.007549, allocations: 193.5 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.007571, allocations: 16.66 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.007603, allocations: 16.38 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.007838, allocations: 140.1 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.007846, allocations: 192 / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.007863, allocations: 4.375 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.007874, allocations: 7.938 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.007985, allocations: 56.45 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007103/0.008696, allocations: 0.5116 MB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.009054, allocations: 151.3 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.402e-05/0.009128, allocations: 47.7 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.009152, allocations: 8 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.009306, allocations: 112.8 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.009307, allocations: 0 / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003118/0.009619, allocations: 180.9 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.009657, allocations: 63.34 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.009805, allocations: 266.3 kB / 279.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.009833, allocations: 37.7 kB / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.517e-05/0.009929, allocations: 175.3 kB / 279.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.009993, allocations: 79.38 kB / 279.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.0101, allocations: 71.66 kB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.01024, allocations: 0.5079 MB / 280.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.222e-05/0.01033, allocations: 51.72 kB / 280.5 MB, free: 9.703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.01044, allocations: 87.33 kB / 280.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.0106, allocations: 125.1 kB / 280.7 MB, free: 9.477 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.0106, allocations: 4 kB / 280.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002719/0.01087, allocations: 231.9 kB / 280.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01088, allocations: 4 kB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.01089, allocations: 7.938 kB / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.0109, allocations: 0 / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.01109, allocations: 83.91 kB / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.0111, allocations: 4 kB / 281 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.01118, allocations: 31.83 kB / 281 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.01119, allocations: 12 kB / 281 MB, free: 9.102 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,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,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 9.528e-05/0.01128, allocations: 180.4 kB / 281.2 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.01131, allocations: 23.91 kB / 281.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.01135, allocations: 29.89 kB / 281.3 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01135, allocations: 4 kB / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01136, allocations: 0 / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01136, allocations: 0 / 281.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.01178, allocations: 481.1 kB / 281.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01178, allocations: 3.938 kB / 281.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.01189, allocations: 39.95 kB / 281.8 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.0119, allocations: 4 kB / 281.8 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.01191, allocations: 8 kB / 281.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01191, allocations: 0 / 281.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01191, allocations: 3.938 kB / 281.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.01222, allocations: 354.7 kB / 282.1 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.01224, allocations: 19.84 kB / 282.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.01226, allocations: 11.98 kB / 282.2 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.01234, allocations: 15.98 kB / 282.2 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.01239, allocations: 15.97 kB / 282.2 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.0124, allocations: 4 kB / 282.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.8e-05/0.01247, allocations: 176.2 kB / 282.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01247, allocations: 4 kB / 282.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002234/0.0127, allocations: 71.81 kB / 282.5 MB, free: 7.613 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.0003257/0.01302, allocations: 213.2 kB / 282.7 MB, free: 7.418 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.01326, allocations: 143.2 kB / 282.8 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.01326, allocations: 4 kB / 282.8 MB, free: 7.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-05/0.01334, allocations: 58.56 kB / 282.9 MB, free: 7.211 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.01356, allocations: 27.98 kB / 282.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.0141, allocations: 395.3 kB / 283.3 MB, free: 6.762 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.918e-05/0.01415, allocations: 84.09 kB / 283.4 MB, free: 6.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.01423, allocations: 25.62 kB / 283.4 MB, free: 6.633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.01429, allocations: 32.48 kB / 283.4 MB, free: 6.602 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01429, allocations: 0 / 283.4 MB, free: 6.602 MB / 266.7 MB Notification: Performance of Templates: time 0.005046/0.01933, allocations: 3.285 MB / 286.7 MB, free: 3.352 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 -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.7152255829423666]