Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001332/0.001332, allocations: 124 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.001491/0.001491, allocations: 190.9 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.484/1.484, allocations: 225.6 MB / 249.1 MB, free: 3.652 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.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0026/0.0026, allocations: 55.84 kB / 365.7 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1387, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.004932/0.1436, allocations: 1.861 MB / 419.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003586/0.1472, allocations: 1.263 MB / 420.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1473, allocations: 0 / 420.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.1475, allocations: 23.73 kB / 420.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.1476, allocations: 27.73 kB / 421 MB, free: 9.43 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.001507/0.1491, allocations: 315.1 kB / 421.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00044/0.1496, allocations: 215.5 kB / 421.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.1498, allocations: 48.3 kB / 421.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.15, allocations: 99.61 kB / 421.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006938/0.1507, allocations: 121.8 kB / 421.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.1507, allocations: 24 kB / 421.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006671/0.1514, allocations: 291.5 kB / 422.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.28e-05/0.1515, allocations: 55.81 kB / 422.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.1516, allocations: 95.47 kB / 422.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007798/0.1524, allocations: 398.5 kB / 422.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1524, allocations: 0 / 422.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1524, allocations: 0 / 422.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1524, allocations: 0 / 422.6 MB, free: 7.797 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.001559/0.154, allocations: 0.5812 MB / 423.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.154, allocations: 8.031 kB / 423.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.1541, allocations: 50.73 kB / 423.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.1544, allocations: 36.78 kB / 423.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.1549, allocations: 248.3 kB / 423.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/0.1549, allocations: 20 kB / 423.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.547e-05/0.155, allocations: 16 kB / 423.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008027/0.1558, allocations: 210.2 kB / 423.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1558, allocations: 0 / 423.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.1558, allocations: 8 kB / 423.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.1559, allocations: 4 kB / 423.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007327/0.1566, allocations: 160.1 kB / 423.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.1583, allocations: 0.571 MB / 424.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.1601, allocations: 310.5 kB / 424.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.1606, allocations: 104.8 kB / 424.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.1607, allocations: 8.062 kB / 424.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007206/0.1614, allocations: 171.2 kB / 425.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.644e-06/0.1614, allocations: 0 / 425.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001772/0.1632, allocations: 361.6 kB / 425.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.1632, allocations: 55.41 kB / 425.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.1636, allocations: 211.7 kB / 425.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-05/0.1637, allocations: 41.69 kB / 425.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1638, allocations: 136.6 kB / 425.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.164, allocations: 75.38 kB / 425.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.1642, allocations: 69.67 kB / 426 MB, free: 4.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.1644, allocations: 334.8 kB / 426.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/0.165, allocations: 127.9 kB / 426.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/0.1656, allocations: 169.8 kB / 426.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.1668, allocations: 272.5 kB / 426.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.1668, allocations: 0 / 426.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001505/0.1683, allocations: 369.2 kB / 427.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.1684, allocations: 12.03 kB / 427.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1684, allocations: 0 / 427.3 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/0.1684, allocations: 4 kB / 427.3 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/0.169, allocations: 67.88 kB / 427.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.169, allocations: 7.938 kB / 427.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.1693, allocations: 39.83 kB / 427.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.1693, allocations: 11.98 kB / 427.4 MB, free: 2.758 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.0002722/0.1696, allocations: 146.4 kB / 427.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.473e-05/0.1697, allocations: 19.86 kB / 427.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.843e-05/0.1698, allocations: 21.86 kB / 427.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.1698, allocations: 4 kB / 427.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.1698, allocations: 3.938 kB / 427.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1698, allocations: 0 / 427.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.1718, allocations: 0.6309 MB / 428.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1718, allocations: 0 / 428.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.1723, allocations: 47.89 kB / 428.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1723, allocations: 4 kB / 428.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.1723, allocations: 11.92 kB / 428.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1723, allocations: 4 kB / 428.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.1723, allocations: 3.938 kB / 428.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.1742, allocations: 477.6 kB / 428.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.1743, allocations: 108.9 kB / 428.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.1744, allocations: 8 kB / 428.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.1746, allocations: 19.97 kB / 428.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.585e-05/0.1747, allocations: 15.98 kB / 428.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.1748, allocations: 8 kB / 428.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.175, allocations: 147.2 kB / 429 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.175, allocations: 0 / 429 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007938/0.1758, allocations: 103.8 kB / 429.1 MB, free: 0.8945 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.003307/0.1791, allocations: 1.189 MB / 430.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.1805, allocations: 272.1 kB / 430.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1805, allocations: 3.938 kB / 430.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.1811, allocations: 115.9 kB / 430.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.1816, allocations: 30.98 kB / 430.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007256/0.1889, allocations: 2.793 MB / 433.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.1894, allocations: 0.7398 MB / 434.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002122/0.1896, allocations: 29.94 kB / 434.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.1898, allocations: 75.41 kB / 434.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1898, allocations: 0 / 434.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/0.2316, allocations: 6.081 MB / 440.5 MB, free: 5.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.819/9.051, allocations: 8 kB / 440.5 MB, free: 5.574 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.NormalNoiseProperties_res.csv. Warning: Get data of variable mean.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.mu in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.var in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.var from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable variance.mu in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable variance.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable variance.var in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable variance.var from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.77995416522026]