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.001557/0.001557, allocations: 108.6 kB / 19.8 MB, free: 2.496 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.002785/0.002785, allocations: 215.3 kB / 23 MB, free: 5.59 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.406/1.406, allocations: 230.5 MB / 256.5 MB, free: 8.246 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.002649/0.002649, allocations: 71.83 kB / 376.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2946, allocations: 53.3 MB / 429.5 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002317/0.2969, allocations: 0.9078 MB / 430.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.2976, allocations: 255.1 kB / 430.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.062e-05/0.2977, allocations: 0 / 430.7 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.63e-05/0.2977, allocations: 7.922 kB / 430.7 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.2979, allocations: 11.94 kB / 430.7 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.2983, allocations: 103.6 kB / 430.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.2984, allocations: 43.86 kB / 430.9 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2985, allocations: 15.98 kB / 430.9 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.2986, allocations: 19.92 kB / 430.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.2986, allocations: 19.86 kB / 430.9 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2986, allocations: 4 kB / 430.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.2988, allocations: 47.89 kB / 431 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.2988, allocations: 19.92 kB / 431 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.2989, allocations: 31.8 kB / 431 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.2991, allocations: 95.98 kB / 431.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2991, allocations: 0 / 431.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2991, allocations: 0 / 431.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.2991, allocations: 0 / 431.1 MB, free: 5.844 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.0005853/0.2997, allocations: 391 kB / 431.5 MB, free: 5.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2997, allocations: 8.031 kB / 431.5 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.2997, allocations: 30.75 kB / 431.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.2998, allocations: 12.89 kB / 431.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.3001, allocations: 212.1 kB / 431.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3001, allocations: 4.375 kB / 431.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.3001, allocations: 4.375 kB / 431.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.3004, allocations: 145.5 kB / 431.9 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3004, allocations: 3.938 kB / 431.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.3004, allocations: 4 kB / 431.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3004, allocations: 4 kB / 431.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.139e-05/0.3005, allocations: 23.98 kB / 431.9 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.3008, allocations: 273.6 kB / 432.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.564e-05/0.3009, allocations: 42.52 kB / 432.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.3009, allocations: 24.89 kB / 432.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006999/0.3016, allocations: 0.5817 MB / 432.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.3017, allocations: 34.56 kB / 432.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.3017, allocations: 0 / 432.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002205/0.3019, allocations: 97.67 kB / 433 MB, free: 3.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.302, allocations: 51.41 kB / 433 MB, free: 3.586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3021, allocations: 153.8 kB / 433.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.3021, allocations: 29.64 kB / 433.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.3022, allocations: 88.12 kB / 433.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.3022, allocations: 11.95 kB / 433.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.3022, allocations: 21.72 kB / 433.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3024, allocations: 322.8 kB / 433.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.3024, allocations: 23.98 kB / 433.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.3025, allocations: 62 kB / 433.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.406e-05/0.3026, allocations: 85.88 kB / 433.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3026, allocations: 0 / 433.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001595/0.3027, allocations: 109.7 kB / 433.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3027, allocations: 12 kB / 433.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3028, allocations: 0 / 433.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3028, allocations: 4 kB / 433.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.569e-05/0.3028, allocations: 15.94 kB / 433.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3028, allocations: 7.984 kB / 433.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.3029, allocations: 7.953 kB / 434 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.3029, allocations: 7.938 kB / 434 MB, free: 2.559 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.0001205/0.303, allocations: 133.7 kB / 434.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.3031, allocations: 73.64 kB / 434.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.3033, allocations: 82.39 kB / 434.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3033, allocations: 0 / 434.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3033, allocations: 0 / 434.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3033, allocations: 3.938 kB / 434.2 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.3034, allocations: 181.5 kB / 434.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3034, allocations: 0 / 434.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.3035, allocations: 7.938 kB / 434.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3035, allocations: 192 / 434.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3035, allocations: 4 kB / 434.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3035, allocations: 3.938 kB / 434.4 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3035, allocations: 4 kB / 434.4 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.3036, allocations: 101 kB / 434.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.3037, allocations: 93.05 kB / 434.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3037, allocations: 4 kB / 434.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.711e-05/0.3038, allocations: 4 kB / 434.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-06/0.3038, allocations: 0 / 434.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3038, allocations: 4 kB / 434.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.956e-05/0.3039, allocations: 121.8 kB / 434.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3039, allocations: 0 / 434.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.3041, allocations: 16 kB / 434.8 MB, free: 1.629 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.0005941/0.3047, allocations: 0.6789 MB / 435.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.3048, allocations: 56.2 kB / 435.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3048, allocations: 0 / 435.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4e-07/0.3048, allocations: 0 / 435.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.3053, allocations: 90.59 kB / 435.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3067, allocations: 1.474 MB / 437.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.3071, allocations: 0.7081 MB / 437.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.822e-05/0.3071, allocations: 9.047 kB / 437.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.3071, allocations: 19.38 kB / 437.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3071, allocations: 0 / 437.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.3351, allocations: 2.607 MB / 440.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.982, allocations: 7.938 kB / 440.4 MB, free: 11.89 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.198405300994636] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'uniformNoise.y'] 8.049350594985299 8.063422477 7.761155695 Calling exit ...