Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 115.7 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 190.7 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 51.91 kB / 366.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1166, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003451/0.12, allocations: 1.861 MB / 420.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1221, allocations: 0.9898 MB / 421.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.1222, allocations: 0 / 421.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.1224, allocations: 23.73 kB / 421.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.1226, allocations: 31.73 kB / 421.4 MB, free: 9.699 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0006548/0.1232, allocations: 187.5 kB / 421.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.1235, allocations: 223.5 kB / 421.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.1237, allocations: 52.22 kB / 421.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.1238, allocations: 91.69 kB / 421.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006282/0.1244, allocations: 133.6 kB / 422.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.1245, allocations: 28 kB / 422.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.1247, allocations: 123.9 kB / 422.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-05/0.1248, allocations: 63.75 kB / 422.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1249, allocations: 91.47 kB / 422.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.1254, allocations: 294.8 kB / 422.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1254, allocations: 0 / 422.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1254, allocations: 0 / 422.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.1254, allocations: 4 kB / 422.7 MB, free: 8.43 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.001224/0.1266, allocations: 0.5657 MB / 423.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1267, allocations: 12.03 kB / 423.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.861e-05/0.1267, allocations: 4.188 kB / 423.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.088e-05/0.1268, allocations: 50.73 kB / 423.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.127, allocations: 36.78 kB / 423.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1273, allocations: 248.2 kB / 423.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.1273, allocations: 16 kB / 423.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.1274, allocations: 27.98 kB / 423.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.1279, allocations: 205.8 kB / 423.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1279, allocations: 0 / 423.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.1279, allocations: 8 kB / 423.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1279, allocations: 4 kB / 423.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/0.1284, allocations: 155.9 kB / 424 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.1296, allocations: 0.5976 MB / 424.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.1307, allocations: 313 kB / 424.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.1311, allocations: 121.4 kB / 425 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1311, allocations: 4 kB / 425 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004822/0.1316, allocations: 187.1 kB / 425.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.1316, allocations: 4 kB / 425.2 MB, free: 5.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.003309/0.1349, allocations: 1.097 MB / 426.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.135, allocations: 63.34 kB / 426.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.1352, allocations: 215.7 kB / 426.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.1353, allocations: 45.69 kB / 426.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.1355, allocations: 125 kB / 426.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.1356, allocations: 115 kB / 426.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.1357, allocations: 82.12 kB / 426.9 MB, free: 3.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1359, allocations: 334.8 kB / 427.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.1363, allocations: 160.8 kB / 427.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004666/0.1368, allocations: 198.4 kB / 427.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/0.1376, allocations: 332.9 kB / 427.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1376, allocations: 0 / 427.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001053/0.1386, allocations: 455.8 kB / 428.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1387, allocations: 4 kB / 428.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1387, allocations: 4 kB / 428.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1387, allocations: 0 / 428.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.1391, allocations: 99.73 kB / 428.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1391, allocations: 4 kB / 428.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.1393, allocations: 27.97 kB / 428.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.1393, allocations: 19.94 kB / 428.5 MB, free: 2.266 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 (49): * Single equations (assignments): 48 * 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.0001735/0.1395, allocations: 149.6 kB / 428.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.1395, allocations: 19.86 kB / 428.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.685e-05/0.1396, allocations: 30.64 kB / 428.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.1396, allocations: 7.938 kB / 428.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1396, allocations: 0 / 428.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1396, allocations: 4 kB / 428.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.1412, allocations: 0.8065 MB / 429.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1412, allocations: 0 / 429.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.1416, allocations: 71.88 kB / 429.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.1416, allocations: 0 / 429.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.1416, allocations: 8 kB / 429.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1416, allocations: 4.062 kB / 429.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1416, allocations: 4 kB / 429.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.143, allocations: 0.5987 MB / 430.2 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.235e-05/0.1431, allocations: 96.97 kB / 430.3 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.1431, allocations: 12.05 kB / 430.3 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.1433, allocations: 27.97 kB / 430.3 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.1434, allocations: 24.2 kB / 430.4 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.1434, allocations: 11.94 kB / 430.4 MB, free: 292 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1436, allocations: 149.5 kB / 430.5 MB, free: 144 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1436, allocations: 0 / 430.5 MB, free: 144 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.144, allocations: 75.92 kB / 430.6 MB, free: 68 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (29): * Single equations (assignments): 27 * 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.002137/0.1461, allocations: 1.236 MB / 431.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009572/0.1471, allocations: 343.2 kB / 432.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1471, allocations: 0 / 432.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004142/0.1475, allocations: 156.5 kB / 432.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1478, allocations: 46.22 kB / 432.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/0.1528, allocations: 3.112 MB / 435.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.1532, allocations: 0.7523 MB / 436.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.1533, allocations: 38.27 kB / 436.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.1535, allocations: 83.41 kB / 436.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1535, allocations: 4 kB / 436.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.18, allocations: 6.129 MB / 442.5 MB, free: 4.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.451/8.631, allocations: 13.52 kB / 442.5 MB, free: 4.176 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.268688982003368] Failed to read output from testmodel.py, exit status != 0: ['time', 'mean.mu', 'standardDeviation.variance.mu', 'standardDeviation.variance.var', 'variance.mu', 'variance.var', 'meanError_y', 'sigmaError_y'] 8.756805234006606 8.995114214 8.867057452 Calling exit ...