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.001275/0.001275, allocations: 123.9 kB / 17.79 MB, free: 5.266 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.001223/0.001223, allocations: 185.2 kB / 20.73 MB, free: 2.332 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.366/1.366, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 55.91 kB / 365.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09891/0.1004, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003207/0.1036, allocations: 1.857 MB / 419.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1053, allocations: 0.9897 MB / 420.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.1054, allocations: 0 / 420.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.1055, allocations: 19.73 kB / 420.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.1057, allocations: 39.66 kB / 420.7 MB, free: 9.703 MB / 350.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.0006869/0.1064, allocations: 187.5 kB / 420.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.1066, allocations: 223.4 kB / 421.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.1068, allocations: 44.3 kB / 421.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1069, allocations: 95.67 kB / 421.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005128/0.1074, allocations: 121.7 kB / 421.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.104e-05/0.1075, allocations: 24 kB / 421.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.1078, allocations: 139.8 kB / 421.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.1078, allocations: 51.83 kB / 421.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.1079, allocations: 99.45 kB / 421.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.1084, allocations: 298.8 kB / 422 MB, free: 8.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1084, allocations: 0 / 422 MB, free: 8.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1084, allocations: 0 / 422 MB, free: 8.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1084, allocations: 0 / 422 MB, free: 8.441 MB / 350.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.001144/0.1095, allocations: 0.5657 MB / 422.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1095, allocations: 8.031 kB / 422.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.844e-05/0.1096, allocations: 46.73 kB / 422.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.1098, allocations: 36.78 kB / 422.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.1102, allocations: 252.3 kB / 422.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.1102, allocations: 16 kB / 422.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.1102, allocations: 19.94 kB / 422.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.1107, allocations: 214.2 kB / 423.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1107, allocations: 4 kB / 423.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.1107, allocations: 4 kB / 423.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1107, allocations: 4 kB / 423.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/0.1112, allocations: 152.2 kB / 423.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.1123, allocations: 0.5787 MB / 423.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.1133, allocations: 294.7 kB / 424.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.1136, allocations: 120.6 kB / 424.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1136, allocations: 4.062 kB / 424.2 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003946/0.114, allocations: 172.9 kB / 424.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.502e-06/0.114, allocations: 0 / 424.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009857/0.115, allocations: 351.3 kB / 424.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.115, allocations: 59.41 kB / 424.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.1153, allocations: 215.7 kB / 425 MB, free: 5.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.1153, allocations: 37.69 kB / 425.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1154, allocations: 140.5 kB / 425.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/0.1155, allocations: 75.38 kB / 425.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1156, allocations: 69.69 kB / 425.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.1158, allocations: 330.8 kB / 425.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.1161, allocations: 127.9 kB / 425.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.1165, allocations: 173.8 kB / 426 MB, free: 4.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/0.1171, allocations: 264.6 kB / 426.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1171, allocations: 4 kB / 426.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00082/0.1179, allocations: 369.2 kB / 426.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1179, allocations: 4 kB / 426.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1179, allocations: 4 kB / 426.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.118, allocations: 8.031 kB / 426.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.1183, allocations: 67.89 kB / 426.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.1183, allocations: 7.938 kB / 426.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.1184, allocations: 35.81 kB / 426.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.1185, allocations: 12 kB / 426.7 MB, free: 3.426 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.0001614/0.1186, allocations: 150.4 kB / 426.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.1187, allocations: 23.84 kB / 426.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.847e-05/0.1187, allocations: 25.86 kB / 426.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1187, allocations: 0 / 426.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.1187, allocations: 3.938 kB / 426.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1187, allocations: 4 kB / 426.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.1199, allocations: 0.6309 MB / 427.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.066e-06/0.1199, allocations: 0 / 427.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.1202, allocations: 39.97 kB / 427.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1202, allocations: 4 kB / 427.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.1202, allocations: 3.984 kB / 427.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1202, allocations: 7.938 kB / 427.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.1202, allocations: 11.88 kB / 427.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.1213, allocations: 481.8 kB / 428.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/0.1213, allocations: 100.9 kB / 428.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.1214, allocations: 8.062 kB / 428.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.1216, allocations: 27.91 kB / 428.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.1217, allocations: 11.98 kB / 428.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1217, allocations: 8 kB / 428.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.1218, allocations: 155.2 kB / 428.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1218, allocations: 0 / 428.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.1222, allocations: 67.88 kB / 428.5 MB, free: 1.578 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 (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.001711/0.1239, allocations: 1.118 MB / 429.6 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007479/0.1246, allocations: 268.1 kB / 429.8 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1246, allocations: 0 / 429.8 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.1249, allocations: 107.9 kB / 429.9 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.1253, allocations: 19.98 kB / 430 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.1295, allocations: 2.82 MB / 432.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.1299, allocations: 0.7359 MB / 433.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.1301, allocations: 33.94 kB / 433.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1302, allocations: 67.41 kB / 433.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1302, allocations: 0 / 433.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.1606, allocations: 5.371 MB / 439 MB, free: 7.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.539, allocations: 0 / 439 MB, free: 7.055 MB / 366.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.333732104860246]