Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.001405/0.001405, allocations: 118.3 kB / 19.17 MB, free: 3.898 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.002401/0.002401, allocations: 202.3 kB / 22.12 MB, free: 0.9609 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.482/1.482, allocations: 207.6 MB / 232.5 MB, free: 3.941 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.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",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.001957/0.001957, allocations: 52.55 kB / 343 MB, free: 10.11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08918/0.09113, allocations: 49.13 MB / 392.1 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002761/0.09389, allocations: 1.535 MB / 393.7 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.09649, allocations: 1.469 MB / 395.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-05/0.09659, allocations: 4 kB / 395.1 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.09672, allocations: 11.81 kB / 395.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.09682, allocations: 23.78 kB / 395.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.09801, allocations: 394.8 kB / 395.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.09822, allocations: 135.6 kB / 395.7 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.787e-05/0.09827, allocations: 5.5 kB / 395.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.09835, allocations: 63.69 kB / 395.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.09845, allocations: 67.69 kB / 395.8 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.09847, allocations: 11.94 kB / 395.8 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007224/0.0992, allocations: 443.2 kB / 396.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.09926, allocations: 39.91 kB / 396.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.016e-05/0.09934, allocations: 71.52 kB / 396.4 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007049/0.1, allocations: 410.7 kB / 396.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1001, allocations: 0 / 396.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1001, allocations: 0 / 396.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1001, allocations: 0 / 396.8 MB, free: 4.145 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001061/0.1011, allocations: 0.5174 MB / 397.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1012, allocations: 12.03 kB / 397.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.14e-05/0.1012, allocations: 8.188 kB / 397.3 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.967e-05/0.1013, allocations: 46.67 kB / 397.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.1015, allocations: 36.78 kB / 397.4 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.1018, allocations: 205 kB / 397.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.1018, allocations: 4.375 kB / 397.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/0.1018, allocations: 12.33 kB / 397.6 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.1021, allocations: 152.1 kB / 397.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1021, allocations: 3.938 kB / 397.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1022, allocations: 0 / 397.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1022, allocations: 0 / 397.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.1024, allocations: 75.88 kB / 397.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008646/0.1033, allocations: 0.5751 MB / 398.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.1036, allocations: 159.9 kB / 398.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.1038, allocations: 70.59 kB / 398.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.1038, allocations: 0 / 398.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003821/0.1042, allocations: 165.8 kB / 398.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 5.71e-06/0.1042, allocations: 3.984 kB / 398.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001076/0.1053, allocations: 453.2 kB / 399.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.266e-05/0.1054, allocations: 118.8 kB / 399.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1056, allocations: 199.2 kB / 399.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.1056, allocations: 45.69 kB / 399.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.1057, allocations: 112.6 kB / 399.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.1057, allocations: 67.48 kB / 399.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.645e-05/0.1058, allocations: 61.69 kB / 399.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.106, allocations: 338.8 kB / 400.2 MB, free: 468 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.1062, allocations: 107.9 kB / 400.3 MB, free: 360 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.1065, allocations: 176.9 kB / 400.4 MB, free: 164 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.1069, allocations: 256 kB / 400.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1069, allocations: 4 kB / 400.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006422/0.1076, allocations: 338.6 kB / 401 MB, free: 15.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1076, allocations: 8 kB / 401 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1076, allocations: 4.141 kB / 401 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.1076, allocations: 11.94 kB / 401 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1078, allocations: 39.92 kB / 401.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1078, allocations: 4 kB / 401.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.506e-05/0.1079, allocations: 11.98 kB / 401.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.108, allocations: 8 kB / 401.1 MB, free: 15.47 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1],uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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.0001743/0.1081, allocations: 153.8 kB / 401.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.1082, allocations: 19.91 kB / 401.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.1082, allocations: 25.33 kB / 401.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.1082, allocations: 4 kB / 401.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1082, allocations: 0 / 401.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1082, allocations: 3.938 kB / 401.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009048/0.1091, allocations: 0.6453 MB / 402 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1092, allocations: 4 kB / 402 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.988e-05/0.1092, allocations: 19.98 kB / 402 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1092, allocations: 0 / 402 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.1093, allocations: 8 kB / 402 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1093, allocations: 8.172 kB / 402 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1093, allocations: 0 / 402 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.1098, allocations: 438.7 kB / 402.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.1098, allocations: 97.02 kB / 402.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.1099, allocations: 15.98 kB / 402.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.11, allocations: 4 kB / 402.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.1101, allocations: 27.84 kB / 402.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1101, allocations: 8.125 kB / 402.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1102, allocations: 139.2 kB / 402.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1102, allocations: 0 / 402.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005506/0.1108, allocations: 131.6 kB / 402.8 MB, free: 13.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (n,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001727/0.1125, allocations: 1.286 MB / 404.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005045/0.113, allocations: 208.7 kB / 404.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.113, allocations: 8 kB / 404.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.1132, allocations: 75.89 kB / 404.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1135, allocations: 19.92 kB / 404.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.1168, allocations: 2.642 MB / 407.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.1172, allocations: 0.7163 MB / 407.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.977e-05/0.1173, allocations: 33.47 kB / 407.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.553e-05/0.1174, allocations: 51.42 kB / 407.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1174, allocations: 0 / 407.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.1407, allocations: 5.965 MB / 413.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.345/8.485, allocations: 8.047 kB / 413.8 MB, free: 2.336 MB / 334.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.895204939995892] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 8.614114724041428 8.635632002 8.531565724 Calling exit ...