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.001313/0.001313, allocations: 123 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.001499/0.001499, allocations: 189.2 kB / 20.73 MB, free: 2.328 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.555/1.555, allocations: 225.6 MB / 249.1 MB, free: 3.617 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.002131/0.002131, allocations: 55.92 kB / 365.7 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1103, allocations: 52.14 MB / 417.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003231/0.1136, allocations: 1.857 MB / 419.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1155, allocations: 0.9898 MB / 420.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1156, allocations: 0 / 420.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.1158, allocations: 19.73 kB / 420.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.116, allocations: 39.66 kB / 420.7 MB, free: 9.777 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.0006718/0.1166, allocations: 183.5 kB / 420.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.1169, allocations: 223.4 kB / 421.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.1171, allocations: 48.28 kB / 421.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.1172, allocations: 99.67 kB / 421.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000617/0.1179, allocations: 132 kB / 421.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.1179, allocations: 20 kB / 421.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.1182, allocations: 127.9 kB / 421.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.1182, allocations: 67.75 kB / 421.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.1183, allocations: 103.4 kB / 421.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.1188, allocations: 290.8 kB / 422 MB, free: 8.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1188, allocations: 0 / 422 MB, free: 8.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1188, allocations: 0 / 422 MB, free: 8.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1188, allocations: 0 / 422 MB, free: 8.508 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.001201/0.12, allocations: 0.5657 MB / 422.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1201, allocations: 8.031 kB / 422.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.652e-05/0.1202, allocations: 50.73 kB / 422.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.1204, allocations: 36.78 kB / 422.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1206, allocations: 244.3 kB / 422.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.1207, allocations: 12 kB / 422.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.1207, allocations: 24 kB / 422.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.1212, allocations: 218.1 kB / 423.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1212, allocations: 0 / 423.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.1213, allocations: 4 kB / 423.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1213, allocations: 4 kB / 423.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.1218, allocations: 152.2 kB / 423.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.1229, allocations: 0.5787 MB / 423.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.124, allocations: 305.7 kB / 424.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.1243, allocations: 108.8 kB / 424.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1243, allocations: 0 / 424.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004396/0.1248, allocations: 171.1 kB / 424.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.064e-06/0.1248, allocations: 0 / 424.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001095/0.1259, allocations: 357.3 kB / 424.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.1259, allocations: 55.41 kB / 424.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1262, allocations: 211.8 kB / 425 MB, free: 5.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.1263, allocations: 37.7 kB / 425.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1264, allocations: 140.6 kB / 425.2 MB, free: 5.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.619e-05/0.1265, allocations: 75.33 kB / 425.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.1266, allocations: 69.62 kB / 425.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1268, allocations: 342.8 kB / 425.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.1272, allocations: 127.9 kB / 425.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.1275, allocations: 169.8 kB / 426 MB, free: 4.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.1282, allocations: 264.6 kB / 426.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1282, allocations: 0 / 426.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008766/0.1291, allocations: 373.2 kB / 426.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1291, allocations: 8 kB / 426.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1291, allocations: 0 / 426.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1291, allocations: 0 / 426.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.1295, allocations: 75.92 kB / 426.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.1295, allocations: 3.938 kB / 426.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.1297, allocations: 39.81 kB / 426.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.1297, allocations: 8 kB / 426.7 MB, free: 3.5 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.0001953/0.1299, allocations: 146.4 kB / 426.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.13, allocations: 27.84 kB / 426.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.602e-05/0.13, allocations: 21.86 kB / 426.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.13, allocations: 8 kB / 426.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1301, allocations: 3.938 kB / 426.9 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1301, allocations: 0 / 426.9 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.1313, allocations: 0.6406 MB / 427.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1313, allocations: 0 / 427.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.1316, allocations: 43.95 kB / 427.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1316, allocations: 0 / 427.6 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.1316, allocations: 4 kB / 427.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1316, allocations: 4 kB / 427.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1316, allocations: 7.938 kB / 427.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.1327, allocations: 490.4 kB / 428.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.571e-05/0.1328, allocations: 104.9 kB / 428.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.1328, allocations: 8.062 kB / 428.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.133, allocations: 15.97 kB / 428.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.1331, allocations: 15.98 kB / 428.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1331, allocations: 4 kB / 428.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.1332, allocations: 159.2 kB / 428.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1332, allocations: 0 / 428.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.1336, allocations: 63.88 kB / 428.5 MB, free: 1.652 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.001812/0.1354, allocations: 1.121 MB / 429.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008267/0.1363, allocations: 264.1 kB / 429.8 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1363, allocations: 0 / 429.8 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.1366, allocations: 107.9 kB / 430 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.137, allocations: 31.92 kB / 430 MB, free: 140 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/0.1419, allocations: 2.814 MB / 432.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.1423, allocations: 0.7398 MB / 433.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.1424, allocations: 29.94 kB / 433.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.1426, allocations: 67.41 kB / 433.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1426, allocations: 0 / 433.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.1734, allocations: 5.371 MB / 439 MB, free: 7.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.954/9.127, allocations: 8 kB / 439 MB, free: 7.117 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/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] "Error: Could not read variable mean.mu in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable mean.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.mu in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.var in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.var from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable variance.mu in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable variance.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable variance.var in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable variance.var from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.921392329968512]