Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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.001838/0.001838, 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.002136/0.002136, 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.489/1.489, allocations: 225.6 MB / 249.1 MB, free: 3.621 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.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 47.92 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1112, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003168/0.1144, allocations: 1.477 MB / 419.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1157, allocations: 0.5847 MB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.1158, allocations: 0 / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.1159, allocations: 7.875 kB / 419.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.116, allocations: 23.8 kB / 419.9 MB, free: 10.52 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.0006106/0.1166, allocations: 139.6 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1168, allocations: 115.7 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.1168, allocations: 5.125 kB / 420.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.1169, allocations: 55.72 kB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006457/0.1175, allocations: 86.05 kB / 420.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.1176, allocations: 12 kB / 420.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.1178, allocations: 119.8 kB / 420.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.437e-05/0.1179, allocations: 35.89 kB / 420.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/0.118, allocations: 47.67 kB / 420.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.1184, allocations: 195.3 kB / 420.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1184, allocations: 0 / 420.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1184, allocations: 0 / 420.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.1184, allocations: 0 / 420.7 MB, free: 9.738 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00084/0.1192, allocations: 470.5 kB / 421.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1193, allocations: 8.031 kB / 421.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.603e-05/0.1194, allocations: 46.67 kB / 421.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.1197, allocations: 32.83 kB / 421.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.1199, allocations: 200.1 kB / 421.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.1199, allocations: 11.94 kB / 421.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.12, allocations: 4 kB / 421.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.1202, allocations: 127.3 kB / 421.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1203, allocations: 3.938 kB / 421.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1203, allocations: 0 / 421.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1203, allocations: 0 / 421.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.1205, allocations: 59.95 kB / 421.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007543/0.1212, allocations: 452.8 kB / 422.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.1216, allocations: 117.2 kB / 422.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.1217, allocations: 57.75 kB / 422.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1217, allocations: 4 kB / 422.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003029/0.122, allocations: 141 kB / 422.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.122, allocations: 0 / 422.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006271/0.1226, allocations: 241.5 kB / 422.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.949e-05/0.1227, allocations: 89.11 kB / 422.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.1229, allocations: 186.2 kB / 422.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.123, allocations: 41.69 kB / 422.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.276e-05/0.1231, allocations: 112.5 kB / 423 MB, free: 7.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.282e-05/0.1231, allocations: 43.67 kB / 423.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.1232, allocations: 53.94 kB / 423.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1234, allocations: 334.8 kB / 423.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.1236, allocations: 96.47 kB / 423.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.1238, allocations: 136.2 kB / 423.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.1242, allocations: 211.4 kB / 423.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1242, allocations: 0 / 423.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005168/0.1247, allocations: 285.5 kB / 424.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1247, allocations: 4 kB / 424.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.1248, allocations: 15.84 kB / 424.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1248, allocations: 4 kB / 424.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.1249, allocations: 31.86 kB / 424.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1249, allocations: 0 / 424.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.568e-05/0.125, allocations: 31.91 kB / 424.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.125, allocations: 4 kB / 424.2 MB, free: 5.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001686/0.1252, allocations: 150.4 kB / 424.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.1252, allocations: 15.89 kB / 424.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.1253, allocations: 13.41 kB / 424.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.1253, allocations: 3.938 kB / 424.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1253, allocations: 4 kB / 424.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1253, allocations: 4 kB / 424.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.1256, allocations: 201.6 kB / 424.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1256, allocations: 3.984 kB / 424.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.1256, allocations: 8 kB / 424.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1256, allocations: 0 / 424.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.1256, allocations: 8 kB / 424.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1256, allocations: 3.938 kB / 424.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1256, allocations: 3.984 kB / 424.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.126, allocations: 225.3 kB / 424.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.1261, allocations: 93 kB / 425 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.1262, allocations: 8 kB / 425 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/0.1262, allocations: 11.92 kB / 425 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.1263, allocations: 11.98 kB / 425 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1263, allocations: 4 kB / 425 MB, free: 5.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.1264, allocations: 128.2 kB / 425.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1264, allocations: 4 kB / 425.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.1268, allocations: 51.86 kB / 425.2 MB, free: 4.828 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001362/0.1282, allocations: 0.9172 MB / 426.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.1286, allocations: 180 kB / 426.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1286, allocations: 0 / 426.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.1288, allocations: 51.91 kB / 426.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.129, allocations: 12.12 kB / 426.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.1319, allocations: 2.1 MB / 428.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.1323, allocations: 0.712 MB / 429.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.428e-05/0.1324, allocations: 24.8 kB / 429.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.1325, allocations: 43.36 kB / 429.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1325, allocations: 0 / 429.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.1612, allocations: 3.645 MB / 432.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/8.61, allocations: 3.938 kB / 432.9 MB, free: 13.1 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039208 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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: 11.241787084843963]