Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.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.001524/0.001524, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001667/0.001667, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.Distributions,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Distributions,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 47.94 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2591, allocations: 53.36 MB / 431.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003594/0.2627, allocations: 1.564 MB / 433.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.2658, allocations: 1.52 MB / 435 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.27e-05/0.2659, allocations: 0 / 435 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.266, allocations: 15.8 kB / 435 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.836e-05/0.2661, allocations: 23.8 kB / 435 MB, free: 3.695 MB / 334.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.001164/0.2673, allocations: 402.7 kB / 435.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.2675, allocations: 135.6 kB / 435.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.2675, allocations: 5.688 kB / 435.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.2676, allocations: 59.75 kB / 435.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006561/0.2683, allocations: 93.06 kB / 435.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.2683, allocations: 8 kB / 435.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007702/0.269, allocations: 471.1 kB / 436.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.074e-05/0.2691, allocations: 31.92 kB / 436.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.552e-05/0.2692, allocations: 67.58 kB / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005965/0.2698, allocations: 409 kB / 436.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2698, allocations: 0 / 436.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2698, allocations: 0 / 436.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.2698, allocations: 4 kB / 436.7 MB, free: 2.043 MB / 334.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.0008056/0.2706, allocations: 456.7 kB / 437.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2706, allocations: 8.031 kB / 437.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.54e-05/0.2707, allocations: 8.188 kB / 437.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.272e-05/0.2707, allocations: 42.73 kB / 437.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.271, allocations: 36.78 kB / 437.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.2711, allocations: 148 kB / 437.4 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.2712, allocations: 16.11 kB / 437.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.2712, allocations: 8 kB / 437.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.2715, allocations: 136.2 kB / 437.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2715, allocations: 0 / 437.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.2715, allocations: 0 / 437.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2715, allocations: 4 kB / 437.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.2717, allocations: 75.81 kB / 437.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/0.2726, allocations: 0.5545 MB / 438.2 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.2729, allocations: 159.8 kB / 438.3 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.2731, allocations: 70.62 kB / 438.4 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.2731, allocations: 4 kB / 438.4 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/0.2734, allocations: 161.9 kB / 438.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.463e-06/0.2734, allocations: 0 / 438.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001055/0.2745, allocations: 440.6 kB / 439 MB, free: 15.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.2746, allocations: 118.8 kB / 439.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.2748, allocations: 203.3 kB / 439.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.2748, allocations: 45.69 kB / 439.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.2749, allocations: 116.7 kB / 439.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.275, allocations: 59.53 kB / 439.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.2751, allocations: 65.69 kB / 439.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2753, allocations: 334.8 kB / 439.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.2755, allocations: 103.7 kB / 440 MB, free: 14.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.2757, allocations: 157.3 kB / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.2762, allocations: 264 kB / 440.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2762, allocations: 0 / 440.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006064/0.2768, allocations: 340.5 kB / 440.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.2768, allocations: 11.94 kB / 440.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2768, allocations: 4.156 kB / 440.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.2768, allocations: 4 kB / 440.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.277, allocations: 39.91 kB / 440.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.277, allocations: 4 kB / 440.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.84e-05/0.2771, allocations: 12 kB / 440.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.2772, allocations: 12.12 kB / 440.8 MB, free: 13.61 MB / 350.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.0001802/0.2773, allocations: 153.8 kB / 441 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.2774, allocations: 27.8 kB / 441 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.2774, allocations: 25.33 kB / 441 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.2774, allocations: 4 kB / 441 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2774, allocations: 0 / 441 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2774, allocations: 0 / 441 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009536/0.2784, allocations: 0.6209 MB / 441.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.2784, allocations: 4 kB / 441.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.373e-05/0.2785, allocations: 23.92 kB / 441.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2785, allocations: 0 / 441.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.2785, allocations: 4 kB / 441.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.2785, allocations: 7.984 kB / 441.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2785, allocations: 0 / 441.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/0.279, allocations: 432.4 kB / 442.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.2791, allocations: 23.86 kB / 442.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.2791, allocations: 15.98 kB / 442.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2792, allocations: 4 kB / 442.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.2793, allocations: 23.91 kB / 442.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.2793, allocations: 12 kB / 442.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.2795, allocations: 143.1 kB / 442.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2795, allocations: 0 / 442.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005756/0.28, allocations: 135.6 kB / 442.5 MB, free: 11.86 MB / 350.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.001705/0.2817, allocations: 1.271 MB / 443.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005107/0.2823, allocations: 204.5 kB / 443.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2823, allocations: 320 / 443.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.2825, allocations: 91.77 kB / 444 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.2828, allocations: 15.94 kB / 444.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.2863, allocations: 2.624 MB / 446.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.2866, allocations: 0.7203 MB / 447.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.635e-05/0.2867, allocations: 29.47 kB / 447.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.64e-05/0.2868, allocations: 47.42 kB / 447.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2868, allocations: 0 / 447.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.3151, allocations: 6.111 MB / 453.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.56, allocations: 4.062 kB / 453.6 MB, free: 0.7266 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Distributions.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.932263924973086] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise_y', 'truncatedNormalNoise_y'] 11.722357717982959 11.73951053 11.466355082 Calling exit ...