Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 208.4 kB / 23.74 MB, free: 4.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,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_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 43.92 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2666, allocations: 53.38 MB / 431.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003273/0.2699, allocations: 1.885 MB / 433.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.2724, allocations: 1.337 MB / 434.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.2725, allocations: 0 / 434.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.2727, allocations: 19.73 kB / 434.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.2728, allocations: 35.66 kB / 434.9 MB, free: 3.629 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.001144/0.274, allocations: 323.1 kB / 435.2 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.2743, allocations: 219.5 kB / 435.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.2745, allocations: 48.55 kB / 435.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.2746, allocations: 99.62 kB / 435.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006025/0.2752, allocations: 130 kB / 435.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.2752, allocations: 20 kB / 435.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006039/0.2758, allocations: 331.4 kB / 436.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.2759, allocations: 51.84 kB / 436.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.276, allocations: 103.4 kB / 436.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005925/0.2766, allocations: 403.8 kB / 436.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2766, allocations: 0 / 436.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2766, allocations: 0 / 436.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.2767, allocations: 0 / 436.6 MB, free: 1.941 MB / 334.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.001172/0.2778, allocations: 0.5019 MB / 437.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2779, allocations: 23.97 kB / 437.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.2781, allocations: 32.75 kB / 437.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.2783, allocations: 178.2 kB / 437.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.2784, allocations: 20.64 kB / 437.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.2784, allocations: 20.12 kB / 437.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/0.2789, allocations: 196.2 kB / 437.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2789, allocations: 0 / 437.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.2789, allocations: 12 kB / 437.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.2789, allocations: 8 kB / 437.6 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.2794, allocations: 157.2 kB / 437.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.2805, allocations: 0.5391 MB / 438.3 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.2816, allocations: 298.6 kB / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.2819, allocations: 108.8 kB / 438.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.2819, allocations: 3.938 kB / 438.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004045/0.2824, allocations: 168.2 kB / 438.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.332e-06/0.2824, allocations: 0 / 438.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001035/0.2834, allocations: 357.2 kB / 439.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.2834, allocations: 63.41 kB / 439.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.2837, allocations: 218.7 kB / 439.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.2837, allocations: 41.69 kB / 439.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.2838, allocations: 128.6 kB / 439.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.2839, allocations: 83.31 kB / 439.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.284, allocations: 61.69 kB / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2841, allocations: 338.8 kB / 440.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.2845, allocations: 131.9 kB / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.2849, allocations: 165.4 kB / 440.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.2856, allocations: 275.1 kB / 440.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2856, allocations: 0 / 440.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008621/0.2865, allocations: 375.9 kB / 441 MB, free: 13.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2865, allocations: 4 kB / 441 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2865, allocations: 4 kB / 441.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2865, allocations: 0 / 441.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.2868, allocations: 67.89 kB / 441.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2868, allocations: 7.984 kB / 441.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.287, allocations: 43.8 kB / 441.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.287, allocations: 15.98 kB / 441.2 MB, free: 13.18 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.0001472/0.2872, allocations: 142.5 kB / 441.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.2872, allocations: 19.86 kB / 441.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.608e-05/0.2873, allocations: 25.95 kB / 441.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2873, allocations: 11.92 kB / 441.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2873, allocations: 4 kB / 441.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2873, allocations: 0 / 441.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.2884, allocations: 0.596 MB / 442 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2884, allocations: 4 kB / 442 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.2887, allocations: 47.89 kB / 442 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2887, allocations: 4 kB / 442 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2887, allocations: 0 / 442 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2887, allocations: 3.984 kB / 442 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2887, allocations: 4 kB / 442 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.2898, allocations: 485.5 kB / 442.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.2898, allocations: 19.86 kB / 442.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.2898, allocations: 16.12 kB / 442.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.29, allocations: 27.97 kB / 442.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.2901, allocations: 11.97 kB / 442.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.2901, allocations: 7.938 kB / 442.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.2902, allocations: 160.7 kB / 442.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2902, allocations: 0 / 442.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003967/0.2906, allocations: 103.7 kB / 442.9 MB, free: 11.43 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.0005933/0.2912, allocations: 251.2 kB / 443.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007589/0.292, allocations: 263.8 kB / 443.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.292, allocations: 0 / 443.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.2923, allocations: 115.9 kB / 443.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.2926, allocations: 27.88 kB / 443.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009331/0.2936, allocations: 462.4 kB / 444 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.2939, allocations: 0.7436 MB / 444.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.294, allocations: 37.86 kB / 444.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.2941, allocations: 31.42 kB / 444.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2941, allocations: 0 / 444.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of Templates: time 0.008318/0.3024, allocations: 3.719 MB / 448.5 MB, free: 5.789 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.677981622051448]