Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001266/0.001266, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.0013/0.0013, allocations: 197 kB / 21.43 MB, free: 1.609 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.417/1.417, 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.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 47.92 kB / 366.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1049, allocations: 52.15 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003279/0.1082, allocations: 1.849 MB / 420.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.1105, allocations: 1.263 MB / 421.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1106, allocations: 3.938 kB / 421.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.1108, allocations: 23.73 kB / 421.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.1109, allocations: 27.73 kB / 421.7 MB, free: 9.422 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.001047/0.1119, allocations: 319.1 kB / 422 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.1122, allocations: 219.5 kB / 422.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.1124, allocations: 48.28 kB / 422.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.1125, allocations: 95.67 kB / 422.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006115/0.1131, allocations: 131.7 kB / 422.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.1132, allocations: 20 kB / 422.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.1137, allocations: 287.5 kB / 422.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.544e-05/0.1138, allocations: 59.75 kB / 422.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1139, allocations: 103.4 kB / 422.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006667/0.1146, allocations: 386.6 kB / 423.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1146, allocations: 0 / 423.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1146, allocations: 0 / 423.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.1146, allocations: 0 / 423.3 MB, free: 7.785 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.001263/0.1159, allocations: 0.5812 MB / 423.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1159, allocations: 8.031 kB / 423.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.369e-05/0.1159, allocations: 8.125 kB / 423.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.84e-05/0.116, allocations: 62.72 kB / 423.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.1162, allocations: 36.78 kB / 424 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1165, allocations: 244.1 kB / 424.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.1166, allocations: 16 kB / 424.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.1166, allocations: 28 kB / 424.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.1172, allocations: 205.9 kB / 424.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1172, allocations: 0 / 424.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.1172, allocations: 4 kB / 424.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1172, allocations: 4 kB / 424.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004986/0.1177, allocations: 159.9 kB / 424.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.1188, allocations: 0.5859 MB / 425.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.1199, allocations: 318.6 kB / 425.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.1202, allocations: 121.4 kB / 425.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1203, allocations: 4 kB / 425.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004314/0.1207, allocations: 187.1 kB / 425.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.1207, allocations: 0 / 425.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.003086/0.1238, allocations: 1.101 MB / 426.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.1238, allocations: 63.34 kB / 427 MB, free: 3.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.1241, allocations: 211.8 kB / 427.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.1241, allocations: 41.69 kB / 427.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.604e-05/0.1242, allocations: 125 kB / 427.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.1243, allocations: 119 kB / 427.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.1245, allocations: 86.11 kB / 427.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1246, allocations: 334.8 kB / 427.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.1251, allocations: 156.8 kB / 428 MB, free: 2.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.1256, allocations: 206.3 kB / 428.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008198/0.1264, allocations: 325 kB / 428.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1264, allocations: 0 / 428.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001048/0.1274, allocations: 459.7 kB / 429 MB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1274, allocations: 4 kB / 429 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1274, allocations: 0 / 429 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1275, allocations: 4 kB / 429 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.1279, allocations: 95.8 kB / 429.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.1279, allocations: 4 kB / 429.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.1281, allocations: 23.97 kB / 429.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.1281, allocations: 16 kB / 429.2 MB, free: 1.613 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.0001697/0.1283, allocations: 149.6 kB / 429.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.1283, allocations: 27.84 kB / 429.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.325e-05/0.1284, allocations: 30.64 kB / 429.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.1284, allocations: 7.938 kB / 429.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1284, allocations: 0 / 429.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1284, allocations: 0 / 429.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.1302, allocations: 0.8135 MB / 430.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.1302, allocations: 4 kB / 430.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.1305, allocations: 59.94 kB / 430.2 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.1305, allocations: 4 kB / 430.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.1305, allocations: 16 kB / 430.3 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1305, allocations: 3.938 kB / 430.3 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1305, allocations: 64 / 430.3 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.132, allocations: 0.5949 MB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.132, allocations: 109 kB / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.1321, allocations: 8 kB / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.1323, allocations: 31.97 kB / 431 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.1324, allocations: 16.2 kB / 431 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.1324, allocations: 19.92 kB / 431 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.1326, allocations: 153.4 kB / 431.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1326, allocations: 7.938 kB / 431.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004965/0.1331, allocations: 103.8 kB / 431.3 MB, free: 15.36 MB / 366.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.002254/0.1353, allocations: 1.299 MB / 432.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.1364, allocations: 343.9 kB / 432.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1364, allocations: 0 / 432.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.1368, allocations: 148 kB / 433.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.1372, allocations: 40.39 kB / 433.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005236/0.1425, allocations: 3.116 MB / 436.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.1429, allocations: 0.7562 MB / 437 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.1431, allocations: 42.27 kB / 437 MB, free: 9.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.1432, allocations: 79.39 kB / 437.1 MB, free: 9.426 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1432, allocations: 4 kB / 437.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.1696, allocations: 6.863 MB / 444 MB, free: 2.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.696/8.865, allocations: 8 kB / 444 MB, free: 2.688 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.419859932968393] 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.992498197010718 9.196226056 9.079547901 Calling exit ...