Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 121.2 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.614/1.614, allocations: 230.5 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.83 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09761/0.09961, allocations: 53.33 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00258/0.1022, allocations: 1.49 MB / 428.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1034, allocations: 0.5769 MB / 429.1 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.1035, allocations: 4 kB / 429.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.1036, allocations: 15.81 kB / 429.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.814e-05/0.1036, allocations: 19.8 kB / 429.1 MB, free: 2.672 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0005671/0.1042, allocations: 143.6 kB / 429.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1044, allocations: 123.5 kB / 429.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.1044, allocations: 5.125 kB / 429.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.241e-05/0.1045, allocations: 47.83 kB / 429.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005563/0.105, allocations: 69.88 kB / 429.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.1051, allocations: 8 kB / 429.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.1053, allocations: 123.8 kB / 429.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.1054, allocations: 35.84 kB / 429.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.961e-05/0.1054, allocations: 51.72 kB / 429.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.1058, allocations: 203.2 kB / 429.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1058, allocations: 0 / 429.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1058, allocations: 0 / 429.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1058, allocations: 0 / 429.9 MB, free: 1.879 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.0007002/0.1065, allocations: 460.9 kB / 430.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1065, allocations: 12.03 kB / 430.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.531e-05/0.1066, allocations: 38.75 kB / 430.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003172/0.1069, allocations: 40.81 kB / 430.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1071, allocations: 204.1 kB / 430.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1071, allocations: 4.375 kB / 430.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1071, allocations: 8.375 kB / 430.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.1073, allocations: 119.2 kB / 430.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1074, allocations: 0 / 430.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.1074, allocations: 8 kB / 430.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1074, allocations: 0 / 430.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.1076, allocations: 55.95 kB / 430.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000706/0.1083, allocations: 448.7 kB / 431.3 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.1086, allocations: 121.2 kB / 431.4 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1087, allocations: 61.84 kB / 431.5 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.1087, allocations: 3.938 kB / 431.5 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.109, allocations: 139.3 kB / 431.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.109, allocations: 0 / 431.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.000565/0.1096, allocations: 237.5 kB / 431.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.1097, allocations: 97.09 kB / 431.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.1099, allocations: 182.2 kB / 432.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.1099, allocations: 49.69 kB / 432.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.11, allocations: 108.5 kB / 432.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.11, allocations: 43.69 kB / 432.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-05/0.1101, allocations: 53.94 kB / 432.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1103, allocations: 334.8 kB / 432.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.1105, allocations: 96.47 kB / 432.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.1107, allocations: 131.5 kB / 432.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.1111, allocations: 207.5 kB / 433.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1111, allocations: 3.938 kB / 433.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005274/0.1116, allocations: 301.4 kB / 433.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1116, allocations: 6.656 kB / 433.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1116, allocations: 0 / 433.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1116, allocations: 4 kB / 433.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1118, allocations: 31.91 kB / 433.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1118, allocations: 0 / 433.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.1119, allocations: 23.83 kB / 433.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.1119, allocations: 8 kB / 433.5 MB, free: 14.03 MB / 366.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.0001526/0.1121, allocations: 149.9 kB / 433.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.1121, allocations: 15.91 kB / 433.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.1121, allocations: 17.39 kB / 433.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1121, allocations: 0 / 433.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1121, allocations: 0 / 433.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1121, allocations: 3.938 kB / 433.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.1124, allocations: 209.6 kB / 433.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1124, allocations: 4 kB / 433.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.1124, allocations: 11.98 kB / 433.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1124, allocations: 0 / 433.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1124, allocations: 0 / 433.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1124, allocations: 4 kB / 433.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1124, allocations: 3.938 kB / 433.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.1128, allocations: 225.7 kB / 434.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.1129, allocations: 89.02 kB / 434.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.113, allocations: 15.92 kB / 434.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.113, allocations: 4 kB / 434.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.1131, allocations: 15.92 kB / 434.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1131, allocations: 7.984 kB / 434.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1132, allocations: 128.2 kB / 434.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1132, allocations: 0 / 434.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000295/0.1135, allocations: 43.94 kB / 434.4 MB, free: 12.99 MB / 366.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.001217/0.1147, allocations: 0.9253 MB / 435.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.1151, allocations: 171.9 kB / 435.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1151, allocations: 0 / 435.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1153, allocations: 60.03 kB / 435.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.1154, allocations: 13.89 kB / 435.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.118, allocations: 2.1 MB / 437.7 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1184, allocations: 0.7118 MB / 438.4 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.1184, allocations: 12.88 kB / 438.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.858e-05/0.1185, allocations: 43.41 kB / 438.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1185, allocations: 0 / 438.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.1477, allocations: 3.676 MB / 442.1 MB, free: 5.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.218, allocations: 4 kB / 442.1 MB, free: 5.258 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.000173049978912] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 8.290597452782094 8.509259877 8.401367402 Calling exit ...