Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001787/0.001787, allocations: 121.4 kB / 18.5 MB, free: 4.52 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.002083/0.002083, allocations: 213.6 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.52/1.52, allocations: 230.5 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1133, allocations: 53.33 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003511/0.1168, allocations: 1.882 MB / 428.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.1188, allocations: 1.013 MB / 429.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1189, allocations: 4 kB / 429.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.119, allocations: 19.73 kB / 429.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.1192, allocations: 35.66 kB / 430 MB, free: 1.812 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.0005885/0.1198, allocations: 191.5 kB / 430.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.1201, allocations: 223.4 kB / 430.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.1202, allocations: 48.28 kB / 430.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1204, allocations: 107.5 kB / 430.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000638/0.121, allocations: 117.9 kB / 430.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.121, allocations: 20 kB / 430.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.1213, allocations: 131.8 kB / 430.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.1214, allocations: 67.75 kB / 430.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1215, allocations: 99.45 kB / 431 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.1219, allocations: 298.8 kB / 431.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1219, allocations: 0 / 431.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1219, allocations: 0 / 431.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.122, allocations: 0 / 431.3 MB, free: 0.5352 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.1954/0.3174, allocations: 0.5548 MB / 431.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3174, allocations: 12.12 kB / 431.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.546e-05/0.3175, allocations: 54.56 kB / 431.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.3177, allocations: 42.14 kB / 431.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.318, allocations: 244.2 kB / 432.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.3181, allocations: 15.84 kB / 432.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.3181, allocations: 21.09 kB / 432.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.3187, allocations: 207 kB / 432.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3187, allocations: 0 / 432.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.3187, allocations: 6.344 kB / 432.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3187, allocations: 4.25 kB / 432.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.3192, allocations: 163.2 kB / 432.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.3202, allocations: 0.5806 MB / 433.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.3213, allocations: 292.2 kB / 433.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.3216, allocations: 118.5 kB / 433.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3216, allocations: 2.188 kB / 433.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/0.322, allocations: 166.4 kB / 433.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.412e-06/0.322, allocations: 1.625 kB / 433.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001005/0.323, allocations: 353 kB / 434.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3231, allocations: 67.42 kB / 434.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.3233, allocations: 225.1 kB / 434.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.3233, allocations: 40.73 kB / 434.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.3233, allocations: 135.3 kB / 434.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.3234, allocations: 76.55 kB / 434.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.74e-05/0.3235, allocations: 66.33 kB / 434.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/0.3235, allocations: 336.2 kB / 435 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.3239, allocations: 132.6 kB / 435.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.3242, allocations: 162.5 kB / 435.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.3249, allocations: 267.4 kB / 435.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3249, allocations: 0 / 435.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008673/0.3258, allocations: 376.9 kB / 435.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3258, allocations: 6.625 kB / 435.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3258, allocations: 5.281 kB / 435.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3258, allocations: 1.281 kB / 435.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.3261, allocations: 71.8 kB / 436 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3261, allocations: 5.156 kB / 436 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.3263, allocations: 43.83 kB / 436 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.3263, allocations: 12.44 kB / 436 MB, free: 9.617 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.0001192/0.3265, allocations: 141.8 kB / 436.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.3265, allocations: 24.12 kB / 436.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.186e-05/0.3266, allocations: 23.42 kB / 436.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3266, allocations: 3.031 kB / 436.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3266, allocations: 3.938 kB / 436.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3266, allocations: 1.75 kB / 436.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.3276, allocations: 0.6173 MB / 436.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3276, allocations: 0 / 436.8 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.3279, allocations: 51.81 kB / 436.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3279, allocations: 2.422 kB / 436.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.3279, allocations: 7.094 kB / 436.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3279, allocations: 2.609 kB / 436.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3279, allocations: 3.938 kB / 436.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.329, allocations: 485.9 kB / 437.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.329, allocations: 105.1 kB / 437.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.3291, allocations: 4.875 kB / 437.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.3293, allocations: 23.61 kB / 437.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.3293, allocations: 11.69 kB / 437.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.3293, allocations: 13.64 kB / 437.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.3295, allocations: 154.2 kB / 437.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3295, allocations: 0 / 437.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003572/0.3298, allocations: 63.66 kB / 437.8 MB, free: 8.578 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 (17): * Single equations (assignments): 15 * 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.0016/0.3314, allocations: 1.117 MB / 438.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008881/0.3323, allocations: 265.1 kB / 439.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3323, allocations: 1.375 kB / 439.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000341/0.3327, allocations: 108 kB / 439.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.333, allocations: 25.38 kB / 439.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.337, allocations: 2.826 MB / 442.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.3373, allocations: 0.7377 MB / 442.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.3374, allocations: 34.73 kB / 442.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.3375, allocations: 67.48 kB / 442.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3375, allocations: 0.5312 kB / 442.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.3689, allocations: 5.328 MB / 448.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.316/8.685, allocations: 14.06 kB / 448.3 MB, free: 4.551 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.314716058317572] 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'] 8.75664900476113 8.770488123 8.645454585 Calling exit ...