Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001758/0.001758, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.001999/0.001999, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.614/1.614, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002781/0.002781, allocations: 59.91 kB / 373.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1194, allocations: 53.37 MB / 427.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.00338/0.1228, allocations: 1.883 MB / 429 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.1251, allocations: 1.309 MB / 430.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.181e-05/0.1252, allocations: 0 / 430.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.1253, allocations: 19.73 kB / 430.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.1255, allocations: 31.72 kB / 430.3 MB, free: 1.312 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0007989/0.1263, allocations: 315 kB / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.1265, allocations: 219.5 kB / 430.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1267, allocations: 56.2 kB / 430.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1268, allocations: 99.61 kB / 431 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005515/0.1274, allocations: 121.5 kB / 431.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.888e-05/0.1274, allocations: 20 kB / 431.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.1279, allocations: 295.5 kB / 431.4 MB, free: 216 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.1279, allocations: 59.81 kB / 431.5 MB, free: 156 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.938e-05/0.128, allocations: 95.47 kB / 431.6 MB, free: 60 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1963/0.3243, allocations: 385.9 kB / 431.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3243, allocations: 1.828 kB / 431.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3243, allocations: 2.812 kB / 431.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3243, allocations: 0 / 431.9 MB, free: 7.875 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.001106/0.3254, allocations: 0.5898 MB / 432.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3255, allocations: 10.38 kB / 432.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.217e-05/0.3255, allocations: 11.03 kB / 432.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.964e-05/0.3256, allocations: 57.44 kB / 432.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.3258, allocations: 36.75 kB / 432.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.326, allocations: 237.5 kB / 432.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.3261, allocations: 15.16 kB / 432.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.3261, allocations: 23.41 kB / 432.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.3266, allocations: 219.5 kB / 433.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.3267, allocations: 1.875 kB / 433.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.3267, allocations: 3.875 kB / 433.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3267, allocations: 5.344 kB / 433.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/0.3272, allocations: 160.5 kB / 433.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009906/0.3282, allocations: 0.5941 MB / 433.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3292, allocations: 319.5 kB / 434.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.3295, allocations: 122.6 kB / 434.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.3295, allocations: 10.69 kB / 434.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.3299, allocations: 171.6 kB / 434.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.354e-06/0.3299, allocations: 0 / 434.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00316/0.3331, allocations: 1.118 MB / 435.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.3331, allocations: 59.09 kB / 435.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.3334, allocations: 215.9 kB / 435.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.3334, allocations: 40.75 kB / 435.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.3335, allocations: 131.6 kB / 436.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.3335, allocations: 117.2 kB / 436.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3337, allocations: 79.06 kB / 436.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.3337, allocations: 337.5 kB / 436.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004713/0.3342, allocations: 162.7 kB / 436.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.3348, allocations: 210.8 kB / 436.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/0.3356, allocations: 339.9 kB / 437.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3356, allocations: 1.125 kB / 437.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001085/0.3367, allocations: 461 kB / 437.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3367, allocations: 5.578 kB / 437.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3368, allocations: 0 / 437.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3368, allocations: 3.812 kB / 437.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.3372, allocations: 90.56 kB / 437.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3372, allocations: 8.688 kB / 437.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.3374, allocations: 35.72 kB / 437.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.3374, allocations: 14.33 kB / 437.9 MB, free: 5.605 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.000139/0.3376, allocations: 148.8 kB / 438 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.3376, allocations: 29.98 kB / 438.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.299e-05/0.3377, allocations: 30.03 kB / 438.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3377, allocations: 6.906 kB / 438.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3377, allocations: 1.609 kB / 438.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3377, allocations: 1.406 kB / 438.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.3393, allocations: 0.7861 MB / 438.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3393, allocations: 1.25 kB / 438.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.3396, allocations: 63.44 kB / 438.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3396, allocations: 1.469 kB / 438.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.3397, allocations: 13.97 kB / 439 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3397, allocations: 2.766 kB / 439 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3397, allocations: 8.281 kB / 439 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.3411, allocations: 0.5945 MB / 439.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.3411, allocations: 100.9 kB / 439.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.3412, allocations: 11.08 kB / 439.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.3414, allocations: 30.7 kB / 439.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.3415, allocations: 27.83 kB / 439.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.3415, allocations: 8.641 kB / 439.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.3417, allocations: 155.4 kB / 439.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3417, allocations: 0 / 439.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005572/0.3422, allocations: 111.3 kB / 440 MB, free: 4.77 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.002197/0.3444, allocations: 1.298 MB / 441.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.3456, allocations: 353.3 kB / 441.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3456, allocations: 0.5625 kB / 441.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.3461, allocations: 148.4 kB / 441.8 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3464, allocations: 39.19 kB / 441.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.3516, allocations: 3.14 MB / 445 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.3518, allocations: 0.7503 MB / 445.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.352, allocations: 39.73 kB / 445.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.3522, allocations: 83.03 kB / 445.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3522, allocations: 4 kB / 445.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.3783, allocations: 6.882 MB / 452.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.02/9.399, allocations: 4 kB / 452.7 MB, free: 15.72 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.073051664046943] 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.531273792963475 9.547057278 9.219473326 Calling exit ...