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.001704/0.001704, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001831/0.001831, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.585/1.585, allocations: 230.6 MB / 254.8 MB, free: 14.89 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.001534/0.001534, allocations: 47.92 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1241, allocations: 53.34 MB / 427 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003467/0.1275, allocations: 1.877 MB / 428.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.1301, allocations: 1.313 MB / 430.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.1302, allocations: 4 kB / 430.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.1303, allocations: 19.73 kB / 430.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.1305, allocations: 27.73 kB / 430.3 MB, free: 1.477 MB / 350.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.0009292/0.1314, allocations: 319 kB / 430.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.1317, allocations: 215.5 kB / 430.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.1319, allocations: 56.2 kB / 430.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.132, allocations: 99.61 kB / 431 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006398/0.1327, allocations: 121.3 kB / 431.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.1327, allocations: 20 kB / 431.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.1332, allocations: 291.5 kB / 431.4 MB, free: 388 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-05/0.1333, allocations: 63.75 kB / 431.4 MB, free: 324 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1334, allocations: 103.4 kB / 431.5 MB, free: 220 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2622/0.3956, allocations: 378.7 kB / 431.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3957, allocations: 0.6562 kB / 431.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3957, allocations: 0 / 431.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3957, allocations: 0 / 431.9 MB, free: 8.023 MB / 350.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.001257/0.3969, allocations: 0.5925 MB / 432.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.397, allocations: 10.09 kB / 432.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.699e-05/0.397, allocations: 8.703 kB / 432.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.009e-05/0.3971, allocations: 57.03 kB / 432.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.3973, allocations: 35.2 kB / 432.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.3976, allocations: 241.6 kB / 432.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.3976, allocations: 22.27 kB / 432.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/0.3977, allocations: 25.5 kB / 432.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.3982, allocations: 208.6 kB / 433.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3982, allocations: 0 / 433.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.3983, allocations: 10.12 kB / 433.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3983, allocations: 3.25 kB / 433.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005262/0.3988, allocations: 160.8 kB / 433.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.3999, allocations: 0.5933 MB / 433.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.401, allocations: 321.5 kB / 434.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.4013, allocations: 119.2 kB / 434.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.4013, allocations: 7.297 kB / 434.3 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000425/0.4017, allocations: 170.7 kB / 434.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.255e-06/0.4018, allocations: 0 / 434.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003469/0.4052, allocations: 1.118 MB / 435.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.4053, allocations: 60.56 kB / 435.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.4056, allocations: 212.2 kB / 435.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.4056, allocations: 48.83 kB / 435.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.4057, allocations: 130.2 kB / 436 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.264e-05/0.4058, allocations: 110.5 kB / 436.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.4059, allocations: 79.05 kB / 436.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.406, allocations: 336.7 kB / 436.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/0.4065, allocations: 167.8 kB / 436.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.4071, allocations: 203.3 kB / 436.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/0.408, allocations: 342.5 kB / 437.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.408, allocations: 0 / 437.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001193/0.4092, allocations: 463.8 kB / 437.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4092, allocations: 5.375 kB / 437.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.4092, allocations: 1.719 kB / 437.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.4093, allocations: 4.203 kB / 437.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.4097, allocations: 97.03 kB / 437.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4097, allocations: 2.188 kB / 437.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.41, allocations: 29.77 kB / 437.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.41, allocations: 15.44 kB / 437.8 MB, free: 5.762 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.0001594/0.4101, allocations: 155.2 kB / 438 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.4102, allocations: 29.03 kB / 438 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.085e-05/0.4103, allocations: 29.58 kB / 438 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4103, allocations: 3.094 kB / 438.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.4103, allocations: 0.5156 kB / 438.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4103, allocations: 2.375 kB / 438.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.412, allocations: 0.7889 MB / 438.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.412, allocations: 0.7969 kB / 438.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.4124, allocations: 74.98 kB / 438.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.4124, allocations: 4.812 kB / 438.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.4124, allocations: 9.547 kB / 438.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.4124, allocations: 7.719 kB / 438.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4124, allocations: 1.094 kB / 438.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.4139, allocations: 0.5934 MB / 439.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.414, allocations: 99.98 kB / 439.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.414, allocations: 9.578 kB / 439.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.4143, allocations: 33.16 kB / 439.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.4144, allocations: 21.23 kB / 439.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.4144, allocations: 10.02 kB / 439.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.4146, allocations: 156.5 kB / 439.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4146, allocations: 3.828 kB / 439.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006021/0.4152, allocations: 112.7 kB / 440 MB, free: 4.918 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.002185/0.4173, allocations: 1.297 MB / 441.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.4184, allocations: 349 kB / 441.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4184, allocations: 0 / 441.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.419, allocations: 154.5 kB / 441.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.4193, allocations: 34.59 kB / 441.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/0.4245, allocations: 3.146 MB / 444.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.4247, allocations: 0.7462 MB / 445.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.4249, allocations: 45.44 kB / 445.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.425, allocations: 82.98 kB / 445.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.172e-06/0.425, allocations: 0 / 445.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/0.4528, allocations: 6.875 MB / 452.7 MB, free: 68 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.841/9.294, allocations: 8.875 kB / 452.7 MB, free: 64 kB / 350.1 MB " [Timeout remaining time 651] (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: 11.945673147041816] 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'] 9.421067019982729 9.437378747 9.038618586 Calling exit ...