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.0007627/0.0007627, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.002306, allocations: 449.7 kB / 10.37 MB, free: 324 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.001101/0.001101, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002482, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9774/0.9774, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09715/1.075, allocations: 53.86 MB / 243.7 MB, free: 14.91 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 2.124e-06/2.124e-06, allocations: 0 / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.641e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002246/0.002262, allocations: 1.912 MB / 246.9 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.003941, allocations: 1.028 MB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.902e-05/0.00404, allocations: 4 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.075e-05/0.004111, allocations: 19.73 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.004227, allocations: 35.66 kB / 248 MB, free: 10.61 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.0005977/0.004825, allocations: 187.3 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.005096, allocations: 223.4 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.005247, allocations: 46.52 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.005447, allocations: 156.6 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.005862, allocations: 99.3 kB / 248.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.00591, allocations: 24 kB / 248.8 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.006217, allocations: 163.6 kB / 248.9 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.006274, allocations: 39.88 kB / 249 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.625e-05/0.00635, allocations: 47.88 kB / 249 MB, free: 9.648 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.006697, allocations: 227.2 kB / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.006711, allocations: 0 / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006712, allocations: 0 / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.006726, allocations: 0 / 249.2 MB, free: 9.426 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.0007587/0.007485, allocations: 0.4966 MB / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.007518, allocations: 8.625 kB / 249.7 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.00771, allocations: 129.9 kB / 249.9 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.007887, allocations: 175 kB / 250 MB, free: 8.551 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.007908, allocations: 12.66 kB / 250 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.007941, allocations: 20.38 kB / 250.1 MB, free: 8.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.008144, allocations: 127.8 kB / 250.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.008152, allocations: 192 / 250.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.008165, allocations: 16.25 kB / 250.2 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.008171, allocations: 7.922 kB / 250.2 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.005e-05/0.008241, allocations: 36.55 kB / 250.2 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.008748, allocations: 350.2 kB / 250.6 MB, free: 7.973 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.009066, allocations: 178.3 kB / 250.8 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.00911, allocations: 32.78 kB / 250.8 MB, free: 7.754 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.009131, allocations: 8 kB / 250.8 MB, free: 7.746 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.009265, allocations: 102.1 kB / 250.9 MB, free: 7.633 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.009266, allocations: 4 kB / 250.9 MB, free: 7.629 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002004/0.009467, allocations: 124.2 kB / 251 MB, free: 7.508 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.00951, allocations: 59.34 kB / 251.1 MB, free: 7.438 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.009624, allocations: 194.3 kB / 251.3 MB, free: 7.234 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.009652, allocations: 41.7 kB / 251.3 MB, free: 7.188 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.009714, allocations: 132.4 kB / 251.4 MB, free: 7.055 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.009753, allocations: 67.41 kB / 251.5 MB, free: 6.988 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.009817, allocations: 69.95 kB / 251.6 MB, free: 6.914 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.00991, allocations: 346.7 kB / 251.9 MB, free: 6.566 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.009969, allocations: 42.34 kB / 252 MB, free: 6.523 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.01004, allocations: 61.66 kB / 252 MB, free: 6.457 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.01017, allocations: 121 kB / 252.1 MB, free: 6.328 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01017, allocations: 3.938 kB / 252.1 MB, free: 6.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0001781/0.01035, allocations: 166.9 kB / 252.3 MB, free: 6.156 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.01036, allocations: 4 kB / 252.3 MB, free: 6.152 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01037, allocations: 3.938 kB / 252.3 MB, free: 6.148 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.01038, allocations: 4 kB / 252.3 MB, free: 6.145 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.01057, allocations: 91.91 kB / 252.4 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.01057, allocations: 0 / 252.4 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.01065, allocations: 43.75 kB / 252.4 MB, free: 6.012 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.01066, allocations: 4 kB / 252.4 MB, free: 6.008 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 9.529e-05/0.01076, allocations: 129.8 kB / 252.6 MB, free: 5.871 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.01078, allocations: 15.98 kB / 252.6 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.01082, allocations: 25.95 kB / 252.6 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.01083, allocations: 4 kB / 252.6 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.01084, allocations: 0 / 252.6 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.01084, allocations: 3.938 kB / 252.6 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.01117, allocations: 358.4 kB / 253 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.01117, allocations: 7.938 kB / 253 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.0113, allocations: 47.89 kB / 253 MB, free: 5.391 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.01131, allocations: 15.84 kB / 253 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01132, allocations: 4 kB / 253 MB, free: 5.371 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.01133, allocations: 11.98 kB / 253.1 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.01133, allocations: 0 / 253.1 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01133, allocations: 0 / 253.1 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.01156, allocations: 285.9 kB / 253.3 MB, free: 5.062 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.01158, allocations: 11.98 kB / 253.3 MB, free: 5.051 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.01166, allocations: 15.98 kB / 253.4 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.0117, allocations: 15.97 kB / 253.4 MB, free: 5.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.0117, allocations: 4 kB / 253.4 MB, free: 5.016 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.42e-05/0.01175, allocations: 68.58 kB / 253.5 MB, free: 4.945 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01175, allocations: 0 / 253.5 MB, free: 4.945 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.01196, allocations: 63.89 kB / 253.5 MB, free: 4.883 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.0004017/0.01236, allocations: 233.9 kB / 253.7 MB, free: 4.691 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.01255, allocations: 113.9 kB / 253.9 MB, free: 4.578 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.01256, allocations: 7.984 kB / 253.9 MB, free: 4.57 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.047e-05/0.01262, allocations: 40.78 kB / 253.9 MB, free: 4.527 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.0128, allocations: 43.91 kB / 253.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.01345, allocations: 387.2 kB / 254.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.894e-05/0.0135, allocations: 87.83 kB / 254.4 MB, free: 3.973 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.088e-05/0.01358, allocations: 29.62 kB / 254.4 MB, free: 3.945 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/0.01368, allocations: 79.34 kB / 254.5 MB, free: 3.867 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01368, allocations: 3.938 kB / 254.5 MB, free: 3.863 MB / 250.7 MB Notification: Performance of Templates: time 0.005053/0.01873, allocations: 3.334 MB / 257.9 MB, free: 0.5703 MB / 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1889102030545473]