Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001528/0.001528, 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.001805/0.001805, 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.482/1.482, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 59.89 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.117, allocations: 53.37 MB / 427.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003432/0.1204, allocations: 1.886 MB / 429 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1224, allocations: 1.024 MB / 430 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1225, allocations: 4 kB / 430 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.1227, allocations: 19.73 kB / 430 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.1229, allocations: 39.64 kB / 430 MB, free: 1.641 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.0006197/0.1235, allocations: 183.5 kB / 430.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.1238, allocations: 223.4 kB / 430.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.124, allocations: 44.28 kB / 430.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1241, allocations: 111.5 kB / 430.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006174/0.1247, allocations: 109.2 kB / 430.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.962e-05/0.1248, allocations: 24 kB / 430.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.125, allocations: 131.8 kB / 430.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.1251, allocations: 63.69 kB / 430.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1252, allocations: 99.45 kB / 431 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.1257, allocations: 302.8 kB / 431.3 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1257, allocations: 4 kB / 431.3 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1257, allocations: 0 / 431.3 MB, free: 380 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1257, allocations: 0 / 431.3 MB, free: 380 kB / 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.001239/0.127, allocations: 0.558 MB / 431.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.127, allocations: 12.03 kB / 431.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.402e-05/0.127, allocations: 8.188 kB / 431.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.113e-05/0.1271, allocations: 58.67 kB / 431.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.1273, allocations: 36.78 kB / 432 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.1276, allocations: 240 kB / 432.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.1276, allocations: 16.38 kB / 432.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.1277, allocations: 24.38 kB / 432.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.1282, allocations: 217.2 kB / 432.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1282, allocations: 0 / 432.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.1283, allocations: 7.938 kB / 432.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1283, allocations: 4 kB / 432.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005383/0.1288, allocations: 159.9 kB / 432.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.1299, allocations: 0.5974 MB / 433.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.131, allocations: 310.7 kB / 433.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.1314, allocations: 120.7 kB / 433.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.1314, allocations: 3.984 kB / 433.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/0.1319, allocations: 181.6 kB / 433.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.1319, allocations: 3.938 kB / 433.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.003358/0.1352, allocations: 1.12 MB / 435 MB, free: 12.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.1353, allocations: 55.41 kB / 435 MB, free: 12.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.1355, allocations: 218.9 kB / 435.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.1355, allocations: 45.69 kB / 435.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.1356, allocations: 129 kB / 435.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.54e-05/0.1357, allocations: 111.1 kB / 435.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1359, allocations: 78.12 kB / 435.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.136, allocations: 346.8 kB / 435.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004779/0.1365, allocations: 160.8 kB / 436.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005243/0.137, allocations: 206.4 kB / 436.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009122/0.1379, allocations: 345.5 kB / 436.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1379, allocations: 0 / 436.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001135/0.1391, allocations: 459.7 kB / 437.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.1391, allocations: 9.875 kB / 437.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1391, allocations: 0 / 437.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1391, allocations: 4 kB / 437.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.1395, allocations: 91.86 kB / 437.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1396, allocations: 4 kB / 437.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.1398, allocations: 23.97 kB / 437.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.1398, allocations: 23.98 kB / 437.2 MB, free: 10.16 MB / 366.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.0001707/0.14, allocations: 153.7 kB / 437.4 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.14, allocations: 27.75 kB / 437.4 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.755e-05/0.1401, allocations: 30.64 kB / 437.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1401, allocations: 4 kB / 437.4 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1401, allocations: 0 / 437.4 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1401, allocations: 0 / 437.4 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.1419, allocations: 0.7917 MB / 438.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1419, allocations: 0 / 438.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.1422, allocations: 71.81 kB / 438.3 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.1422, allocations: 4 kB / 438.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.1423, allocations: 0 / 438.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.1423, allocations: 7.984 kB / 438.3 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1423, allocations: 3.938 kB / 438.3 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.1438, allocations: 0.5996 MB / 438.9 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.1438, allocations: 92.97 kB / 439 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.1439, allocations: 16.05 kB / 439 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.1441, allocations: 23.97 kB / 439 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.1442, allocations: 27.91 kB / 439.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.1442, allocations: 11.98 kB / 439.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1444, allocations: 156.7 kB / 439.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1444, allocations: 0 / 439.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.1448, allocations: 71.92 kB / 439.3 MB, free: 7.973 MB / 366.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.002159/0.1469, allocations: 1.235 MB / 440.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.148, allocations: 354.4 kB / 440.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.148, allocations: 0 / 440.9 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.1485, allocations: 151.8 kB / 441 MB, free: 6.242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1488, allocations: 27.94 kB / 441.1 MB, free: 6.215 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005408/0.1542, allocations: 3.145 MB / 444.2 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1546, allocations: 0.7519 MB / 445 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.1548, allocations: 38.27 kB / 445 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.1549, allocations: 83.41 kB / 445.1 MB, free: 2.074 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1549, allocations: 0 / 445.1 MB, free: 2.074 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.219/0.3739, allocations: 6.109 MB / 451.2 MB, free: 23.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.834/9.208, allocations: 6.266 kB / 451.2 MB, free: 23.76 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.777394186006859] 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.338512351037934 9.360734806 9.230802779 Calling exit ...