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.001313/0.001313, allocations: 115.7 kB / 18.49 MB, free: 4.59 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.001296/0.001296, allocations: 194.6 kB / 21.43 MB, free: 1.66 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.449/1.449, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.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.00147/0.00147, allocations: 43.94 kB / 366.3 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1067, allocations: 52.15 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002771/0.1095, allocations: 1.48 MB / 420 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1107, allocations: 0.5807 MB / 420.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.1108, allocations: 0 / 420.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.1109, allocations: 11.88 kB / 420.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.106e-05/0.111, allocations: 19.8 kB / 420.6 MB, free: 10.52 MB / 350.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.0005925/0.1116, allocations: 143.6 kB / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.1118, allocations: 115.7 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.1118, allocations: 5.125 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.1119, allocations: 55.72 kB / 420.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000583/0.1125, allocations: 76.88 kB / 421 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.1125, allocations: 12 kB / 421 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.1127, allocations: 115.8 kB / 421.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.1128, allocations: 35.89 kB / 421.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.1129, allocations: 51.67 kB / 421.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.1132, allocations: 191.3 kB / 421.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1132, allocations: 4 kB / 421.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1132, allocations: 0 / 421.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1132, allocations: 7.938 kB / 421.4 MB, free: 9.73 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.0007202/0.1139, allocations: 462.5 kB / 421.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.114, allocations: 8.031 kB / 421.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.502e-05/0.114, allocations: 8.125 kB / 421.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.928e-05/0.1141, allocations: 42.72 kB / 421.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.1144, allocations: 40.81 kB / 421.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.1146, allocations: 211.9 kB / 422.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1146, allocations: 4 kB / 422.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.1146, allocations: 8 kB / 422.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.1149, allocations: 123.2 kB / 422.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1149, allocations: 0 / 422.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1149, allocations: 0 / 422.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1149, allocations: 0 / 422.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.1151, allocations: 63.95 kB / 422.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007373/0.1158, allocations: 468.7 kB / 422.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.1162, allocations: 129.2 kB / 422.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1163, allocations: 57.77 kB / 423 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.1163, allocations: 0 / 423 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.1166, allocations: 145 kB / 423.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.1166, allocations: 0 / 423.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008689/0.1175, allocations: 329.1 kB / 423.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.767e-05/0.1176, allocations: 101 kB / 423.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1178, allocations: 178.3 kB / 423.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/0.1178, allocations: 53.62 kB / 423.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.1179, allocations: 112.6 kB / 423.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/0.118, allocations: 51.62 kB / 423.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.1181, allocations: 62.16 kB / 424 MB, free: 6.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.1182, allocations: 330.8 kB / 424.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.1184, allocations: 95.95 kB / 424.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.1187, allocations: 155.7 kB / 424.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.1191, allocations: 225.3 kB / 424.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1191, allocations: 3.938 kB / 424.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000537/0.1196, allocations: 309.4 kB / 425.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.1197, allocations: 4 kB / 425.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1197, allocations: 0 / 425.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.1197, allocations: 4 kB / 425.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.1199, allocations: 39.91 kB / 425.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1199, allocations: 3.938 kB / 425.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.1199, allocations: 15.89 kB / 425.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.12, allocations: 8 kB / 425.1 MB, free: 5.664 MB / 350.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.0001778/0.1201, allocations: 158.4 kB / 425.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1202, allocations: 11.91 kB / 425.3 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.1202, allocations: 17.39 kB / 425.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1202, allocations: 4 kB / 425.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1202, allocations: 3.938 kB / 425.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1202, allocations: 0 / 425.3 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.1209, allocations: 452.2 kB / 425.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/0.1209, allocations: 7.938 kB / 425.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.1209, allocations: 15.98 kB / 425.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1209, allocations: 0 / 425.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1209, allocations: 4 kB / 425.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.121, allocations: 0 / 425.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.121, allocations: 0 / 425.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.1214, allocations: 320.3 kB / 426.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.88e-05/0.1215, allocations: 100.9 kB / 426.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.1215, allocations: 8 kB / 426.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.07e-05/0.1216, allocations: 7.984 kB / 426.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.1217, allocations: 19.98 kB / 426.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.1217, allocations: 4 kB / 426.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1218, allocations: 128.2 kB / 426.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1218, allocations: 0 / 426.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003373/0.1221, allocations: 47.92 kB / 426.4 MB, free: 4.262 MB / 350.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.001324/0.1234, allocations: 1.022 MB / 427.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.1239, allocations: 200.8 kB / 427.6 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1239, allocations: 3.938 kB / 427.6 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.1241, allocations: 64.22 kB / 427.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.1243, allocations: 8 kB / 427.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.1272, allocations: 2.245 MB / 430 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.1276, allocations: 0.7164 MB / 430.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.317e-05/0.1277, allocations: 25 kB / 430.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.6e-05/0.1278, allocations: 43.42 kB / 430.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1278, allocations: 0 / 430.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.1491, allocations: 3.836 MB / 434.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.216, allocations: 15.25 kB / 434.6 MB, free: 12.04 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.79458898800658] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 8.34288606903283 8.55456096 8.248408923 Calling exit ...