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.001282/0.001282, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001326/0.001326, allocations: 189.6 kB / 24.49 MB, free: 3.98 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.381/1.381, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.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.0014/0.0014, allocations: 47.92 kB / 371.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2469, allocations: 52.17 MB / 423.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003034/0.2499, allocations: 1.8 MB / 425.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.252, allocations: 1.185 MB / 426.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.252, allocations: 4 kB / 426.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.2521, allocations: 15.75 kB / 426.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.505e-05/0.2522, allocations: 27.67 kB / 426.4 MB, free: 11.5 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.0008558/0.2531, allocations: 335.1 kB / 426.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.2534, allocations: 223.5 kB / 426.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2535, allocations: 40.56 kB / 427 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.2536, allocations: 103.6 kB / 427.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004958/0.2541, allocations: 122 kB / 427.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.2541, allocations: 24 kB / 427.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.2547, allocations: 323.4 kB / 427.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.2547, allocations: 59.81 kB / 427.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.939e-05/0.2548, allocations: 83.53 kB / 427.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.2553, allocations: 400.8 kB / 428.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2553, allocations: 0 / 428.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2553, allocations: 0 / 428.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2554, allocations: 0 / 428.1 MB, free: 9.824 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.001003/0.2564, allocations: 0.4981 MB / 428.6 MB, free: 9.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2564, allocations: 15.97 kB / 428.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.465e-05/0.2564, allocations: 8.172 kB / 428.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.87e-05/0.2565, allocations: 50.73 kB / 428.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.2567, allocations: 40.78 kB / 428.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.2569, allocations: 187.1 kB / 428.9 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.257, allocations: 20 kB / 428.9 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.471e-05/0.257, allocations: 20 kB / 428.9 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.2575, allocations: 213.2 kB / 429.1 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2575, allocations: 0 / 429.1 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.2575, allocations: 4 kB / 429.1 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2575, allocations: 4 kB / 429.1 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.258, allocations: 155.9 kB / 429.3 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.259, allocations: 0.5109 MB / 429.8 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.26, allocations: 318.6 kB / 430.1 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.2603, allocations: 124.7 kB / 430.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.2603, allocations: 4 kB / 430.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004049/0.2607, allocations: 184.9 kB / 430.4 MB, free: 7.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.664e-06/0.2608, allocations: 0 / 430.4 MB, free: 7.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.00283/0.2636, allocations: 1.023 MB / 431.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.2636, allocations: 67.41 kB / 431.5 MB, free: 6.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.2639, allocations: 211.8 kB / 431.7 MB, free: 6.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.2639, allocations: 41.69 kB / 431.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.264, allocations: 125 kB / 431.8 MB, free: 5.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.2641, allocations: 119 kB / 432 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.2642, allocations: 82.11 kB / 432 MB, free: 5.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2644, allocations: 334.8 kB / 432.4 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.2648, allocations: 160.8 kB / 432.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004471/0.2653, allocations: 198.4 kB / 432.7 MB, free: 4.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/0.266, allocations: 332.9 kB / 433 MB, free: 4.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2661, allocations: 4 kB / 433.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009987/0.2671, allocations: 451.8 kB / 433.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2671, allocations: 4 kB / 433.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2671, allocations: 0 / 433.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2671, allocations: 4 kB / 433.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.2675, allocations: 95.73 kB / 433.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.2675, allocations: 8.031 kB / 433.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.2677, allocations: 27.97 kB / 433.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.2677, allocations: 16 kB / 433.6 MB, free: 4 MB / 334.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.0001676/0.2679, allocations: 146.7 kB / 433.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.2679, allocations: 19.86 kB / 433.8 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.268, allocations: 30.64 kB / 433.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.268, allocations: 7.938 kB / 433.8 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.268, allocations: 4 kB / 433.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.268, allocations: 3.938 kB / 433.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.2696, allocations: 0.7417 MB / 434.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2696, allocations: 0 / 434.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.2699, allocations: 67.88 kB / 434.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2699, allocations: 4 kB / 434.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.2699, allocations: 8 kB / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2699, allocations: 3.984 kB / 434.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2699, allocations: 4.062 kB / 434.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.2712, allocations: 0.5955 MB / 435.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.2712, allocations: 19.84 kB / 435.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.2713, allocations: 16.06 kB / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.2715, allocations: 19.97 kB / 435.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.2715, allocations: 24.19 kB / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.2716, allocations: 15.94 kB / 435.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.2717, allocations: 153.5 kB / 435.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2717, allocations: 4 kB / 435.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000441/0.2721, allocations: 107.8 kB / 435.6 MB, free: 1.93 MB / 334.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.002083/0.2742, allocations: 1.303 MB / 436.9 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008792/0.2751, allocations: 339 kB / 437.3 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.2751, allocations: 4 kB / 437.3 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.2755, allocations: 152.9 kB / 437.4 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.2759, allocations: 43.78 kB / 437.5 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.2808, allocations: 3.119 MB / 440.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.281, allocations: 146.6 kB / 440.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.2811, allocations: 34.28 kB / 440.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.2813, allocations: 87.39 kB / 440.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2813, allocations: 0 / 440.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.3135, allocations: 7.233 MB / 448.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.27, allocations: 6.469 kB / 448.1 MB, free: 5.543 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.57653623004444] 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'] 11.43242377100978 11.449291658 11.190890747 Calling exit ...