Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 118.3 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 59.86 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1051, allocations: 53.32 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00268/0.1078, allocations: 1.49 MB / 428.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.109, allocations: 0.5886 MB / 429.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.1091, allocations: 4 kB / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.458e-05/0.1091, allocations: 7.875 kB / 429.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.1092, allocations: 11.81 kB / 429.1 MB, free: 2.656 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0005301/0.1097, allocations: 147.6 kB / 429.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.1099, allocations: 119.6 kB / 429.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.1099, allocations: 1.125 kB / 429.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.932e-05/0.11, allocations: 51.83 kB / 429.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005457/0.1105, allocations: 70.39 kB / 429.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.1106, allocations: 16 kB / 429.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.1108, allocations: 115.9 kB / 429.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.1108, allocations: 35.84 kB / 429.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.1109, allocations: 51.67 kB / 429.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.1112, allocations: 203.2 kB / 429.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1112, allocations: 4 kB / 429.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1112, allocations: 0 / 429.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1112, allocations: 0 / 429.9 MB, free: 1.859 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.0006637/0.1119, allocations: 454.5 kB / 430.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1119, allocations: 12.03 kB / 430.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.093e-05/0.112, allocations: 8.188 kB / 430.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.36e-05/0.112, allocations: 34.75 kB / 430.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002941/0.1123, allocations: 40.81 kB / 430.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.1125, allocations: 204 kB / 430.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1125, allocations: 12.3 kB / 430.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.1125, allocations: 12.12 kB / 430.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1128, allocations: 121.8 kB / 430.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1128, allocations: 0 / 430.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1128, allocations: 7.938 kB / 430.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1128, allocations: 4 kB / 430.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.113, allocations: 51.95 kB / 430.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.1137, allocations: 468.8 kB / 431.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.114, allocations: 121.2 kB / 431.4 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.1142, allocations: 61.77 kB / 431.5 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.1142, allocations: 0 / 431.5 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.1145, allocations: 145.1 kB / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.132e-06/0.1145, allocations: 0 / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008246/0.1153, allocations: 345.3 kB / 432 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.1154, allocations: 97.03 kB / 432.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1156, allocations: 174.3 kB / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.1156, allocations: 49.69 kB / 432.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.1157, allocations: 108.7 kB / 432.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.1158, allocations: 47.64 kB / 432.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.1159, allocations: 65.69 kB / 432.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.116, allocations: 330.8 kB / 432.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.1162, allocations: 99.94 kB / 432.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.1165, allocations: 139.6 kB / 433.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.1169, allocations: 229.3 kB / 433.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1169, allocations: 4 kB / 433.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005354/0.1174, allocations: 313.2 kB / 433.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1174, allocations: 4.469 kB / 433.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1174, allocations: 0 / 433.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.1174, allocations: 8.094 kB / 433.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.1176, allocations: 31.98 kB / 433.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.1176, allocations: 11.92 kB / 433.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.1177, allocations: 19.86 kB / 433.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.1177, allocations: 15.92 kB / 433.7 MB, free: 13.8 MB / 366.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.0001466/0.1179, allocations: 142.4 kB / 433.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.1179, allocations: 23.84 kB / 433.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.1179, allocations: 9.406 kB / 433.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1179, allocations: 4 kB / 433.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1179, allocations: 0 / 433.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1179, allocations: 3.984 kB / 433.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.1185, allocations: 440.1 kB / 434.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1185, allocations: 8.047 kB / 434.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.1186, allocations: 24 kB / 434.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1186, allocations: 0 / 434.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.1186, allocations: 11.92 kB / 434.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1186, allocations: 0 / 434.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1186, allocations: 0 / 434.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004284/0.119, allocations: 321.9 kB / 434.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/0.1191, allocations: 89.02 kB / 434.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.1191, allocations: 15.92 kB / 434.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.404e-05/0.1192, allocations: 8 kB / 434.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.1193, allocations: 11.98 kB / 434.8 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1193, allocations: 7.984 kB / 434.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1194, allocations: 128.2 kB / 434.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1194, allocations: 4 kB / 434.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00041/0.1199, allocations: 47.94 kB / 435 MB, free: 12.41 MB / 366.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.001668/0.1215, allocations: 1.013 MB / 436 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.122, allocations: 192.2 kB / 436.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.122, allocations: 0 / 436.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.1223, allocations: 59.91 kB / 436.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.1227, allocations: 14.47 kB / 436.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.1267, allocations: 2.254 MB / 438.5 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.1272, allocations: 0.7164 MB / 439.2 MB, free: 8.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.786e-05/0.1273, allocations: 21.06 kB / 439.2 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.1274, allocations: 47.53 kB / 439.3 MB, free: 7.953 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1274, allocations: 3.938 kB / 439.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.1529, allocations: 3.83 MB / 443.1 MB, free: 4.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.554, allocations: 10.25 kB / 443.1 MB, free: 4.207 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.115554450021591] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 8.678726735000964 8.888119856 8.774802631 Calling exit ...