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.001357/0.001357, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001465/0.001465, allocations: 212.3 kB / 24.54 MB, free: 4.02 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.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.002042/0.002042, allocations: 72.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3151, allocations: 53.36 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002605/0.3177, allocations: 0.9008 MB / 432.8 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007046/0.3184, allocations: 259.1 kB / 433.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.3185, allocations: 0 / 433.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.126e-05/0.3186, allocations: 3.938 kB / 433.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.3187, allocations: 15.92 kB / 433.1 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.3192, allocations: 99.66 kB / 433.2 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.3193, allocations: 39.91 kB / 433.2 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3194, allocations: 18.09 kB / 433.3 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.036e-05/0.3195, allocations: 19.92 kB / 433.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.3196, allocations: 31.8 kB / 433.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3196, allocations: 0 / 433.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.3197, allocations: 39.95 kB / 433.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.3198, allocations: 23.92 kB / 433.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.3198, allocations: 31.75 kB / 433.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.3201, allocations: 95.61 kB / 433.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3201, allocations: 0 / 433.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3201, allocations: 0 / 433.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.3201, allocations: 4 kB / 433.5 MB, free: 5.348 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.0005826/0.3206, allocations: 305.9 kB / 433.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3207, allocations: 12.03 kB / 433.8 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.3207, allocations: 34.75 kB / 433.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.3208, allocations: 20.81 kB / 433.9 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.321, allocations: 138.3 kB / 434 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.321, allocations: 4.375 kB / 434 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.321, allocations: 8.375 kB / 434 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.3213, allocations: 157.4 kB / 434.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3214, allocations: 3.938 kB / 434.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.3214, allocations: 0 / 434.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3214, allocations: 3.984 kB / 434.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.948e-05/0.3214, allocations: 16 kB / 434.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.3218, allocations: 256.7 kB / 434.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.3219, allocations: 46.55 kB / 434.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.5e-05/0.3219, allocations: 24.89 kB / 434.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/0.3223, allocations: 51.94 kB / 434.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.3224, allocations: 34.56 kB / 434.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.3224, allocations: 4 kB / 434.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002366/0.3226, allocations: 89.56 kB / 434.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.3227, allocations: 59.34 kB / 434.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3228, allocations: 153 kB / 434.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3228, allocations: 25.7 kB / 434.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.3229, allocations: 88.14 kB / 435 MB, free: 3.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.3229, allocations: 7.953 kB / 435 MB, free: 3.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.323, allocations: 25.7 kB / 435 MB, free: 3.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3231, allocations: 326.8 kB / 435.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-05/0.3231, allocations: 23.98 kB / 435.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.3232, allocations: 61.92 kB / 435.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.3233, allocations: 77.94 kB / 435.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3233, allocations: 4 kB / 435.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001693/0.3235, allocations: 109.6 kB / 435.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3235, allocations: 4 kB / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3235, allocations: 0 / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3235, allocations: 7.938 kB / 435.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3236, allocations: 23.98 kB / 435.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3236, allocations: 0 / 435.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.3237, allocations: 7.953 kB / 435.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.3237, allocations: 8.125 kB / 435.7 MB, free: 2.918 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.0001355/0.3238, allocations: 145.8 kB / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3239, allocations: 65.64 kB / 435.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.3241, allocations: 86.67 kB / 436 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3241, allocations: 3.938 kB / 436 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3241, allocations: 4 kB / 436 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3241, allocations: 3.938 kB / 436 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.3243, allocations: 148.6 kB / 436.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.3243, allocations: 4 kB / 436.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.3243, allocations: 4 kB / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3243, allocations: 0 / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3243, allocations: 11.98 kB / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3243, allocations: 0 / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3243, allocations: 0 / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.3245, allocations: 97.02 kB / 436.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.3245, allocations: 19.94 kB / 436.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.3246, allocations: 8 kB / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.318e-05/0.3246, allocations: 0 / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-06/0.3246, allocations: 4 kB / 436.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3246, allocations: 7.984 kB / 436.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.3247, allocations: 122 kB / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3247, allocations: 0 / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.3249, allocations: 16 kB / 436.4 MB, free: 2.098 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.0006064/0.3255, allocations: 0.6671 MB / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.3257, allocations: 55.92 kB / 437.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3257, allocations: 0 / 437.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.3257, allocations: 0 / 437.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.3261, allocations: 89.92 kB / 437.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.3277, allocations: 1.467 MB / 438.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.3281, allocations: 0.7119 MB / 439.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.346e-05/0.3281, allocations: 4.672 kB / 439.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.3282, allocations: 23.42 kB / 439.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3282, allocations: 0 / 439.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.3566, allocations: 2.656 MB / 442.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.509, allocations: 4 kB / 442.1 MB, free: 12.33 MB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=0.000215433 --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.914258328732103] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'uniformNoise.y'] 8.580226902384311 8.595729198 8.272593731 Calling exit ...