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.001456/0.001456, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001632/0.001632, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.001531/0.001531, allocations: 43.94 kB / 379 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2721, allocations: 53.36 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003484/0.2756, allocations: 1.887 MB / 434.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.2781, allocations: 1.341 MB / 435.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2782, allocations: 4 kB / 435.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.2784, allocations: 19.73 kB / 435.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.2785, allocations: 35.66 kB / 435.7 MB, free: 3.605 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.0009943/0.2795, allocations: 319.1 kB / 436 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.2798, allocations: 223.5 kB / 436.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.28, allocations: 52.55 kB / 436.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.2801, allocations: 95.62 kB / 436.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006762/0.2808, allocations: 129.4 kB / 436.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.2809, allocations: 20 kB / 436.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005705/0.2814, allocations: 335.4 kB / 436.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.311e-05/0.2815, allocations: 51.84 kB / 436.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.2816, allocations: 103.4 kB / 437 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005753/0.2822, allocations: 403.7 kB / 437.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2822, allocations: 0 / 437.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2822, allocations: 3.938 kB / 437.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.2822, allocations: 0 / 437.4 MB, free: 1.914 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.001181/0.2834, allocations: 0.5058 MB / 437.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2834, allocations: 15.98 kB / 437.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.2837, allocations: 36.78 kB / 437.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.2839, allocations: 182.2 kB / 438.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.284, allocations: 12.66 kB / 438.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.284, allocations: 24.12 kB / 438.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.2845, allocations: 193 kB / 438.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2845, allocations: 4 kB / 438.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.2845, allocations: 8 kB / 438.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2846, allocations: 4 kB / 438.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004746/0.285, allocations: 152.4 kB / 438.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.2862, allocations: 0.5468 MB / 439.1 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.2872, allocations: 298.6 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.2875, allocations: 107.9 kB / 439.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.2875, allocations: 4 kB / 439.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004005/0.2879, allocations: 163.2 kB / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.964e-06/0.2879, allocations: 0 / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001008/0.2889, allocations: 357.2 kB / 440 MB, free: 15.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.289, allocations: 67.34 kB / 440 MB, free: 15.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.2892, allocations: 218.7 kB / 440.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.2893, allocations: 41.69 kB / 440.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.2894, allocations: 128.6 kB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.184e-05/0.2895, allocations: 71.42 kB / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.2896, allocations: 73.64 kB / 440.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2898, allocations: 330.8 kB / 440.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.2901, allocations: 131.9 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.2905, allocations: 173.4 kB / 441.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006709/0.2912, allocations: 271.2 kB / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2912, allocations: 0 / 441.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000838/0.292, allocations: 383.9 kB / 441.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.292, allocations: 4 kB / 441.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.292, allocations: 0 / 441.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.292, allocations: 4 kB / 441.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.2924, allocations: 63.89 kB / 441.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2924, allocations: 0 / 441.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.2926, allocations: 51.78 kB / 441.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.2926, allocations: 11.98 kB / 441.9 MB, free: 13.16 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.0001695/0.2927, allocations: 147.2 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.2928, allocations: 23.86 kB / 442.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.61e-05/0.2929, allocations: 25.89 kB / 442.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2929, allocations: 3.938 kB / 442.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2929, allocations: 4 kB / 442.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2929, allocations: 3.984 kB / 442.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.294, allocations: 0.6004 MB / 442.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.294, allocations: 8 kB / 442.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.2943, allocations: 39.95 kB / 442.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2943, allocations: 0 / 442.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.2943, allocations: 4 kB / 442.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2943, allocations: 0 / 442.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2943, allocations: 3.938 kB / 442.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.2954, allocations: 483.1 kB / 443.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.2954, allocations: 19.92 kB / 443.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.2954, allocations: 11.94 kB / 443.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.2956, allocations: 23.97 kB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.2957, allocations: 15.97 kB / 443.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.2957, allocations: 8 kB / 443.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.2958, allocations: 156.7 kB / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2958, allocations: 0 / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004305/0.2963, allocations: 99.73 kB / 443.6 MB, free: 11.42 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.000663/0.2969, allocations: 275.6 kB / 443.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007373/0.2977, allocations: 266 kB / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2977, allocations: 0 / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.298, allocations: 107.9 kB / 444.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.2983, allocations: 35.81 kB / 444.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.2993, allocations: 492 kB / 444.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.2997, allocations: 0.7436 MB / 445.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.2998, allocations: 31.42 kB / 445.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2998, allocations: 0 / 445.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of Templates: time 0.007292/0.3071, allocations: 4.136 MB / 449.7 MB, free: 5.324 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.806302968179807]