Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001283/0.001283, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001339/0.001339, allocations: 192.8 kB / 24.49 MB, free: 3.941 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.374/1.374, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.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.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 51.92 kB / 371.2 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2553, allocations: 52.18 MB / 423.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003203/0.2585, allocations: 1.789 MB / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.2602, allocations: 0.9355 MB / 426.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.99e-05/0.2603, allocations: 4 kB / 426.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.2605, allocations: 23.67 kB / 426.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.2606, allocations: 35.72 kB / 426.2 MB, free: 11.56 MB / 334.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.0006162/0.2613, allocations: 191.5 kB / 426.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.2615, allocations: 219.4 kB / 426.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.2617, allocations: 48.56 kB / 426.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.2618, allocations: 103.6 kB / 426.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005955/0.2624, allocations: 126.8 kB / 426.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.2625, allocations: 20 kB / 426.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.2628, allocations: 167.7 kB / 427 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.844e-05/0.2629, allocations: 59.83 kB / 427.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.263, allocations: 79.58 kB / 427.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.2635, allocations: 299.7 kB / 427.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2635, allocations: 0 / 427.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2635, allocations: 0 / 427.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.2635, allocations: 0 / 427.4 MB, free: 10.28 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001112/0.2646, allocations: 0.4904 MB / 427.9 MB, free: 9.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2646, allocations: 12.03 kB / 427.9 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.948e-05/0.2647, allocations: 8.125 kB / 428 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.382e-05/0.2647, allocations: 50.73 kB / 428 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.2649, allocations: 36.78 kB / 428 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.2652, allocations: 195.1 kB / 428.2 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.2653, allocations: 12 kB / 428.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.2653, allocations: 24 kB / 428.3 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.2658, allocations: 209.3 kB / 428.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2658, allocations: 0 / 428.5 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.2658, allocations: 7.984 kB / 428.5 MB, free: 9.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2658, allocations: 4 kB / 428.5 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.2663, allocations: 151.9 kB / 428.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.2673, allocations: 0.5187 MB / 429.1 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.2683, allocations: 321.9 kB / 429.5 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.2687, allocations: 120.7 kB / 429.6 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.2687, allocations: 8 kB / 429.6 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000416/0.2691, allocations: 172.9 kB / 429.8 MB, free: 7.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.2691, allocations: 0 / 429.8 MB, free: 7.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.002801/0.2719, allocations: 1.02 MB / 430.8 MB, free: 6.781 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.272, allocations: 71.33 kB / 430.8 MB, free: 6.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.2722, allocations: 215.7 kB / 431.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.2722, allocations: 37.7 kB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2723, allocations: 129 kB / 431.2 MB, free: 6.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.608e-05/0.2724, allocations: 115 kB / 431.3 MB, free: 6.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.2725, allocations: 82.11 kB / 431.4 MB, free: 6.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2727, allocations: 342.8 kB / 431.7 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.2731, allocations: 156.8 kB / 431.9 MB, free: 5.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.2735, allocations: 202.4 kB / 432.1 MB, free: 5.402 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007436/0.2743, allocations: 336.9 kB / 432.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2743, allocations: 0 / 432.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009341/0.2752, allocations: 451.7 kB / 432.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2752, allocations: 8 kB / 432.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2752, allocations: 0 / 432.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2753, allocations: 0 / 432.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.2756, allocations: 99.83 kB / 433 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2756, allocations: 0 / 433 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.2758, allocations: 31.97 kB / 433 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.2758, allocations: 12 kB / 433 MB, free: 4.473 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 1 * 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.0001623/0.276, allocations: 150.6 kB / 433.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.276, allocations: 19.86 kB / 433.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.922e-05/0.2761, allocations: 34.66 kB / 433.2 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.2761, allocations: 7.922 kB / 433.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2761, allocations: 0 / 433.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2761, allocations: 0 / 433.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.2776, allocations: 0.7418 MB / 434 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2777, allocations: 0 / 434 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.278, allocations: 63.94 kB / 434 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.278, allocations: 0 / 434 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.278, allocations: 11.98 kB / 434 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.278, allocations: 11.98 kB / 434 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.278, allocations: 4 kB / 434.1 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.2792, allocations: 0.5955 MB / 434.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.2793, allocations: 23.92 kB / 434.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.2793, allocations: 8 kB / 434.7 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.2795, allocations: 27.97 kB / 434.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.2796, allocations: 20.19 kB / 434.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.2796, allocations: 19.92 kB / 434.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.2798, allocations: 149.5 kB / 434.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2798, allocations: 0 / 434.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.2801, allocations: 75.88 kB / 435 MB, free: 2.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001956/0.2821, allocations: 1.241 MB / 436.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008808/0.283, allocations: 343 kB / 436.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.283, allocations: 0 / 436.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.2833, allocations: 141.5 kB / 436.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.2837, allocations: 35.86 kB / 436.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.2883, allocations: 3.119 MB / 439.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.2885, allocations: 138.6 kB / 440 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000146/0.2886, allocations: 46.25 kB / 440 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.2888, allocations: 83.39 kB / 440.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2888, allocations: 0 / 440.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.3183, allocations: 6.514 MB / 446.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.22, allocations: 11.38 kB / 446.6 MB, free: 6.84 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.567849574028514] Failed to read output from testmodel.py, exit status != 0: ['time', 'mean.mu', 'standardDeviation.variance.mu', 'standardDeviation.variance.var', 'variance.mu', 'variance.var', 'meanError_y', 'sigmaError_y'] 11.375900930957869 11.391738384 11.125358912 Calling exit ...