Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001932/0.001932, allocations: 115.5 kB / 18.45 MB, free: 4.625 MB / 14.72 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.002083/0.002083, allocations: 211.3 kB / 21.41 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 207.6 MB / 231.8 MB, free: 4.082 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 52.56 kB / 342.3 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09852, allocations: 49.13 MB / 391.4 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003231/0.1018, allocations: 1.848 MB / 393.3 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1037, allocations: 1.009 MB / 394.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.1038, allocations: 3.938 kB / 394.3 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.104, allocations: 23.73 kB / 394.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.1042, allocations: 35.72 kB / 394.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006478/0.1048, allocations: 187.5 kB / 394.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.1051, allocations: 223.5 kB / 394.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.1053, allocations: 48.27 kB / 394.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.1055, allocations: 103.6 kB / 394.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.1056, allocations: 119.4 kB / 395 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.1057, allocations: 24 kB / 395 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.106, allocations: 147.9 kB / 395.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.962e-05/0.106, allocations: 63.75 kB / 395.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.1062, allocations: 99.45 kB / 395.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.1066, allocations: 306.8 kB / 395.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1066, allocations: 0 / 395.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1066, allocations: 4 kB / 395.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1066, allocations: 0 / 395.6 MB, free: 4.441 MB / 318.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.001227/0.1078, allocations: 0.5618 MB / 396.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1079, allocations: 8.031 kB / 396.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.292e-05/0.108, allocations: 58.55 kB / 396.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.1082, allocations: 36.78 kB / 396.3 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.1084, allocations: 236.9 kB / 396.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.1085, allocations: 12.38 kB / 396.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.1085, allocations: 24.36 kB / 396.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.109, allocations: 206.5 kB / 396.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.109, allocations: 7.938 kB / 396.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.1091, allocations: 8 kB / 396.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1091, allocations: 4 kB / 396.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.1096, allocations: 152.2 kB / 396.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.1106, allocations: 0.571 MB / 397.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1117, allocations: 314.5 kB / 397.8 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.112, allocations: 112.8 kB / 397.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1121, allocations: 0 / 397.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004239/0.1125, allocations: 175.1 kB / 398.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.1125, allocations: 0 / 398.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001068/0.1135, allocations: 357.2 kB / 398.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1136, allocations: 59.41 kB / 398.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.1138, allocations: 219.7 kB / 398.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.1139, allocations: 37.7 kB / 398.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.114, allocations: 132.7 kB / 398.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.114, allocations: 75.39 kB / 399 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.1142, allocations: 73.67 kB / 399 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1143, allocations: 330.8 kB / 399.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.1147, allocations: 127.9 kB / 399.5 MB, free: 380 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.115, allocations: 169.3 kB / 399.6 MB, free: 204 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/0.1157, allocations: 272.6 kB / 399.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1157, allocations: 0 / 399.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008566/0.1166, allocations: 376.9 kB / 400.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1166, allocations: 4 kB / 400.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1166, allocations: 0 / 400.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1166, allocations: 8.031 kB / 400.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.1169, allocations: 71.88 kB / 400.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.1169, allocations: 0 / 400.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.1171, allocations: 43.72 kB / 400.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.1172, allocations: 15.98 kB / 400.4 MB, free: 15.41 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.0001883/0.1173, allocations: 145.7 kB / 400.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.1174, allocations: 15.91 kB / 400.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.567e-05/0.1175, allocations: 25.86 kB / 400.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1175, allocations: 0 / 400.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1175, allocations: 0 / 400.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1175, allocations: 0 / 400.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.1187, allocations: 0.6424 MB / 401.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1187, allocations: 4 kB / 401.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.119, allocations: 47.89 kB / 401.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.119, allocations: 0 / 401.3 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.119, allocations: 8 kB / 401.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.119, allocations: 0 / 401.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.119, allocations: 0 / 401.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.1201, allocations: 0.4892 MB / 401.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.1201, allocations: 96.89 kB / 401.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.1202, allocations: 8.062 kB / 401.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.1204, allocations: 23.97 kB / 401.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.1204, allocations: 7.984 kB / 401.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.1204, allocations: 19.98 kB / 401.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1206, allocations: 147.2 kB / 402.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1206, allocations: 0 / 402.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003688/0.1209, allocations: 71.88 kB / 402.2 MB, free: 13.57 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.001832/0.1228, allocations: 1.138 MB / 403.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007735/0.1235, allocations: 263.7 kB / 403.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1235, allocations: 0 / 403.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.1239, allocations: 111.9 kB / 403.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1242, allocations: 27.91 kB / 403.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.1285, allocations: 2.808 MB / 406.5 MB, free: 9.117 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1288, allocations: 0.7359 MB / 407.2 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.129, allocations: 41.86 kB / 407.3 MB, free: 8.316 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.1291, allocations: 67.41 kB / 407.3 MB, free: 8.25 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1291, allocations: 0 / 407.3 MB, free: 8.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.1596, allocations: 5.522 MB / 412.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.377/8.537, allocations: 3.938 kB / 412.9 MB, free: 2.672 MB / 334.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mean.mu in file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv. Warning: Get data of variable mean.mu from file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.mu in file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.mu from file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.var in file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.var from file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv failed! Error: Could not read variable variance.mu in file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv. Warning: Get data of variable variance.mu from file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv failed! Error: Could not read variable variance.var in file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv. Warning: Get data of variable variance.var from file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.017307913993136]