Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001268/0.001268, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00149/0.00149, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.371/1.371, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 47.92 kB / 378.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2441, allocations: 53.35 MB / 431.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003124/0.2472, allocations: 1.82 MB / 433.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.2496, allocations: 1.243 MB / 434.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.929e-05/0.2496, allocations: 0 / 434.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.2498, allocations: 19.75 kB / 434.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.2499, allocations: 31.67 kB / 435 MB, free: 3.508 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.0008837/0.2508, allocations: 327.1 kB / 435.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.2511, allocations: 223.4 kB / 435.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.2512, allocations: 48.55 kB / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.2513, allocations: 103.6 kB / 435.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005428/0.2519, allocations: 127.5 kB / 435.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.2519, allocations: 20 kB / 435.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005077/0.2524, allocations: 331.4 kB / 436.1 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-05/0.2525, allocations: 55.83 kB / 436.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.562e-05/0.2526, allocations: 87.52 kB / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.2531, allocations: 392.9 kB / 436.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2531, allocations: 0 / 436.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2531, allocations: 0 / 436.6 MB, free: 1.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2531, allocations: 3.938 kB / 436.7 MB, free: 1.82 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.001083/0.2542, allocations: 0.5058 MB / 437.2 MB, free: 1.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2543, allocations: 12.03 kB / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.018e-05/0.2543, allocations: 8.172 kB / 437.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.329e-05/0.2544, allocations: 54.69 kB / 437.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.2546, allocations: 36.78 kB / 437.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.2548, allocations: 186.1 kB / 437.5 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.2549, allocations: 16.12 kB / 437.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.2549, allocations: 24 kB / 437.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.2554, allocations: 209.9 kB / 437.7 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2554, allocations: 0 / 437.7 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.2555, allocations: 4 kB / 437.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.2555, allocations: 4 kB / 437.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.256, allocations: 168.4 kB / 437.9 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.2571, allocations: 0.5262 MB / 438.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.2581, allocations: 309.3 kB / 438.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.2584, allocations: 116.8 kB / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.2584, allocations: 15.95 kB / 438.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004214/0.2589, allocations: 181.3 kB / 439 MB, free: 15.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 3.447e-06/0.2589, allocations: 7.922 kB / 439 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003301/0.2622, allocations: 1.028 MB / 440 MB, free: 14.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.2622, allocations: 67.39 kB / 440.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.2625, allocations: 214.9 kB / 440.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.2625, allocations: 41.7 kB / 440.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.2626, allocations: 132.9 kB / 440.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.999e-05/0.2627, allocations: 111.1 kB / 440.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.2628, allocations: 78.11 kB / 440.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.263, allocations: 338.8 kB / 441 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.2634, allocations: 168.8 kB / 441.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.2639, allocations: 202.3 kB / 441.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008283/0.2647, allocations: 337.5 kB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2647, allocations: 3.938 kB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001042/0.2657, allocations: 459.8 kB / 442.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.2658, allocations: 10.19 kB / 442.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2658, allocations: 3.984 kB / 442.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.2658, allocations: 7.969 kB / 442.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.2662, allocations: 91.88 kB / 442.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2662, allocations: 0 / 442.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.2664, allocations: 31.95 kB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.2665, allocations: 15.98 kB / 442.3 MB, free: 11.94 MB / 350.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 (48): * Single equations (assignments): 47 * 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.0001685/0.2666, allocations: 154.6 kB / 442.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.2667, allocations: 27.81 kB / 442.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.446e-05/0.2668, allocations: 30.64 kB / 442.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2668, allocations: 0 / 442.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.2668, allocations: 4 kB / 442.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2668, allocations: 0 / 442.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.2684, allocations: 0.7213 MB / 443.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2684, allocations: 0 / 443.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.2687, allocations: 63.88 kB / 443.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2687, allocations: 8.031 kB / 443.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.2688, allocations: 15.92 kB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2688, allocations: 0 / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2688, allocations: 0 / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.2701, allocations: 0.5997 MB / 443.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.2701, allocations: 27.86 kB / 443.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.2702, allocations: 11.94 kB / 444 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.2704, allocations: 31.95 kB / 444 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.2705, allocations: 19.97 kB / 444 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.2705, allocations: 11.98 kB / 444 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.2707, allocations: 152.7 kB / 444.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2707, allocations: 0 / 444.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004335/0.2711, allocations: 115.7 kB / 444.3 MB, free: 9.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (27): * Single equations (assignments): 25 * 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.0022/0.2733, allocations: 1.315 MB / 445.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.2743, allocations: 352.2 kB / 445.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2743, allocations: 0 / 445.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004388/0.2748, allocations: 159.9 kB / 446.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.2751, allocations: 19.95 kB / 446.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005085/0.2802, allocations: 3.146 MB / 449.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.2803, allocations: 142.2 kB / 449.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.2805, allocations: 38.28 kB / 449.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.2807, allocations: 83.39 kB / 449.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2807, allocations: 0 / 449.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03083/0.3115, allocations: 7.269 MB / 456.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.18, allocations: 10.05 kB / 456.8 MB, free: 13.44 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.512714497977868] Failed to read output from testmodel.py, exit status != 0: ['time', 'meanError_y', 'sigmaError_y', 'mean.y', 'variance.mu', 'variance.var', 'standardDeviation.variance.mu', 'standardDeviation.variance.var'] 11.341852977056988 11.35704954 11.100909859 Calling exit ...