Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001847/0.001847, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.002147/0.002147, allocations: 205.6 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 207.6 MB / 232.5 MB, free: 3.73 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 51.92 kB / 343 MB, free: 9.977 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1062, allocations: 49.12 MB / 392.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002783/0.109, allocations: 1.492 MB / 393.6 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1102, allocations: 0.5615 MB / 394.2 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.1103, allocations: 0 / 394.2 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.636e-05/0.1104, allocations: 7.875 kB / 394.2 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.95e-05/0.1105, allocations: 23.8 kB / 394.2 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.111, allocations: 143.6 kB / 394.3 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.1112, allocations: 127.7 kB / 394.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.1113, allocations: 9.062 kB / 394.5 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.527e-05/0.1113, allocations: 55.77 kB / 394.5 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.964e-05/0.1114, allocations: 55.75 kB / 394.6 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1114, allocations: 8 kB / 394.6 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.1117, allocations: 131.8 kB / 394.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.1118, allocations: 35.89 kB / 394.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.1118, allocations: 51.67 kB / 394.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.1122, allocations: 207.3 kB / 395 MB, free: 5.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1122, allocations: 3.938 kB / 395 MB, free: 5.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1122, allocations: 0 / 395 MB, free: 5.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1122, allocations: 4 kB / 395 MB, free: 5.777 MB / 318.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.0007983/0.113, allocations: 466.5 kB / 395.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.113, allocations: 11.97 kB / 395.5 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.562e-05/0.113, allocations: 8.172 kB / 395.5 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.175e-05/0.1131, allocations: 38.73 kB / 395.5 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.1134, allocations: 40.81 kB / 395.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1136, allocations: 192.2 kB / 395.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1136, allocations: 16.36 kB / 395.8 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.1137, allocations: 4.375 kB / 395.8 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.1139, allocations: 127.5 kB / 395.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1139, allocations: 0 / 395.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.114, allocations: 0 / 395.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.114, allocations: 7.984 kB / 395.9 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.1141, allocations: 55.95 kB / 396 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007717/0.1149, allocations: 484.6 kB / 396.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.1152, allocations: 129.2 kB / 396.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.1154, allocations: 53.77 kB / 396.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1154, allocations: 4 kB / 396.6 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.1157, allocations: 149 kB / 396.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.1157, allocations: 0 / 396.8 MB, free: 3.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008315/0.1166, allocations: 329.1 kB / 397.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.1166, allocations: 93.17 kB / 397.2 MB, free: 3.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.1168, allocations: 179 kB / 397.3 MB, free: 3.195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.1169, allocations: 45.69 kB / 397.4 MB, free: 3.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.1169, allocations: 108.7 kB / 397.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.117, allocations: 51.58 kB / 397.6 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1171, allocations: 65.67 kB / 397.6 MB, free: 2.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1173, allocations: 330.8 kB / 397.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.1175, allocations: 111.9 kB / 398 MB, free: 2.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.1177, allocations: 139.4 kB / 398.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.1181, allocations: 229.3 kB / 398.4 MB, free: 2.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1181, allocations: 0 / 398.4 MB, free: 2.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005517/0.1186, allocations: 320.5 kB / 398.7 MB, free: 1.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1187, allocations: 4 kB / 398.7 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1187, allocations: 8.062 kB / 398.7 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1187, allocations: 0 / 398.7 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.1189, allocations: 31.92 kB / 398.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.1189, allocations: 4 kB / 398.8 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.334e-05/0.1189, allocations: 11.98 kB / 398.8 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.119, allocations: 8 kB / 398.8 MB, free: 1.703 MB / 318.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.0001664/0.1191, allocations: 158.1 kB / 398.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.1192, allocations: 15.91 kB / 399 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.1192, allocations: 17.88 kB / 399 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1192, allocations: 3.984 kB / 399 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1192, allocations: 0 / 399 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1192, allocations: 4 kB / 399 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.1198, allocations: 451.9 kB / 399.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1198, allocations: 4 kB / 399.4 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.1199, allocations: 8 kB / 399.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.1199, allocations: 7.938 kB / 399.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1199, allocations: 7.984 kB / 399.5 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1199, allocations: 7.938 kB / 399.5 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1199, allocations: 0 / 399.5 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.1203, allocations: 314.2 kB / 399.8 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/0.1204, allocations: 96.95 kB / 399.9 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.1204, allocations: 15.98 kB / 399.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.046e-05/0.1205, allocations: 7.938 kB / 399.9 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.1206, allocations: 15.98 kB / 399.9 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.1206, allocations: 7.984 kB / 399.9 MB, free: 476 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1207, allocations: 127.5 kB / 400 MB, free: 348 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1207, allocations: 0 / 400 MB, free: 348 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.121, allocations: 55.92 kB / 400.1 MB, free: 292 kB / 318.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.001398/0.1224, allocations: 1.054 MB / 401.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004492/0.1229, allocations: 193.2 kB / 401.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1229, allocations: 0 / 401.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.1231, allocations: 64.09 kB / 401.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.1233, allocations: 12 kB / 401.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.1262, allocations: 2.253 MB / 403.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.1266, allocations: 0.7243 MB / 404.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.212e-05/0.1266, allocations: 25 kB / 404.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.24e-05/0.1267, allocations: 43.42 kB / 404.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1267, allocations: 0 / 404.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.1491, allocations: 4.022 MB / 408.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/8.431, allocations: 7.734 kB / 408.5 MB, free: 7.672 MB / 334.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.864273277984466] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 8.56042376399273 8.587283265 8.469845786 Calling exit ...