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.001381/0.001381, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001515/0.001515, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 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.53/1.53, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001989/0.001989, allocations: 55.91 kB / 378.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2333, allocations: 53.38 MB / 432.1 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003127/0.2364, allocations: 1.871 MB / 434 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.2383, allocations: 1.052 MB / 435.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.097e-05/0.2383, allocations: 0 / 435.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.2385, allocations: 19.73 kB / 435.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.2387, allocations: 35.67 kB / 435.1 MB, free: 4.117 MB / 334.1 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.000585/0.2392, allocations: 199.5 kB / 435.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002664/0.2395, allocations: 215.5 kB / 435.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.2397, allocations: 52.53 kB / 435.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.2398, allocations: 103.6 kB / 435.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005484/0.2403, allocations: 124.6 kB / 435.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.2404, allocations: 24 kB / 435.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.2407, allocations: 155.8 kB / 436 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.2408, allocations: 59.77 kB / 436 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.2409, allocations: 103.4 kB / 436.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.2413, allocations: 292.5 kB / 436.4 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2413, allocations: 4 kB / 436.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2413, allocations: 0 / 436.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.2413, allocations: 0 / 436.4 MB, free: 2.82 MB / 334.1 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.001157/0.2425, allocations: 498.1 kB / 436.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2425, allocations: 12.03 kB / 436.9 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.2428, allocations: 40.78 kB / 437 MB, free: 2.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.243, allocations: 190.1 kB / 437.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.2431, allocations: 16.66 kB / 437.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.2431, allocations: 16.38 kB / 437.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.2436, allocations: 199.9 kB / 437.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2436, allocations: 3.938 kB / 437.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.2436, allocations: 8 kB / 437.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2437, allocations: 4 kB / 437.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.2442, allocations: 160.3 kB / 437.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.2453, allocations: 0.543 MB / 438.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.2464, allocations: 294.7 kB / 438.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.2467, allocations: 104.8 kB / 438.5 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.2468, allocations: 11.92 kB / 438.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004467/0.2472, allocations: 163.3 kB / 438.7 MB, free: 476 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.2472, allocations: 0 / 438.7 MB, free: 476 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001115/0.2483, allocations: 364.7 kB / 439 MB, free: 108 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.2484, allocations: 59.39 kB / 439.1 MB, free: 36 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.2486, allocations: 230.7 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.2487, allocations: 33.7 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.2488, allocations: 132.6 kB / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.2488, allocations: 71.44 kB / 439.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.249, allocations: 65.64 kB / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2491, allocations: 338.8 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.2495, allocations: 135.9 kB / 440.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.2499, allocations: 161.4 kB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007262/0.2507, allocations: 271.2 kB / 440.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2507, allocations: 4 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009203/0.2516, allocations: 375.9 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2516, allocations: 11.98 kB / 440.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2516, allocations: 0 / 440.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2516, allocations: 3.938 kB / 440.9 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.2519, allocations: 71.89 kB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.2519, allocations: 0 / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.2521, allocations: 47.75 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.2522, allocations: 12 kB / 441 MB, free: 14.06 MB / 350.1 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 0.0001651/0.2523, allocations: 146.5 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.2524, allocations: 19.86 kB / 441.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.052e-05/0.2525, allocations: 29.89 kB / 441.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.2525, allocations: 4 kB / 441.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2525, allocations: 4 kB / 441.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2525, allocations: 0 / 441.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.2537, allocations: 0.5869 MB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2537, allocations: 4 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.254, allocations: 47.89 kB / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.254, allocations: 0 / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.254, allocations: 7.984 kB / 441.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.254, allocations: 4 kB / 441.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.254, allocations: 4 kB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.2551, allocations: 482.1 kB / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.2552, allocations: 15.86 kB / 442.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.2552, allocations: 8.062 kB / 442.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.2554, allocations: 31.91 kB / 442.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.2555, allocations: 11.97 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.2555, allocations: 8 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.2557, allocations: 160.7 kB / 442.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2557, allocations: 0 / 442.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.2561, allocations: 63.88 kB / 442.6 MB, free: 12.37 MB / 350.1 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.0005317/0.2566, allocations: 200.2 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008157/0.2574, allocations: 267.8 kB / 443.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2574, allocations: 0 / 443.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.2578, allocations: 110.9 kB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.2581, allocations: 34.64 kB / 443.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.2591, allocations: 466.3 kB / 443.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.2596, allocations: 0.7436 MB / 444.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.2597, allocations: 33.88 kB / 444.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.2598, allocations: 27.42 kB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2598, allocations: 0 / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Templates: time 0.008008/0.2678, allocations: 3.029 MB / 447.5 MB, free: 7.457 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.620760643854737]