Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001294/0.001294, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001408/0.001408, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.519/1.519, allocations: 230.4 MB / 254.7 MB, free: 15.21 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.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",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.001934/0.001934, allocations: 67.83 kB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1159, allocations: 53.31 MB / 426.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003562/0.1195, allocations: 1.873 MB / 428.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.122, allocations: 1.317 MB / 430.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1221, allocations: 4 kB / 430.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.1222, allocations: 15.75 kB / 430.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.1224, allocations: 31.72 kB / 430.1 MB, free: 1.617 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.001021/0.1234, allocations: 311.1 kB / 430.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.1237, allocations: 219.4 kB / 430.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.1239, allocations: 56.27 kB / 430.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.124, allocations: 99.55 kB / 430.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000613/0.1246, allocations: 117.2 kB / 430.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.1247, allocations: 20 kB / 430.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.1252, allocations: 299.5 kB / 431.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.1253, allocations: 55.77 kB / 431.3 MB, free: 476 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.1254, allocations: 99.45 kB / 431.4 MB, free: 376 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2432/0.3685, allocations: 391.2 kB / 431.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3685, allocations: 0 / 431.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3685, allocations: 0 / 431.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.3686, allocations: 1.562 kB / 431.8 MB, free: 8.168 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.001277/0.3698, allocations: 0.5838 MB / 432.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.3699, allocations: 9.906 kB / 432.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.242e-05/0.37, allocations: 57.05 kB / 432.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.3702, allocations: 37.25 kB / 432.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.3705, allocations: 242.3 kB / 432.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.3705, allocations: 18.53 kB / 432.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.3706, allocations: 20.94 kB / 432.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.3711, allocations: 216.8 kB / 432.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3711, allocations: 0.8125 kB / 432.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.3711, allocations: 6.188 kB / 432.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3711, allocations: 4.531 kB / 433 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004532/0.3716, allocations: 161.5 kB / 433.1 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.3726, allocations: 0.5784 MB / 433.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009515/0.3735, allocations: 295.8 kB / 434 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.3738, allocations: 110 kB / 434.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3738, allocations: 5.875 kB / 434.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000363/0.3742, allocations: 161.2 kB / 434.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.3742, allocations: 0 / 434.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009457/0.3751, allocations: 356.3 kB / 434.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3752, allocations: 61.89 kB / 434.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.3754, allocations: 219.2 kB / 434.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.3754, allocations: 41.98 kB / 434.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.3755, allocations: 136.4 kB / 435 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.3755, allocations: 81.61 kB / 435.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.851e-05/0.3756, allocations: 67.14 kB / 435.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.3757, allocations: 335.6 kB / 435.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.376, allocations: 131.9 kB / 435.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.3764, allocations: 159.6 kB / 435.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006013/0.377, allocations: 272.5 kB / 436.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.377, allocations: 1.156 kB / 436.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008015/0.3778, allocations: 377.1 kB / 436.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3778, allocations: 6.406 kB / 436.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3778, allocations: 1.812 kB / 436.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3778, allocations: 1.094 kB / 436.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.3782, allocations: 71.52 kB / 436.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3782, allocations: 1.344 kB / 436.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.3784, allocations: 49.83 kB / 436.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.3784, allocations: 8.656 kB / 436.6 MB, free: 6.195 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 (38): * Single equations (assignments): 37 * 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.000129/0.3785, allocations: 149.6 kB / 436.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.3785, allocations: 19.77 kB / 436.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.581e-05/0.3786, allocations: 23.86 kB / 436.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.3786, allocations: 4.344 kB / 436.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3786, allocations: 5.562 kB / 436.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3786, allocations: 1.312 kB / 436.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009961/0.3796, allocations: 0.6207 MB / 437.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3796, allocations: 4.562 kB / 437.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.3799, allocations: 47.44 kB / 437.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3799, allocations: 1.828 kB / 437.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.3799, allocations: 3.625 kB / 437.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3799, allocations: 2.734 kB / 437.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3799, allocations: 2.125 kB / 437.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009586/0.3809, allocations: 482.9 kB / 437.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.3809, allocations: 106 kB / 438 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.3809, allocations: 17.38 kB / 438.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.3811, allocations: 19.7 kB / 438.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.3812, allocations: 15.08 kB / 438.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3812, allocations: 5.891 kB / 438.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3813, allocations: 154.7 kB / 438.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3813, allocations: 0 / 438.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.3818, allocations: 100.9 kB / 438.3 MB, free: 5.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 15 * 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.00183/0.3836, allocations: 1.178 MB / 439.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008113/0.3844, allocations: 267.5 kB / 439.8 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3845, allocations: 3.094 kB / 439.8 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.3848, allocations: 109.4 kB / 439.9 MB, free: 4.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.3851, allocations: 26.98 kB / 439.9 MB, free: 4.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.3893, allocations: 2.825 MB / 442.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.3895, allocations: 0.7422 MB / 443.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.3897, allocations: 35.53 kB / 443.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.3898, allocations: 73.16 kB / 443.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of SimCode: time 1.273e-06/0.3898, allocations: 0 / 443.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.4235, allocations: 6.077 MB / 449.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.764/9.188, allocations: 15.7 kB / 449.7 MB, free: 1.672 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.67310365010053] 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.265718127135187 9.288391971 8.91558316 Calling exit ...