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.001859/0.001859, allocations: 120.3 kB / 17.74 MB, free: 5.203 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.002116/0.002116, allocations: 186.9 kB / 20.68 MB, free: 2.27 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.455/1.455, allocations: 222.9 MB / 246.4 MB, free: 4.18 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001606, allocations: 51.91 kB / 357.5 MB, free: 8.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1199, allocations: 49.44 MB / 406.9 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003045/0.123, allocations: 1.826 MB / 408.8 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.1252, allocations: 1.255 MB / 410 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.648e-05/0.1253, allocations: 0 / 410 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.1254, allocations: 27.67 kB / 410.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.311e-05/0.1255, allocations: 23.72 kB / 410.1 MB, free: 4.133 MB / 334.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.0008681/0.1264, allocations: 311.2 kB / 410.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.1267, allocations: 215.5 kB / 410.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.1268, allocations: 72.33 kB / 410.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.127, allocations: 91.62 kB / 410.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005298/0.1275, allocations: 126 kB / 410.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.1275, allocations: 24 kB / 410.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.128, allocations: 275.5 kB / 411.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.1281, allocations: 51.83 kB / 411.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1282, allocations: 99.5 kB / 411.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.1287, allocations: 386.6 kB / 411.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1288, allocations: 0 / 411.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1288, allocations: 0 / 411.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1288, allocations: 0 / 411.7 MB, free: 2.512 MB / 334.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.001113/0.1299, allocations: 0.5889 MB / 412.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1299, allocations: 8.031 kB / 412.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.976e-05/0.13, allocations: 58.67 kB / 412.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.1302, allocations: 36.78 kB / 412.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.1305, allocations: 252.3 kB / 412.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.1306, allocations: 12 kB / 412.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.1306, allocations: 27.98 kB / 412.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.1311, allocations: 206.2 kB / 412.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1311, allocations: 0 / 412.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.1312, allocations: 8 kB / 412.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1312, allocations: 4 kB / 412.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.1316, allocations: 152.2 kB / 413 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1327, allocations: 0.5787 MB / 413.6 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.1337, allocations: 308.8 kB / 413.9 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.134, allocations: 112.8 kB / 414 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.1341, allocations: 8.062 kB / 414 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004232/0.1345, allocations: 171.2 kB / 414.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.1345, allocations: 0 / 414.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001024/0.1356, allocations: 354.5 kB / 414.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.1356, allocations: 63.39 kB / 414.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.1358, allocations: 207.8 kB / 414.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.1359, allocations: 37.7 kB / 414.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.136, allocations: 140.6 kB / 415 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.685e-05/0.1361, allocations: 75.36 kB / 415.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.1362, allocations: 73.62 kB / 415.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1364, allocations: 330.8 kB / 415.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.1367, allocations: 131.9 kB / 415.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.1371, allocations: 165.8 kB / 415.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006471/0.1378, allocations: 272.5 kB / 416 MB, free: 13.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1378, allocations: 0 / 416 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008325/0.1386, allocations: 365.2 kB / 416.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1386, allocations: 12.03 kB / 416.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1387, allocations: 0 / 416.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1387, allocations: 0 / 416.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.139, allocations: 71.89 kB / 416.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.139, allocations: 3.938 kB / 416.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.1392, allocations: 43.75 kB / 416.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.1392, allocations: 12 kB / 416.5 MB, free: 13.45 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.0001589/0.1394, allocations: 141.8 kB / 416.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.1394, allocations: 19.86 kB / 416.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.47e-05/0.1395, allocations: 29.8 kB / 416.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1395, allocations: 7.938 kB / 416.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.1395, allocations: 3.938 kB / 416.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1395, allocations: 0 / 416.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.1407, allocations: 0.6246 MB / 417.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1407, allocations: 0 / 417.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.1409, allocations: 47.89 kB / 417.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.141, allocations: 4 kB / 417.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.141, allocations: 8 kB / 417.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.141, allocations: 4 kB / 417.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.141, allocations: 3.938 kB / 417.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.1421, allocations: 485 kB / 417.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.1421, allocations: 108.8 kB / 418 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.1422, allocations: 8.062 kB / 418 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.1424, allocations: 15.97 kB / 418 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.1424, allocations: 19.98 kB / 418 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.1425, allocations: 7.984 kB / 418 MB, free: 11.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.1426, allocations: 155.1 kB / 418.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1426, allocations: 0 / 418.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004103/0.143, allocations: 99.73 kB / 418.3 MB, free: 11.58 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 (18): * Single equations (assignments): 16 * 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.001862/0.1449, allocations: 1.192 MB / 419.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007658/0.1457, allocations: 284.1 kB / 419.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1457, allocations: 0 / 419.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.146, allocations: 111.9 kB / 419.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.1463, allocations: 27.98 kB / 419.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.1506, allocations: 2.813 MB / 422.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.151, allocations: 0.7437 MB / 423.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.1511, allocations: 25.94 kB / 423.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.1513, allocations: 79.41 kB / 423.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1513, allocations: 0 / 423.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.1819, allocations: 6.036 MB / 429.6 MB, free: 292 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.825/9.007, allocations: 10.73 kB / 429.6 MB, free: 284 kB / 350.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.68893147399649] 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'] 9.311075867153704 9.325395774 9.193807982 Calling exit ...