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.001917/0.001917, allocations: 87.5 kB / 20.68 MB, free: 1.02 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.002429/0.002429, allocations: 165.9 kB / 23.95 MB, free: 4.148 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.456/1.456, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.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 2.104e-06/2.104e-06, allocations: 0 / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.723e-05, allocations: 2.281 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003172/0.003199, allocations: 1.819 MB / 326.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.005223, allocations: 0.9879 MB / 327.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.005314, allocations: 5.156 kB / 327.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.005459, allocations: 24.22 kB / 327.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.005661, allocations: 37.3 kB / 327.9 MB, free: 14.54 MB / 302.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.0005837/0.006245, allocations: 190.8 kB / 328.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.006533, allocations: 221.7 kB / 328.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.006695, allocations: 46.97 kB / 328.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.006904, allocations: 142.9 kB / 328.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005989/0.007503, allocations: 100.7 kB / 328.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.032e-05/0.007553, allocations: 20.34 kB / 328.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000357/0.00791, allocations: 155.7 kB / 328.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.008, allocations: 59.36 kB / 328.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.008108, allocations: 67.66 kB / 328.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005464/0.008654, allocations: 318.7 kB / 329.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.008657, allocations: 0 / 329.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.008658, allocations: 7.875 kB / 329.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.008664, allocations: 1.125 kB / 329.2 MB, free: 13.96 MB / 302.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.001161/0.009825, allocations: 494.3 kB / 329.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.00986, allocations: 10 kB / 329.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.01008, allocations: 35.59 kB / 329.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.01035, allocations: 196.5 kB / 329.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.01039, allocations: 17.91 kB / 329.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.01043, allocations: 16.81 kB / 330 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.01096, allocations: 209.2 kB / 330.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.01097, allocations: 192 / 330.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.011, allocations: 5.406 kB / 330.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.011, allocations: 8.281 kB / 330.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.01153, allocations: 156.9 kB / 330.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.01257, allocations: 469.1 kB / 330.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.01373, allocations: 292.5 kB / 331.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.01405, allocations: 112.7 kB / 331.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.01407, allocations: 6.281 kB / 331.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004349/0.01451, allocations: 170.5 kB / 331.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/0.01451, allocations: 0 / 331.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001113/0.01562, allocations: 346.4 kB / 331.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.01568, allocations: 65 kB / 331.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.0159, allocations: 211.3 kB / 332 MB, free: 12.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.01594, allocations: 40.45 kB / 332 MB, free: 12.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01604, allocations: 137.7 kB / 332.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.668e-05/0.01611, allocations: 68.53 kB / 332.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.01622, allocations: 75.31 kB / 332.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.01637, allocations: 332.5 kB / 332.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.01675, allocations: 128.8 kB / 332.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.01717, allocations: 164.2 kB / 332.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007044/0.01788, allocations: 265 kB / 333.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01788, allocations: 0 / 333.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009075/0.01879, allocations: 385.1 kB / 333.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.0188, allocations: 5.469 kB / 333.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.01881, allocations: 8.984 kB / 333.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.01883, allocations: 2.375 kB / 333.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.01915, allocations: 72.45 kB / 333.6 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.01915, allocations: 2.531 kB / 333.6 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.01934, allocations: 35.27 kB / 333.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.01937, allocations: 10.88 kB / 333.7 MB, free: 10.98 MB / 302.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.0001545/0.01953, allocations: 143.8 kB / 333.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.01956, allocations: 19.42 kB / 333.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.156e-05/0.01964, allocations: 33.42 kB / 333.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01964, allocations: 2.844 kB / 333.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01964, allocations: 0 / 333.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01965, allocations: 0 / 333.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.02075, allocations: 0.5271 MB / 334.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.02076, allocations: 1.438 kB / 334.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.02104, allocations: 40.89 kB / 334.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.02104, allocations: 1.375 kB / 334.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.02106, allocations: 9.422 kB / 334.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.02106, allocations: 1.125 kB / 334.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.02107, allocations: 9.188 kB / 334.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.02221, allocations: 485.2 kB / 334.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.02224, allocations: 18.78 kB / 334.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.02228, allocations: 7.906 kB / 334.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.02249, allocations: 22.78 kB / 335 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.02255, allocations: 17.12 kB / 335 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.02256, allocations: 4.281 kB / 335 MB, free: 10.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.0227, allocations: 142.7 kB / 335.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0227, allocations: 0 / 335.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003788/0.02308, allocations: 76.11 kB / 335.2 MB, free: 9.906 MB / 302.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.0004999/0.02358, allocations: 203.2 kB / 335.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008371/0.02441, allocations: 275.1 kB / 335.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.02442, allocations: 1.062 kB / 335.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.02478, allocations: 105.1 kB / 335.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.02511, allocations: 22.36 kB / 335.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.02612, allocations: 442.2 kB / 336.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.02626, allocations: 130.1 kB / 336.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.02637, allocations: 29.2 kB / 336.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.001e-05/0.02646, allocations: 28.45 kB / 336.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.02646, allocations: 4 kB / 336.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of Templates: time 0.007646/0.03411, allocations: 2.952 MB / 339.4 MB, free: 6.484 MB / 302.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.243955995887518]