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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 107.5 kB / 20.44 MB, free: 1.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002366/0.002366, allocations: 184 kB / 23.7 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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=5000,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=5000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 51.92 kB / 370.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2779, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003416/0.2813, allocations: 1.8 MB / 424.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.2833, allocations: 0.9472 MB / 425.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.2834, allocations: 0 / 425.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.2835, allocations: 23.73 kB / 425.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.2837, allocations: 31.66 kB / 425.9 MB, free: 11.65 MB / 334.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.0006156/0.2843, allocations: 199.5 kB / 426.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.2846, allocations: 215.5 kB / 426.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.2848, allocations: 48.36 kB / 426.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.2849, allocations: 99.62 kB / 426.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005918/0.2855, allocations: 115.4 kB / 426.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.2855, allocations: 20 kB / 426.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003207/0.2858, allocations: 155.7 kB / 426.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.2859, allocations: 63.81 kB / 426.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.822e-05/0.286, allocations: 75.59 kB / 426.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.2865, allocations: 293.3 kB / 427.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2865, allocations: 4 kB / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2865, allocations: 0 / 427.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.2865, allocations: 0 / 427.1 MB, free: 10.39 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.001112/0.2876, allocations: 498.1 kB / 427.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2876, allocations: 8.031 kB / 427.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.2878, allocations: 40.78 kB / 427.7 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.2881, allocations: 187.6 kB / 427.9 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.2881, allocations: 16.28 kB / 427.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.2882, allocations: 16 kB / 427.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.2887, allocations: 202.8 kB / 428.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2887, allocations: 0 / 428.1 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.2887, allocations: 4 kB / 428.1 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2887, allocations: 8 kB / 428.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.2891, allocations: 156.2 kB / 428.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.2902, allocations: 476.2 kB / 428.7 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.2912, allocations: 301.9 kB / 429 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.2915, allocations: 112.8 kB / 429.1 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.2916, allocations: 0 / 429.1 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004194/0.292, allocations: 168.9 kB / 429.3 MB, free: 8.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/0.292, allocations: 0 / 429.3 MB, free: 8.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001026/0.293, allocations: 355.1 kB / 429.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.2931, allocations: 63.39 kB / 429.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.2933, allocations: 186.4 kB / 429.9 MB, free: 7.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.2933, allocations: 41.7 kB / 429.9 MB, free: 7.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.2934, allocations: 128.6 kB / 430 MB, free: 7.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.2935, allocations: 79.39 kB / 430.1 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.2936, allocations: 73.67 kB / 430.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2938, allocations: 334.8 kB / 430.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.2942, allocations: 135.8 kB / 430.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.2946, allocations: 161.6 kB / 430.8 MB, free: 6.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/0.2952, allocations: 267.2 kB / 431.1 MB, free: 6.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2952, allocations: 4 kB / 431.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008504/0.2961, allocations: 376.6 kB / 431.4 MB, free: 5.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2961, allocations: 4 kB / 431.4 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2961, allocations: 0 / 431.4 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2961, allocations: 4 kB / 431.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.2964, allocations: 67.88 kB / 431.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.2964, allocations: 0 / 431.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.2966, allocations: 39.83 kB / 431.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.2966, allocations: 15.98 kB / 431.6 MB, free: 5.781 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.0001652/0.2968, allocations: 150.5 kB / 431.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.2968, allocations: 15.91 kB / 431.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/0.2969, allocations: 21.95 kB / 431.8 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2969, allocations: 4 kB / 431.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2969, allocations: 0 / 431.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2969, allocations: 0 / 431.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.298, allocations: 0.5485 MB / 432.3 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.298, allocations: 0 / 432.3 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.2983, allocations: 43.95 kB / 432.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2983, allocations: 0 / 432.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.2983, allocations: 12 kB / 432.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2983, allocations: 0 / 432.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2983, allocations: 0 / 432.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.2994, allocations: 490.7 kB / 432.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.2995, allocations: 31.72 kB / 432.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.2995, allocations: 8.062 kB / 432.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.2997, allocations: 23.97 kB / 432.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.2997, allocations: 7.984 kB / 432.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.2998, allocations: 7.984 kB / 432.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.2999, allocations: 140.3 kB / 433.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2999, allocations: 0 / 433.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003363/0.3002, allocations: 67.92 kB / 433.1 MB, free: 4.168 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.0004751/0.3007, allocations: 200.5 kB / 433.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007485/0.3014, allocations: 260.4 kB / 433.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3014, allocations: 0 / 433.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.3018, allocations: 111.9 kB / 433.7 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3021, allocations: 35.11 kB / 433.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009188/0.303, allocations: 458.2 kB / 434.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.3032, allocations: 129.2 kB / 434.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.3033, allocations: 29.62 kB / 434.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.211e-05/0.3034, allocations: 27.42 kB / 434.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3034, allocations: 0 / 434.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of Templates: time 0.007631/0.311, allocations: 3.132 MB / 437.5 MB, free: 15.82 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.668568575754762]