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.001287/0.001287, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001333/0.001333, allocations: 189.3 kB / 24.49 MB, free: 3.957 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.34/1.34, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 47.92 kB / 371.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2612, allocations: 52.18 MB / 423.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003144/0.2644, allocations: 1.466 MB / 424.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2657, allocations: 0.5639 MB / 425.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.795e-05/0.2658, allocations: 0 / 425.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.915e-05/0.2659, allocations: 15.86 kB / 425.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.168e-05/0.2659, allocations: 19.81 kB / 425.4 MB, free: 12.34 MB / 334.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.0006514/0.2666, allocations: 147.6 kB / 425.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.2668, allocations: 119.6 kB / 425.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.2668, allocations: 13.28 kB / 425.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.215e-05/0.2669, allocations: 47.83 kB / 425.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.2676, allocations: 75.2 kB / 425.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.2676, allocations: 8 kB / 425.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.2679, allocations: 143.8 kB / 426 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.268, allocations: 43.83 kB / 426 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.2681, allocations: 47.67 kB / 426.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.2685, allocations: 197.6 kB / 426.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2685, allocations: 0 / 426.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2685, allocations: 0 / 426.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.2685, allocations: 0 / 426.2 MB, free: 11.51 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006976/0.2692, allocations: 381.4 kB / 426.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.2692, allocations: 12.03 kB / 426.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.13e-05/0.2693, allocations: 192 / 426.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.238e-05/0.2693, allocations: 42.73 kB / 426.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/0.2697, allocations: 48.75 kB / 426.7 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.2698, allocations: 142.1 kB / 426.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.2699, allocations: 4 kB / 426.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.2699, allocations: 11.98 kB / 426.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.2701, allocations: 115.3 kB / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2702, allocations: 0 / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2702, allocations: 0 / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2702, allocations: 4 kB / 427 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.2704, allocations: 67.88 kB / 427.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008036/0.2712, allocations: 415.8 kB / 427.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.2715, allocations: 129.2 kB / 427.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.2716, allocations: 53.77 kB / 427.6 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.2716, allocations: 8 kB / 427.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.272, allocations: 147.6 kB / 427.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.272, allocations: 0 / 427.8 MB, free: 9.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008277/0.2728, allocations: 329.1 kB / 428.1 MB, free: 9.473 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.2729, allocations: 97.03 kB / 428.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2731, allocations: 178.7 kB / 428.4 MB, free: 9.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.2731, allocations: 45.7 kB / 428.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.2732, allocations: 112.6 kB / 428.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.528e-05/0.2732, allocations: 55.64 kB / 428.6 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/0.2733, allocations: 57.62 kB / 428.6 MB, free: 8.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2735, allocations: 338.8 kB / 429 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.2737, allocations: 95.95 kB / 429.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.2739, allocations: 143.3 kB / 429.2 MB, free: 8.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.2743, allocations: 234.1 kB / 429.4 MB, free: 8.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2743, allocations: 0 / 429.4 MB, free: 8.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005324/0.2749, allocations: 305.3 kB / 429.7 MB, free: 7.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2749, allocations: 4 kB / 429.7 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2749, allocations: 4 kB / 429.7 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2749, allocations: 0 / 429.7 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.2751, allocations: 35.98 kB / 429.8 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.2751, allocations: 12.03 kB / 429.8 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.2752, allocations: 23.92 kB / 429.8 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.2752, allocations: 8 kB / 429.8 MB, free: 7.672 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 29 * 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.0001504/0.2753, allocations: 149.7 kB / 430 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.2754, allocations: 15.91 kB / 430 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.2754, allocations: 17.39 kB / 430 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2754, allocations: 0 / 430 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.2754, allocations: 3.938 kB / 430 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2754, allocations: 4 kB / 430 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005789/0.276, allocations: 399.2 kB / 430.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.276, allocations: 7.984 kB / 430.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.2761, allocations: 19.91 kB / 430.4 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2761, allocations: 4 kB / 430.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2761, allocations: 0 / 430.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2761, allocations: 0 / 430.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2761, allocations: 4 kB / 430.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004196/0.2765, allocations: 321.9 kB / 430.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.2765, allocations: 19.84 kB / 430.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.2766, allocations: 8 kB / 430.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.2767, allocations: 11.98 kB / 430.8 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.2767, allocations: 7.984 kB / 430.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.2767, allocations: 11.98 kB / 430.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.2768, allocations: 132.2 kB / 430.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2768, allocations: 0 / 430.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003424/0.2772, allocations: 51.92 kB / 431 MB, free: 6.414 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001263/0.2784, allocations: 1.03 MB / 432 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004251/0.2789, allocations: 188.2 kB / 432.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2789, allocations: 4 kB / 432.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.279, allocations: 59.91 kB / 432.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.2793, allocations: 8 kB / 432.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.2821, allocations: 2.268 MB / 434.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.2822, allocations: 102.3 kB / 434.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.261e-05/0.2823, allocations: 21.08 kB / 434.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.2823, allocations: 39.42 kB / 434.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2823, allocations: 0 / 434.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.3086, allocations: 4.062 MB / 438.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.08, allocations: 8.062 kB / 438.8 MB, free: 14.66 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 13.300606073113158] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 11.235047448077239 11.257698143 10.984961101 Calling exit ...