Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.0008209/0.0008209, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008076/0.0008076, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8625/0.8625, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.408e-05, allocations: 6.219 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.001923/0.001937, allocations: 1.821 MB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003056, allocations: 0.9857 MB / 327.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.661e-05/0.003132, allocations: 4 kB / 327.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.472e-05/0.003227, allocations: 19.73 kB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.003381, allocations: 39.66 kB / 327.4 MB, free: 13.04 MB / 298.7 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.0003926/0.003773, allocations: 199.2 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.003953, allocations: 219.4 kB / 327.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.004076, allocations: 52.94 kB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.00418, allocations: 135.6 kB / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000346/0.004526, allocations: 98.41 kB / 328.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.004557, allocations: 20 kB / 328.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.00474, allocations: 159.6 kB / 328.3 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.004788, allocations: 63.75 kB / 328.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.004848, allocations: 67.81 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.005149, allocations: 323 kB / 328.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005151, allocations: 3.984 kB / 328.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005152, allocations: 0 / 328.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.005157, allocations: 0 / 328.8 MB, free: 11.73 MB / 298.7 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.0006814/0.005838, allocations: 0.4898 MB / 329.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.005871, allocations: 8.031 kB / 329.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.419e-05/0.005935, allocations: 54.69 kB / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.006054, allocations: 36.78 kB / 329.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.00623, allocations: 193.2 kB / 329.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.00625, allocations: 12.38 kB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.006276, allocations: 20.38 kB / 329.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.006558, allocations: 207.4 kB / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.006566, allocations: 0 / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.00658, allocations: 8 kB / 329.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.006585, allocations: 4 kB / 329.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.006839, allocations: 153.1 kB / 329.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.007469, allocations: 0.5075 MB / 330.4 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/0.008034, allocations: 302.6 kB / 330.7 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.008186, allocations: 104.8 kB / 330.8 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.008201, allocations: 7.938 kB / 330.8 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.008425, allocations: 170 kB / 331 MB, free: 9.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.008426, allocations: 0 / 331 MB, free: 9.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005542/0.00898, allocations: 360.4 kB / 331.4 MB, free: 8.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.009017, allocations: 63.39 kB / 331.4 MB, free: 8.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.009168, allocations: 223 kB / 331.6 MB, free: 8.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.009189, allocations: 33.7 kB / 331.7 MB, free: 8.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.00925, allocations: 136.6 kB / 331.8 MB, free: 8.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.009302, allocations: 79.38 kB / 331.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.396e-05/0.009366, allocations: 61.69 kB / 331.9 MB, free: 8.363 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.009443, allocations: 342.8 kB / 332.3 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.009654, allocations: 131.7 kB / 332.4 MB, free: 7.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.009846, allocations: 158.2 kB / 332.6 MB, free: 7.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.01019, allocations: 287 kB / 332.8 MB, free: 7.445 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.01019, allocations: 0 / 332.8 MB, free: 7.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004831/0.01067, allocations: 374.5 kB / 333.2 MB, free: 7.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.01068, allocations: 4 kB / 333.2 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01069, allocations: 0 / 333.2 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.0107, allocations: 4 kB / 333.2 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.01084, allocations: 71.88 kB / 333.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01085, allocations: 0 / 333.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/0.01093, allocations: 39.86 kB / 333.3 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.01095, allocations: 15.98 kB / 333.3 MB, free: 6.941 MB / 298.7 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 9.278e-05/0.01104, allocations: 145.6 kB / 333.5 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.01106, allocations: 19.86 kB / 333.5 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.0111, allocations: 25.95 kB / 333.5 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.0111, allocations: 0 / 333.5 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.01111, allocations: 4 kB / 333.5 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01111, allocations: 11.94 kB / 333.5 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005656/0.01167, allocations: 0.5636 MB / 334.1 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.01168, allocations: 0 / 334.1 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.01179, allocations: 47.89 kB / 334.2 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01179, allocations: 4 kB / 334.2 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.0118, allocations: 4 kB / 334.2 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.0118, allocations: 0 / 334.2 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01181, allocations: 4 kB / 334.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005305/0.01234, allocations: 483.1 kB / 334.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.01236, allocations: 23.78 kB / 334.7 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.01238, allocations: 8.062 kB / 334.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.01246, allocations: 27.91 kB / 334.7 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.0125, allocations: 11.97 kB / 334.7 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.01251, allocations: 15.88 kB / 334.7 MB, free: 5.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.612e-05/0.0126, allocations: 160.7 kB / 334.9 MB, free: 5.324 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0126, allocations: 0 / 334.9 MB, free: 5.324 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.0128, allocations: 63.92 kB / 334.9 MB, free: 5.262 MB / 298.7 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.001007/0.01381, allocations: 1.12 MB / 336.1 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004255/0.01423, allocations: 271.5 kB / 336.3 MB, free: 3.891 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01423, allocations: 0 / 336.3 MB, free: 3.891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.01439, allocations: 107.9 kB / 336.4 MB, free: 3.785 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.0146, allocations: 39.86 kB / 336.5 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.01768, allocations: 2.802 MB / 339.3 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.012e-05/0.01777, allocations: 133.5 kB / 339.4 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.01787, allocations: 25.94 kB / 339.4 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.01797, allocations: 72.47 kB / 339.5 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01797, allocations: 0 / 339.5 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.03688, allocations: 6.147 MB / 345.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/6.776, allocations: 9 kB / 345.7 MB, free: 10.59 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.906869961880147]