Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 108.3 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 191 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009644/0.0009645, allocations: 43.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2769, allocations: 49.43 MB / 401.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003288/0.2802, allocations: 1.849 MB / 403.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.2821, allocations: 0.982 MB / 404.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.2823, allocations: 4 kB / 404.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.2824, allocations: 15.75 kB / 404.3 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.2827, allocations: 39.64 kB / 404.3 MB, free: 5.996 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.0006542/0.2834, allocations: 175.5 kB / 404.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.2837, allocations: 219.5 kB / 404.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.2838, allocations: 68.2 kB / 404.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.284, allocations: 95.67 kB / 404.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005152/0.2845, allocations: 127.1 kB / 405 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.2846, allocations: 20 kB / 405 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.2849, allocations: 119.9 kB / 405.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.938e-05/0.2849, allocations: 63.75 kB / 405.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2851, allocations: 107.4 kB / 405.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.2855, allocations: 284.7 kB / 405.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2855, allocations: 0 / 405.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2855, allocations: 0 / 405.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.2855, allocations: 0 / 405.5 MB, free: 4.742 MB / 318.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.001099/0.2866, allocations: 0.5571 MB / 406.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.2867, allocations: 8.031 kB / 406.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.2869, allocations: 36.64 kB / 406.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.2872, allocations: 245.3 kB / 406.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.2872, allocations: 16.28 kB / 406.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.2873, allocations: 23.91 kB / 406.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.2878, allocations: 195.6 kB / 406.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2878, allocations: 0 / 406.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.2878, allocations: 11.94 kB / 406.6 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2878, allocations: 4 kB / 406.6 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.2883, allocations: 152.1 kB / 406.8 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009811/0.2893, allocations: 0.5708 MB / 407.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.2903, allocations: 306.6 kB / 407.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.2906, allocations: 124.7 kB / 407.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2907, allocations: 4 kB / 407.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004106/0.2911, allocations: 173.8 kB / 407.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.844e-06/0.2911, allocations: 0 / 407.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009734/0.2921, allocations: 358.6 kB / 408.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.2921, allocations: 59.41 kB / 408.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.2923, allocations: 215.7 kB / 408.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.2924, allocations: 37.7 kB / 408.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.761e-05/0.2925, allocations: 128.6 kB / 408.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.192e-05/0.2926, allocations: 67.08 kB / 408.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.2927, allocations: 69.69 kB / 408.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2928, allocations: 334.8 kB / 409.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.2932, allocations: 135.9 kB / 409.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.2935, allocations: 158.2 kB / 409.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/0.2942, allocations: 272.5 kB / 409.7 MB, free: 332 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2942, allocations: 0 / 409.7 MB, free: 332 kB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008327/0.295, allocations: 379.1 kB / 410.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.295, allocations: 4 kB / 410.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.295, allocations: 0 / 410.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2951, allocations: 4 kB / 410.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.2954, allocations: 67.89 kB / 410.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2954, allocations: 4.031 kB / 410.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2956, allocations: 47.59 kB / 410.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.2956, allocations: 12 kB / 410.2 MB, free: 15.81 MB / 334.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.0001497/0.2958, allocations: 141.6 kB / 410.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.2958, allocations: 23.66 kB / 410.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.23e-05/0.2959, allocations: 29.86 kB / 410.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2959, allocations: 4 kB / 410.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2959, allocations: 0 / 410.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2959, allocations: 3.938 kB / 410.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.2971, allocations: 0.6253 MB / 411.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.2971, allocations: 7.922 kB / 411.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.2974, allocations: 39.97 kB / 411.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2974, allocations: 0 / 411.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.2974, allocations: 7.984 kB / 411.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2974, allocations: 4 kB / 411.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2974, allocations: 0 / 411.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.2985, allocations: 495.3 kB / 411.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-05/0.2986, allocations: 104.8 kB / 411.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.2986, allocations: 8.062 kB / 411.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.2988, allocations: 15.97 kB / 411.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.2989, allocations: 15.98 kB / 411.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2989, allocations: 4 kB / 411.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.2991, allocations: 151.2 kB / 411.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2991, allocations: 0 / 411.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003689/0.2994, allocations: 71.98 kB / 412 MB, free: 13.97 MB / 334.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 (18): * Single equations (assignments): 16 * 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.0004167/0.2999, allocations: 200.1 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007543/0.3006, allocations: 290.7 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3006, allocations: 0 / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.301, allocations: 119.9 kB / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.3013, allocations: 19.98 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009531/0.3023, allocations: 492.2 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.3026, allocations: 0.7398 MB / 413.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.3027, allocations: 27.42 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3027, allocations: 0 / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of Templates: time 0.007151/0.3099, allocations: 3.403 MB / 417.2 MB, free: 8.676 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches