Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.001705/0.001705, allocations: 114.5 kB / 18.45 MB, free: 4.566 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.001972/0.001972, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.494/1.494, allocations: 207.6 MB / 231.8 MB, free: 4.035 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.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",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.001703/0.001703, allocations: 55.94 kB / 342.3 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.0945, allocations: 49.13 MB / 391.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003179/0.09768, allocations: 1.84 MB / 393.3 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.09992, allocations: 1.302 MB / 394.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.1, allocations: 4 kB / 394.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.1001, allocations: 19.73 kB / 394.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.943e-05/0.1002, allocations: 27.73 kB / 394.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009208/0.1011, allocations: 315.1 kB / 394.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.1014, allocations: 223.5 kB / 395.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.1016, allocations: 44.28 kB / 395.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1017, allocations: 99.61 kB / 395.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.1019, allocations: 115.5 kB / 395.4 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.1019, allocations: 20 kB / 395.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005119/0.1024, allocations: 315.4 kB / 395.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.1025, allocations: 47.84 kB / 395.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1026, allocations: 115.4 kB / 395.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005753/0.1032, allocations: 398.6 kB / 396.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1032, allocations: 0 / 396.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1032, allocations: 0 / 396.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1032, allocations: 0 / 396.3 MB, free: 3.816 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.001277/0.1045, allocations: 0.585 MB / 396.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1045, allocations: 8.031 kB / 396.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.464e-05/0.1046, allocations: 62.53 kB / 396.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.1048, allocations: 28.8 kB / 397 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1051, allocations: 240.9 kB / 397.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.1052, allocations: 16.38 kB / 397.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.1052, allocations: 20.36 kB / 397.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.1057, allocations: 214.4 kB / 397.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1057, allocations: 0 / 397.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.1057, allocations: 11.94 kB / 397.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1058, allocations: 7.984 kB / 397.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.1062, allocations: 152.1 kB / 397.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.1073, allocations: 0.5826 MB / 398.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.1084, allocations: 298.5 kB / 398.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.1087, allocations: 112.8 kB / 398.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1087, allocations: 4 kB / 398.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004214/0.1092, allocations: 171.2 kB / 398.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.074e-06/0.1092, allocations: 0 / 398.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001053/0.1102, allocations: 353.3 kB / 399.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.1103, allocations: 59.39 kB / 399.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.1105, allocations: 215.8 kB / 399.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.1105, allocations: 37.7 kB / 399.4 MB, free: 480 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.679e-05/0.1106, allocations: 128.6 kB / 399.5 MB, free: 348 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.1107, allocations: 75.38 kB / 399.6 MB, free: 272 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.1108, allocations: 73.67 kB / 399.7 MB, free: 192 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.111, allocations: 330.8 kB / 400 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.1113, allocations: 139.8 kB / 400.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.1117, allocations: 165.4 kB / 400.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.1124, allocations: 272.5 kB / 400.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1124, allocations: 0 / 400.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008454/0.1132, allocations: 376.9 kB / 400.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1132, allocations: 4 kB / 400.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1132, allocations: 7.984 kB / 400.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1133, allocations: 0 / 400.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.1136, allocations: 67.89 kB / 401 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.1136, allocations: 8.031 kB / 401 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.1138, allocations: 51.64 kB / 401.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.1138, allocations: 11.98 kB / 401.1 MB, free: 14.76 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.0001534/0.1139, allocations: 141.7 kB / 401.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.114, allocations: 15.91 kB / 401.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.484e-05/0.114, allocations: 29.86 kB / 401.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.114, allocations: 0 / 401.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.114, allocations: 4 kB / 401.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.114, allocations: 0 / 401.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.1153, allocations: 0.6386 MB / 401.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1153, allocations: 3.938 kB / 401.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.1155, allocations: 43.95 kB / 402 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1155, allocations: 4 kB / 402 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.1155, allocations: 0 / 402 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1155, allocations: 0 / 402 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1155, allocations: 4 kB / 402 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.1166, allocations: 497 kB / 402.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.1167, allocations: 96.91 kB / 402.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.1167, allocations: 12.05 kB / 402.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.1169, allocations: 15.98 kB / 402.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.1169, allocations: 19.97 kB / 402.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.117, allocations: 4 kB / 402.6 MB, free: 13.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1171, allocations: 147.2 kB / 402.7 MB, free: 13 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1171, allocations: 0 / 402.7 MB, free: 13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004574/0.1176, allocations: 111.7 kB / 402.8 MB, free: 12.89 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.002016/0.1196, allocations: 1.201 MB / 404 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008009/0.1204, allocations: 267.7 kB / 404.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1204, allocations: 0 / 404.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.1207, allocations: 107.9 kB / 404.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.121, allocations: 32.14 kB / 404.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004307/0.1253, allocations: 2.823 MB / 407.3 MB, free: 8.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.1257, allocations: 0.7359 MB / 408 MB, free: 7.594 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.1258, allocations: 33.94 kB / 408 MB, free: 7.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.126, allocations: 79.33 kB / 408.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.126, allocations: 0 / 408.1 MB, free: 7.484 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.1574, allocations: 6.217 MB / 414.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.407, allocations: 0 / 414.3 MB, free: 1.215 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_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_NormalNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties_res.csv. Warning: Get data of variable mean.mu from file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.mu in file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.mu from file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.var in file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.var from file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv failed! Error: Could not read variable variance.mu in file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv. Warning: Get data of variable variance.mu from file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv failed! Error: Could not read variable variance.var in file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv. Warning: Get data of variable variance.var from file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.86899498400453]