Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00187/0.00187, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002229/0.002229, allocations: 214.7 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.89 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.288, allocations: 53.4 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003153/0.2912, allocations: 1.51 MB / 432.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2925, allocations: 0.5958 MB / 433.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.2925, allocations: 0 / 433.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.737e-05/0.2926, allocations: 11.86 kB / 433.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.78e-05/0.2927, allocations: 19.81 kB / 433.3 MB, free: 4.543 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.000585/0.2933, allocations: 155.5 kB / 433.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.2935, allocations: 111.7 kB / 433.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.2935, allocations: 9.297 kB / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.2936, allocations: 55.77 kB / 433.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006089/0.2942, allocations: 69.7 kB / 433.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.2942, allocations: 8 kB / 433.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.2945, allocations: 147.8 kB / 433.9 MB, free: 4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.2946, allocations: 35.89 kB / 433.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.126e-05/0.2946, allocations: 63.66 kB / 434 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.295, allocations: 195.7 kB / 434.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.295, allocations: 4 kB / 434.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.295, allocations: 0 / 434.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.295, allocations: 0 / 434.2 MB, free: 3.715 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007106/0.2957, allocations: 385.4 kB / 434.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2957, allocations: 8.031 kB / 434.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.78e-05/0.2958, allocations: 38.73 kB / 434.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003149/0.2961, allocations: 44.83 kB / 434.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.2963, allocations: 135.1 kB / 434.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.2963, allocations: 8.375 kB / 434.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.2963, allocations: 4.375 kB / 434.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.2966, allocations: 127.8 kB / 434.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2966, allocations: 3.938 kB / 434.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2966, allocations: 4 kB / 434.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.2966, allocations: 0 / 434.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.2968, allocations: 63.89 kB / 435 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007084/0.2975, allocations: 419.8 kB / 435.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.2978, allocations: 129.1 kB / 435.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.2979, allocations: 49.75 kB / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.2979, allocations: 0 / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.2982, allocations: 141.1 kB / 435.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.2982, allocations: 0 / 435.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000551/0.2987, allocations: 237.5 kB / 435.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/0.2988, allocations: 97.08 kB / 436 MB, free: 1.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.299, allocations: 178.2 kB / 436.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.2991, allocations: 49.69 kB / 436.2 MB, free: 1.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.2991, allocations: 104.6 kB / 436.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.2992, allocations: 47.62 kB / 436.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-05/0.2993, allocations: 53.94 kB / 436.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.2994, allocations: 338.7 kB / 436.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.2996, allocations: 96.47 kB / 436.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.2998, allocations: 128.1 kB / 437 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.3002, allocations: 202.9 kB / 437.2 MB, free: 448 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3002, allocations: 4 kB / 437.2 MB, free: 444 kB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004946/0.3007, allocations: 297.4 kB / 437.5 MB, free: 140 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3007, allocations: 8.062 kB / 437.5 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3007, allocations: 3.938 kB / 437.5 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.3007, allocations: 4 kB / 437.5 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.3009, allocations: 27.97 kB / 437.5 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3009, allocations: 0 / 437.5 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.3009, allocations: 23.83 kB / 437.5 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.301, allocations: 4 kB / 437.5 MB, free: 68 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001578/0.3011, allocations: 157.7 kB / 437.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.3011, allocations: 12 kB / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.3012, allocations: 21.38 kB / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3012, allocations: 0 / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3012, allocations: 0 / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3012, allocations: 4 kB / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.3014, allocations: 176.6 kB / 437.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3014, allocations: 0 / 437.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.3014, allocations: 15.98 kB / 437.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3014, allocations: 7.938 kB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.3014, allocations: 8 kB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3014, allocations: 0 / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3014, allocations: 0 / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.3018, allocations: 225.7 kB / 438.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.3018, allocations: 11.91 kB / 438.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.3019, allocations: 23.92 kB / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.3019, allocations: 0 / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.113e-05/0.302, allocations: 15.97 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.302, allocations: 0 / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.3021, allocations: 132.2 kB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3021, allocations: 0 / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.3024, allocations: 51.86 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001227/0.3036, allocations: 0.9152 MB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004265/0.3041, allocations: 176.4 kB / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3041, allocations: 4 kB / 439.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.3042, allocations: 43.97 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.3043, allocations: 10.94 kB / 439.5 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.3069, allocations: 2.103 MB / 441.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3072, allocations: 0.7157 MB / 442.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.269e-05/0.3073, allocations: 16.95 kB / 442.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.3074, allocations: 39.42 kB / 442.4 MB, free: 11 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3074, allocations: 0 / 442.4 MB, free: 11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.3401, allocations: 3.855 MB / 446.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.32, allocations: 3.672 kB / 446.3 MB, free: 7.25 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039208 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.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: 13.914037835998897]