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.001472/0.001472, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001577/0.001577, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001695/0.001695, allocations: 47.92 kB / 378.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2763, allocations: 53.36 MB / 431.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003102/0.2795, allocations: 1.805 MB / 433.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.2818, allocations: 1.243 MB / 434.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.381e-05/0.2819, allocations: 0 / 434.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.282, allocations: 19.73 kB / 434.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.2822, allocations: 35.66 kB / 434.7 MB, free: 3.562 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.0008901/0.2831, allocations: 323.1 kB / 435 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.2833, allocations: 215.5 kB / 435.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.2835, allocations: 52.33 kB / 435.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.2836, allocations: 107.5 kB / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006119/0.2842, allocations: 117.3 kB / 435.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.2843, allocations: 20 kB / 435.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005508/0.2848, allocations: 311.4 kB / 435.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.628e-05/0.2849, allocations: 59.81 kB / 435.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.285, allocations: 91.45 kB / 436 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.2856, allocations: 393 kB / 436.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2856, allocations: 3.984 kB / 436.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2856, allocations: 0 / 436.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2856, allocations: 0 / 436.3 MB, free: 1.91 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.001177/0.2868, allocations: 0.5019 MB / 436.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.2868, allocations: 19.98 kB / 436.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.2871, allocations: 36.73 kB / 436.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.2873, allocations: 182.2 kB / 437.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.2874, allocations: 12.66 kB / 437.1 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/0.2874, allocations: 28.11 kB / 437.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.2879, allocations: 197 kB / 437.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.288, allocations: 0 / 437.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.288, allocations: 4 kB / 437.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.288, allocations: 8 kB / 437.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/0.2885, allocations: 160.4 kB / 437.5 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.2895, allocations: 472.7 kB / 437.9 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.2906, allocations: 294.6 kB / 438.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.2909, allocations: 108.7 kB / 438.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2909, allocations: 4 kB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.2913, allocations: 169.5 kB / 438.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.2913, allocations: 0 / 438.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001055/0.2924, allocations: 349.2 kB / 438.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.2924, allocations: 63.39 kB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.2927, allocations: 199.1 kB / 439.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.2927, allocations: 41.69 kB / 439.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2928, allocations: 132.6 kB / 439.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.2929, allocations: 75.38 kB / 439.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.293, allocations: 65.69 kB / 439.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2931, allocations: 334.8 kB / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.2935, allocations: 139.7 kB / 439.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.2939, allocations: 169.4 kB / 440 MB, free: 14.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/0.2945, allocations: 267.2 kB / 440.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.2946, allocations: 3.938 kB / 440.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008398/0.2954, allocations: 379.9 kB / 440.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2954, allocations: 8 kB / 440.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2954, allocations: 0 / 440.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2954, allocations: 0 / 440.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.2958, allocations: 67.89 kB / 440.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.2958, allocations: 3.984 kB / 440.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.2959, allocations: 43.77 kB / 440.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.296, allocations: 27.86 kB / 440.8 MB, free: 13.25 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.0001562/0.2961, allocations: 137.7 kB / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.2961, allocations: 19.84 kB / 441 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.2962, allocations: 25.95 kB / 441 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2962, allocations: 4 kB / 441 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2962, allocations: 0 / 441 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2962, allocations: 0 / 441 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.2973, allocations: 0.5359 MB / 441.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2973, allocations: 3.938 kB / 441.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.2975, allocations: 47.89 kB / 441.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2975, allocations: 0 / 441.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.2976, allocations: 15.98 kB / 441.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2976, allocations: 0 / 441.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2976, allocations: 0 / 441.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.2987, allocations: 479.1 kB / 442.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.2987, allocations: 15.89 kB / 442.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.2987, allocations: 8.062 kB / 442.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.2989, allocations: 19.97 kB / 442.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.299, allocations: 19.91 kB / 442.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.299, allocations: 4 kB / 442.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.2991, allocations: 144.3 kB / 442.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2991, allocations: 0 / 442.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.2996, allocations: 111.7 kB / 442.4 MB, free: 11.62 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.0006624/0.3003, allocations: 275.2 kB / 442.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007446/0.301, allocations: 262.6 kB / 442.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.301, allocations: 0 / 442.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.3013, allocations: 115.9 kB / 443 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.3016, allocations: 27.16 kB / 443.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009556/0.3026, allocations: 466.3 kB / 443.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.3027, allocations: 133.1 kB / 443.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.3028, allocations: 37.5 kB / 443.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/0.3029, allocations: 19.44 kB / 443.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3029, allocations: 0 / 443.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Templates: time 0.008023/0.3109, allocations: 3.754 MB / 447.5 MB, free: 6.57 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.6303315833210945]