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.00154/0.00154, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001574/0.001574, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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.023/1.023, allocations: 177 MB / 205.1 MB, free: 5.496 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.883e-06/1.883e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.941e-05, allocations: 5.125 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.005895/0.005924, allocations: 1.855 MB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004879/0.0108, allocations: 1.009 MB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.01092, allocations: 0 / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.01104, allocations: 23.67 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.01122, allocations: 39.59 kB / 276.3 MB, free: 14.28 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.0005831/0.0118, allocations: 195.3 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.01205, allocations: 223.4 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.01219, allocations: 52.53 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.01235, allocations: 131.7 kB / 276.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004441/0.01279, allocations: 113.1 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.01284, allocations: 20 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.01614, allocations: 155.7 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.0162, allocations: 59.8 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.489e-05/0.01628, allocations: 63.77 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.01668, allocations: 267 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01668, allocations: 4 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.01668, allocations: 0 / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.01669, allocations: 0 / 277.5 MB, free: 13.03 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.00081/0.0175, allocations: 0.5786 MB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.01754, allocations: 8.031 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.01773, allocations: 56.73 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.01793, allocations: 197.5 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.01796, allocations: 16.66 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.01799, allocations: 16.38 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.01823, allocations: 124 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.01824, allocations: 192 / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.01826, allocations: 8.375 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.01827, allocations: 7.938 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.422e-05/0.01836, allocations: 44.45 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003861/0.02222, allocations: 496.6 kB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.0226, allocations: 155.2 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.02266, allocations: 35.66 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.02268, allocations: 12 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.02283, allocations: 104.9 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.02283, allocations: 0 / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003187/0.02315, allocations: 164.8 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.02319, allocations: 67.33 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.02335, allocations: 250.3 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.02337, allocations: 37.7 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.491e-05/0.02346, allocations: 179.3 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.02351, allocations: 75.36 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.871e-05/0.02361, allocations: 79.61 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.02375, allocations: 0.504 MB / 280.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.769e-05/0.02382, allocations: 43.7 kB / 280.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.02393, allocations: 75.94 kB / 280.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.02408, allocations: 113 kB / 280.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.02409, allocations: 0 / 280.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002798/0.02437, allocations: 211.9 kB / 281.1 MB, free: 9.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.02438, allocations: 4 kB / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.02439, allocations: 0 / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.0244, allocations: 7.938 kB / 281.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.02462, allocations: 83.91 kB / 281.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.02462, allocations: 0 / 281.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.751e-05/0.02472, allocations: 39.77 kB / 281.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.02474, allocations: 7.984 kB / 281.3 MB, free: 9.07 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,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 0.000106/0.02485, allocations: 180.5 kB / 281.4 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.02488, allocations: 19.91 kB / 281.5 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.02493, allocations: 25.95 kB / 281.5 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.02494, allocations: 7.938 kB / 281.5 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.02494, allocations: 0 / 281.5 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.02494, allocations: 0 / 281.5 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.02542, allocations: 441.7 kB / 281.9 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.02542, allocations: 4 kB / 281.9 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.02556, allocations: 39.95 kB / 282 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.02556, allocations: 0 / 282 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.02558, allocations: 8 kB / 282 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.02558, allocations: 4 kB / 282 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.02559, allocations: 0 / 282 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.02593, allocations: 346.5 kB / 282.3 MB, free: 7.957 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.02595, allocations: 15.84 kB / 282.3 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.02598, allocations: 4 kB / 282.3 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.02609, allocations: 24.03 kB / 282.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.02613, allocations: 15.97 kB / 282.4 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.02614, allocations: 8 kB / 282.4 MB, free: 7.891 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.908e-05/0.02622, allocations: 168.2 kB / 282.6 MB, free: 7.727 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02622, allocations: 4 kB / 282.6 MB, free: 7.723 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003155/0.02653, allocations: 71.81 kB / 282.6 MB, free: 7.652 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.0003982/0.02693, allocations: 202.5 kB / 282.8 MB, free: 7.469 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.0272, allocations: 139.5 kB / 283 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.0272, allocations: 4 kB / 283 MB, free: 7.324 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.594e-05/0.02729, allocations: 62.8 kB / 283 MB, free: 7.262 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.02762, allocations: 27.98 kB / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.0315, allocations: 387.4 kB / 283.4 MB, free: 6.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.17e-05/0.03156, allocations: 84.09 kB / 283.5 MB, free: 6.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.243e-05/0.03165, allocations: 21.62 kB / 283.5 MB, free: 6.695 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.03177, allocations: 110.2 kB / 283.6 MB, free: 6.586 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03177, allocations: 0 / 283.6 MB, free: 6.586 MB / 266.7 MB Notification: Performance of Templates: time 0.01436/0.04614, allocations: 3.344 MB / 287 MB, free: 3.277 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.798161221668124]