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.001177/0.001177, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001441/0.001441, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.9337/0.9337, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.209e-05, allocations: 2.281 kB / 318.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.002236/0.002259, allocations: 1.782 MB / 320.2 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.003834, allocations: 0.9468 MB / 321.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.609e-05/0.00392, allocations: 4 kB / 321.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.004032, allocations: 19.69 kB / 321.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.004208, allocations: 39.64 kB / 321.2 MB, free: 3.531 MB / 282.7 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.000489/0.004697, allocations: 191.3 kB / 321.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.00489, allocations: 219.5 kB / 321.6 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.005028, allocations: 52.55 kB / 321.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.005146, allocations: 131.7 kB / 321.8 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004202/0.005566, allocations: 109.9 kB / 321.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.005598, allocations: 28 kB / 322 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.005808, allocations: 151.7 kB / 322.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.005865, allocations: 59.81 kB / 322.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.005932, allocations: 67.81 kB / 322.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.006282, allocations: 326.9 kB / 322.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.006285, allocations: 0 / 322.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006286, allocations: 0 / 322.5 MB, free: 2.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.006291, allocations: 0 / 322.5 MB, free: 2.223 MB / 282.7 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.0008256/0.007117, allocations: 497.6 kB / 323 MB, free: 1.707 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.00717, allocations: 8.922 kB / 323 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.333e-05/0.007263, allocations: 50.73 kB / 323.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.007409, allocations: 32.78 kB / 323.1 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.007637, allocations: 191 kB / 323.3 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.007665, allocations: 20.12 kB / 323.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.0077, allocations: 20 kB / 323.3 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.008028, allocations: 206.5 kB / 323.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.008038, allocations: 0 / 323.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.008054, allocations: 4 kB / 323.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.008061, allocations: 4 kB / 323.6 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.008329, allocations: 156.1 kB / 323.7 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.009081, allocations: 0.4997 MB / 324.2 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.009695, allocations: 302.5 kB / 324.5 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.00986, allocations: 108.8 kB / 324.6 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.009881, allocations: 4 kB / 324.6 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.01015, allocations: 170.4 kB / 324.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.984e-06/0.01015, allocations: 0 / 324.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005978/0.01075, allocations: 357.2 kB / 325.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.0108, allocations: 59.41 kB / 325.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.01096, allocations: 211.8 kB / 325.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.01099, allocations: 45.69 kB / 325.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.01108, allocations: 128.7 kB / 325.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.01113, allocations: 79.38 kB / 325.6 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.104e-05/0.01121, allocations: 65.69 kB / 325.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.01133, allocations: 338.8 kB / 326 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.01154, allocations: 127.9 kB / 326.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.01176, allocations: 165.5 kB / 326.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.01213, allocations: 264.6 kB / 326.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01213, allocations: 0 / 326.6 MB, free: 13.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005066/0.01264, allocations: 380.9 kB / 327 MB, free: 13.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.01267, allocations: 4 kB / 327 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.01268, allocations: 7.984 kB / 327 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.0127, allocations: 0 / 327 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.01288, allocations: 67.92 kB / 327 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.01289, allocations: 4 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.01298, allocations: 47.69 kB / 327.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.013, allocations: 8 kB / 327.1 MB, free: 13.47 MB / 298.7 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.0001628/0.01316, allocations: 145.8 kB / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.01319, allocations: 19.86 kB / 327.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.744e-05/0.01325, allocations: 25.97 kB / 327.3 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.01325, allocations: 4 kB / 327.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.01326, allocations: 4 kB / 327.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.01327, allocations: 3.984 kB / 327.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007433/0.01401, allocations: 0.5792 MB / 327.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.01402, allocations: 0 / 327.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.01416, allocations: 43.95 kB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.01416, allocations: 0 / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.01418, allocations: 4 kB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.01419, allocations: 4 kB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01419, allocations: 3.984 kB / 327.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/0.01486, allocations: 0.4905 MB / 328.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.0149, allocations: 19.84 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.01493, allocations: 8.062 kB / 328.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.239e-05/0.01502, allocations: 27.97 kB / 328.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.01508, allocations: 11.97 kB / 328.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.01509, allocations: 4 kB / 328.5 MB, free: 12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.0152, allocations: 155.2 kB / 328.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0152, allocations: 0 / 328.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003882/0.01558, allocations: 71.81 kB / 328.7 MB, free: 11.78 MB / 298.7 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.001376/0.01696, allocations: 1.113 MB / 329.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004751/0.01743, allocations: 268.9 kB / 330.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.01744, allocations: 4 kB / 330.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.0176, allocations: 103.9 kB / 330.2 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.01786, allocations: 28.23 kB / 330.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.02085, allocations: 2.804 MB / 333 MB, free: 7.395 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.891e-05/0.02094, allocations: 129.5 kB / 333.1 MB, free: 7.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.02106, allocations: 33.94 kB / 333.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.02116, allocations: 68.47 kB / 333.2 MB, free: 7.148 MB / 298.7 MB Notification: Performance of SimCode: time 1.173e-06/0.02116, allocations: 0 / 333.2 MB, free: 7.148 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.04364, allocations: 6.198 MB / 339.4 MB, free: 1.074 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/6.948, allocations: 7.922 kB / 339.5 MB, free: 1.066 MB / 298.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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: 8.844459269195795] 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'] 7.035049422644079 7.043129465 7.035123925 Calling exit ...