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.001239/0.001239, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001386/0.001386, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.565/1.565, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.001833/0.001833, allocations: 63.89 kB / 374.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1141, allocations: 53.31 MB / 427.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.004011/0.1181, allocations: 1.881 MB / 429.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1202, allocations: 1.028 MB / 430.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.361e-05/0.1203, allocations: 0 / 430.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.1204, allocations: 19.73 kB / 430.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1206, allocations: 35.66 kB / 430.8 MB, free: 1.504 MB / 350.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.0006057/0.1212, allocations: 183.5 kB / 431 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.1215, allocations: 223.4 kB / 431.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.1216, allocations: 52.28 kB / 431.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.1218, allocations: 103.5 kB / 431.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006552/0.1224, allocations: 113.2 kB / 431.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.1225, allocations: 24 kB / 431.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.1227, allocations: 135.8 kB / 431.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.1228, allocations: 59.7 kB / 431.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1229, allocations: 99.45 kB / 431.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.1234, allocations: 298.8 kB / 432.1 MB, free: 244 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1234, allocations: 0 / 432.1 MB, free: 244 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1234, allocations: 0 / 432.1 MB, free: 244 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1234, allocations: 4 kB / 432.1 MB, free: 240 kB / 350.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.2315/0.3549, allocations: 0.5562 MB / 432.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.3549, allocations: 10.39 kB / 432.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.3552, allocations: 34.86 kB / 432.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.3555, allocations: 240.5 kB / 432.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.3555, allocations: 16.03 kB / 432.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.3555, allocations: 24.36 kB / 433 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.3561, allocations: 193.1 kB / 433.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3561, allocations: 1.188 kB / 433.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.3561, allocations: 10.09 kB / 433.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.3561, allocations: 4.656 kB / 433.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.3566, allocations: 161.8 kB / 433.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.3577, allocations: 0.5679 MB / 433.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.3588, allocations: 299.4 kB / 434.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.359, allocations: 104.8 kB / 434.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3591, allocations: 11.17 kB / 434.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003808/0.3595, allocations: 173 kB / 434.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.3595, allocations: 0 / 434.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001016/0.3605, allocations: 355.9 kB / 434.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.3605, allocations: 61.47 kB / 434.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.3607, allocations: 223.9 kB / 435.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.3607, allocations: 39.86 kB / 435.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.3608, allocations: 131.4 kB / 435.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.3608, allocations: 75.78 kB / 435.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.922e-05/0.3609, allocations: 71.7 kB / 435.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.361, allocations: 333 kB / 435.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.3613, allocations: 132.7 kB / 435.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.3617, allocations: 164.2 kB / 436 MB, free: 10.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/0.3624, allocations: 265.3 kB / 436.3 MB, free: 10 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3624, allocations: 1.188 kB / 436.3 MB, free: 10 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008462/0.3632, allocations: 383.1 kB / 436.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3633, allocations: 5.688 kB / 436.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3633, allocations: 0 / 436.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3633, allocations: 7.031 kB / 436.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.3636, allocations: 76.27 kB / 436.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3636, allocations: 1.094 kB / 436.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.3638, allocations: 40.84 kB / 436.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.3638, allocations: 8.609 kB / 436.8 MB, free: 9.914 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.0001296/0.3639, allocations: 150.4 kB / 436.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.364, allocations: 27.75 kB / 437 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/0.3641, allocations: 23.53 kB / 437 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3641, allocations: 1.438 kB / 437 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.3641, allocations: 1.344 kB / 437 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.3641, allocations: 1.453 kB / 437 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.3652, allocations: 0.6226 MB / 437.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3652, allocations: 3.688 kB / 437.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.3654, allocations: 44.69 kB / 437.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3654, allocations: 1.125 kB / 437.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.3654, allocations: 10.81 kB / 437.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3654, allocations: 5.312 kB / 437.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3654, allocations: 0 / 437.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.3665, allocations: 486.2 kB / 438.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.3666, allocations: 96.62 kB / 438.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.3666, allocations: 9.875 kB / 438.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.3668, allocations: 18.42 kB / 438.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.3668, allocations: 20.19 kB / 438.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3669, allocations: 5.297 kB / 438.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.367, allocations: 162.4 kB / 438.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.367, allocations: 0 / 438.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003789/0.3674, allocations: 67.36 kB / 438.5 MB, free: 8.863 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.0004604/0.3678, allocations: 197.2 kB / 438.7 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007908/0.3686, allocations: 263.8 kB / 439 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3686, allocations: 0.875 kB / 439 MB, free: 8.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.369, allocations: 109.2 kB / 439.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.3693, allocations: 21.05 kB / 439.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009799/0.3703, allocations: 0.4919 MB / 439.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.3705, allocations: 0.735 MB / 440.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.955e-05/0.3705, allocations: 32.02 kB / 440.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3705, allocations: 0 / 440.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of Templates: time 0.006924/0.3775, allocations: 3.4 MB / 443.8 MB, free: 7.328 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.775029480922967]