Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.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.001661/0.001661, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002088/0.002088, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.472/1.472, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Distributions",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.002051/0.002051, allocations: 72.02 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1094, allocations: 53.33 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002985/0.1124, allocations: 1.546 MB / 428.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002843/0.1153, allocations: 1.5 MB / 430.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.1153, allocations: 4 kB / 430.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.742e-05/0.1154, allocations: 7.875 kB / 430.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.802e-05/0.1155, allocations: 23.78 kB / 430.1 MB, free: 1.699 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.001106/0.1166, allocations: 394.8 kB / 430.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.1168, allocations: 131.6 kB / 430.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.895e-05/0.1169, allocations: 9.484 kB / 430.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.1169, allocations: 59.7 kB / 430.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000681/0.1176, allocations: 82.52 kB / 430.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.1177, allocations: 15.94 kB / 430.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007532/0.1184, allocations: 431.2 kB / 431.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.1185, allocations: 35.84 kB / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.441e-05/0.1186, allocations: 67.59 kB / 431.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006362/0.1192, allocations: 410.7 kB / 431.7 MB, free: 96 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1192, allocations: 0 / 431.7 MB, free: 96 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1192, allocations: 7.938 kB / 431.7 MB, free: 88 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.1192, allocations: 0 / 431.7 MB, free: 88 kB / 350.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.2007/0.3199, allocations: 0.5119 MB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.32, allocations: 11.28 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.873e-05/0.32, allocations: 39.36 kB / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000372/0.3204, allocations: 35.48 kB / 432.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.3206, allocations: 204.9 kB / 432.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.3207, allocations: 14.67 kB / 432.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.3207, allocations: 8.844 kB / 432.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.3211, allocations: 132 kB / 432.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3211, allocations: 8.719 kB / 432.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3211, allocations: 4.984 kB / 432.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3211, allocations: 2.219 kB / 432.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.3214, allocations: 61.05 kB / 432.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009062/0.3223, allocations: 0.552 MB / 433.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.3228, allocations: 150.1 kB / 433.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.323, allocations: 63.73 kB / 433.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.323, allocations: 1.969 kB / 433.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004098/0.3234, allocations: 150.3 kB / 433.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 3.476e-06/0.3234, allocations: 1.312 kB / 433.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009215/0.3243, allocations: 250.6 kB / 433.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.3244, allocations: 119.4 kB / 434 MB, free: 9.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.3247, allocations: 202.5 kB / 434.2 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/0.3247, allocations: 50.06 kB / 434.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.3248, allocations: 115.6 kB / 434.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.3248, allocations: 38.53 kB / 434.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.3249, allocations: 61.38 kB / 434.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.325, allocations: 332.8 kB / 434.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.3253, allocations: 100.2 kB / 434.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.3256, allocations: 135.5 kB / 435 MB, free: 9.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/0.3261, allocations: 223.9 kB / 435.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3261, allocations: 0 / 435.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006844/0.3268, allocations: 310.8 kB / 435.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.3269, allocations: 6.688 kB / 435.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.3269, allocations: 1.969 kB / 435.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.3269, allocations: 2.281 kB / 435.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.3271, allocations: 32.03 kB / 435.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3272, allocations: 1.531 kB / 435.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.3273, allocations: 32.36 kB / 435.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.3273, allocations: 12.38 kB / 435.6 MB, free: 9.133 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: 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 (29): * Single equations (assignments): 27 * 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.0002059/0.3275, allocations: 151.3 kB / 435.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.3276, allocations: 17.34 kB / 435.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.3277, allocations: 13.06 kB / 435.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3277, allocations: 1.156 kB / 435.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.3277, allocations: 2.125 kB / 435.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3277, allocations: 7.5 kB / 435.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.328, allocations: 224.3 kB / 436 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.328, allocations: 1.938 kB / 436 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.973e-05/0.3281, allocations: 10.75 kB / 436 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3281, allocations: 1.219 kB / 436 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.3281, allocations: 6.469 kB / 436 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3281, allocations: 5.094 kB / 436.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3281, allocations: 1.094 kB / 436.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006343/0.3287, allocations: 240.4 kB / 436.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.3288, allocations: 98.58 kB / 436.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.992e-05/0.3288, allocations: 9.938 kB / 436.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3289, allocations: 7.312 kB / 436.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.94e-05/0.329, allocations: 22.19 kB / 436.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3291, allocations: 7.5 kB / 436.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.3293, allocations: 138.9 kB / 436.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3293, allocations: 0.8438 kB / 436.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008517/0.3301, allocations: 126.1 kB / 436.7 MB, free: 8.496 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.001929/0.332, allocations: 1.054 MB / 437.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007317/0.3328, allocations: 186.1 kB / 437.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3328, allocations: 0 / 437.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.333, allocations: 59.2 kB / 438 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.3334, allocations: 18 kB / 438 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/0.3381, allocations: 2.309 MB / 440.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.3383, allocations: 0.7223 MB / 441 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.3384, allocations: 21.91 kB / 441.1 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.3385, allocations: 50.23 kB / 441.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of SimCode: time 1.462e-06/0.3385, allocations: 0 / 441.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0391/0.3776, allocations: 5.562 MB / 446.7 MB, free: 4.766 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.311/8.688, allocations: 5.75 kB / 446.7 MB, free: 4.762 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039208 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.271950881928205] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 8.764200612902641 8.792060395 8.667103532 Calling exit ...