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.001344/0.001344, 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.001003/0.001003, allocations: 153 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.9633/0.9633, allocations: 173.4 MB / 200.4 MB, free: 9.441 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.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 2.585e-06/2.585e-06, allocations: 0 / 318.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.157e-05, allocations: 5.516 kB / 318.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.002538/0.002569, allocations: 1.786 MB / 320.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.00461, allocations: 1.185 MB / 321.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.004709, allocations: 4 kB / 321.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.004844, allocations: 23.67 kB / 321.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.004934, allocations: 31.72 kB / 321.5 MB, free: 3.285 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.0008392/0.005773, allocations: 322.8 kB / 321.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.006037, allocations: 223.4 kB / 322 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.006206, allocations: 48.55 kB / 322 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.006362, allocations: 135.7 kB / 322.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006726/0.007034, allocations: 102 kB / 322.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.007076, allocations: 23.94 kB / 322.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.007508, allocations: 315.3 kB / 322.6 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.007566, allocations: 55.81 kB / 322.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.675e-05/0.007633, allocations: 71.75 kB / 322.7 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.008132, allocations: 442.7 kB / 323.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.008137, allocations: 0 / 323.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.00814, allocations: 0 / 323.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.008147, allocations: 0 / 323.2 MB, free: 1.582 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.0008969/0.009044, allocations: 0.5052 MB / 323.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.009092, allocations: 8.922 kB / 323.7 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.452e-05/0.009176, allocations: 54.67 kB / 323.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.009345, allocations: 32.78 kB / 323.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.00956, allocations: 187.1 kB / 324 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.009585, allocations: 24.12 kB / 324 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.009618, allocations: 16 kB / 324 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.009943, allocations: 202.5 kB / 324.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.009953, allocations: 0 / 324.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.009968, allocations: 4 kB / 324.2 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.00998, allocations: 4 kB / 324.2 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.01023, allocations: 156.1 kB / 324.3 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007318/0.01096, allocations: 0.5074 MB / 324.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/0.01156, allocations: 309.6 kB / 325.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.01172, allocations: 108.8 kB / 325.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.01174, allocations: 7.984 kB / 325.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.01201, allocations: 166.3 kB / 325.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/0.01201, allocations: 0 / 325.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006057/0.01262, allocations: 361.1 kB / 325.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.01268, allocations: 67.47 kB / 325.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.01286, allocations: 211.8 kB / 326.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.0129, allocations: 37.7 kB / 326.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.01298, allocations: 132.6 kB / 326.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.01303, allocations: 75.38 kB / 326.3 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.01311, allocations: 65.69 kB / 326.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.01323, allocations: 338.8 kB / 326.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.01343, allocations: 127.9 kB / 326.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.01364, allocations: 161.6 kB / 327 MB, free: 13.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.01403, allocations: 268.6 kB / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.01403, allocations: 4 kB / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004859/0.01452, allocations: 369 kB / 327.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.01454, allocations: 8 kB / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.01455, allocations: 0 / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.01457, allocations: 4.031 kB / 327.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.01474, allocations: 67.89 kB / 327.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.01475, allocations: 4 kB / 327.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.794e-05/0.01484, allocations: 59.55 kB / 327.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.01486, allocations: 8 kB / 327.8 MB, free: 12.79 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.0001224/0.01499, allocations: 145.8 kB / 327.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.01501, allocations: 19.86 kB / 327.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.01506, allocations: 25.95 kB / 327.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.01506, allocations: 4 kB / 327.9 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.01507, allocations: 4 kB / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01508, allocations: 0 / 327.9 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007077/0.01578, allocations: 0.5793 MB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.01579, allocations: 0 / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.01592, allocations: 47.89 kB / 328.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01592, allocations: 0 / 328.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.01594, allocations: 4 kB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.01594, allocations: 4 kB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01594, allocations: 4 kB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.01655, allocations: 490.6 kB / 329.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.01658, allocations: 23.97 kB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.0166, allocations: 4 kB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.735e-05/0.01669, allocations: 19.97 kB / 329.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.01675, allocations: 19.91 kB / 329.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.01677, allocations: 8 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.01687, allocations: 147.2 kB / 329.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01687, allocations: 0 / 329.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000474/0.01734, allocations: 107.7 kB / 329.4 MB, free: 11.09 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.001417/0.01876, allocations: 1.191 MB / 330.6 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004647/0.01922, allocations: 272.9 kB / 330.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01923, allocations: 0 / 330.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.01939, allocations: 111.9 kB / 331 MB, free: 9.527 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.01964, allocations: 32.3 kB / 331 MB, free: 9.496 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.02245, allocations: 2.792 MB / 333.8 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.185e-05/0.02254, allocations: 129.5 kB / 333.9 MB, free: 6.473 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.02265, allocations: 29.94 kB / 333.9 MB, free: 6.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.02275, allocations: 72.45 kB / 334 MB, free: 6.371 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02275, allocations: 0 / 334 MB, free: 6.371 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.04791, allocations: 6.933 MB / 340.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.005/7.053, allocations: 11.92 kB / 340.9 MB, free: 15.55 MB / 314.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_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_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.01772421784699] 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.1410092720761895 7.149077484 7.138948441 Calling exit ...