Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.001645/0.001645, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001987/0.001987, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.066 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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_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.002115/0.002115, allocations: 56.78 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2613, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002308/0.2636, allocations: 0.9036 MB / 432.8 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000642/0.2642, allocations: 247.1 kB / 433.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.822e-05/0.2643, allocations: 7.938 kB / 433.1 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.684e-05/0.2644, allocations: 7.922 kB / 433.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.2645, allocations: 11.94 kB / 433.1 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.2649, allocations: 95.7 kB / 433.2 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.2651, allocations: 43.86 kB / 433.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.65e-05/0.2652, allocations: 15.98 kB / 433.2 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.687e-05/0.2652, allocations: 19.94 kB / 433.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.916e-05/0.2653, allocations: 23.84 kB / 433.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.2653, allocations: 7.938 kB / 433.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.2654, allocations: 47.89 kB / 433.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.2655, allocations: 19.92 kB / 433.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.2655, allocations: 27.81 kB / 433.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.2657, allocations: 100.4 kB / 433.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.2657, allocations: 0 / 433.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2657, allocations: 0 / 433.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.2657, allocations: 0 / 433.5 MB, free: 5.32 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005241/0.2662, allocations: 316.4 kB / 433.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2663, allocations: 8.031 kB / 433.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.2663, allocations: 42.73 kB / 433.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.2664, allocations: 8.891 kB / 433.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.2666, allocations: 142.2 kB / 434 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-06/0.2666, allocations: 384 / 434 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.2666, allocations: 4.375 kB / 434 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.2669, allocations: 169.5 kB / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2669, allocations: 3.938 kB / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.267, allocations: 0 / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.267, allocations: 0 / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.267, allocations: 16 kB / 434.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.2673, allocations: 252.8 kB / 434.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.973e-05/0.2674, allocations: 38.5 kB / 434.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.2675, allocations: 20.86 kB / 434.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003781/0.2678, allocations: 59.98 kB / 434.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.2679, allocations: 30.56 kB / 434.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2679, allocations: 0 / 434.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002187/0.2681, allocations: 97.62 kB / 434.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.2681, allocations: 51.41 kB / 434.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.2683, allocations: 155.6 kB / 434.9 MB, free: 3.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.2683, allocations: 25.7 kB / 434.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.2683, allocations: 92.14 kB / 435 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.2684, allocations: 15.88 kB / 435 MB, free: 3.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.2684, allocations: 21.72 kB / 435 MB, free: 3.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2685, allocations: 326.8 kB / 435.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.342e-05/0.2686, allocations: 15.98 kB / 435.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.2686, allocations: 69.94 kB / 435.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.739e-05/0.2687, allocations: 81.88 kB / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2687, allocations: 0 / 435.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001498/0.2689, allocations: 105.5 kB / 435.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2689, allocations: 11.98 kB / 435.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.2689, allocations: 0 / 435.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2689, allocations: 4 kB / 435.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.254e-05/0.269, allocations: 15.94 kB / 435.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.269, allocations: 4.219 kB / 435.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.269, allocations: 15.95 kB / 435.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.2691, allocations: 7.938 kB / 435.7 MB, free: 2.887 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * 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.000115/0.2692, allocations: 129.8 kB / 435.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2693, allocations: 77.58 kB / 435.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.2694, allocations: 78.39 kB / 436 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2694, allocations: 0 / 436 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2694, allocations: 0 / 436 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2694, allocations: 3.984 kB / 436 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.2696, allocations: 156.6 kB / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2696, allocations: 0 / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.2696, allocations: 7.984 kB / 436.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2696, allocations: 7.938 kB / 436.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2696, allocations: 0 / 436.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2696, allocations: 0 / 436.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2696, allocations: 0 / 436.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.2698, allocations: 101 kB / 436.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.2698, allocations: 27.94 kB / 436.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.2698, allocations: 3.984 kB / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.644e-05/0.2699, allocations: 8 kB / 436.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-06/0.2699, allocations: 192 / 436.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.2699, allocations: 0 / 436.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.002e-05/0.27, allocations: 118.4 kB / 436.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.27, allocations: 0 / 436.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.2702, allocations: 20 kB / 436.4 MB, free: 2.078 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.0005294/0.2707, allocations: 0.6789 MB / 437.1 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.2708, allocations: 48.16 kB / 437.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2708, allocations: 0 / 437.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2708, allocations: 0 / 437.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.2712, allocations: 85.98 kB / 437.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2727, allocations: 1.468 MB / 438.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.273, allocations: 0.7041 MB / 439.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.146e-05/0.273, allocations: 4.672 kB / 439.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.273, allocations: 23.36 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.273, allocations: 0 / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.299, allocations: 2.665 MB / 442.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/7.79, allocations: 6.969 kB / 442.1 MB, free: 12.31 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000215433 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.318146864883602] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'uniformNoise.y'] 7.861060689669102 7.889001564 7.618311626 Calling exit ...