Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.00128/0.00128, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002/0.002, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.543/1.543, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.ImpureGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_ImpureGenerator",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.00204/0.00204, allocations: 60.78 kB / 378.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2482, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002535/0.2507, allocations: 1.36 MB / 433.3 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008189/0.2516, allocations: 366.8 kB / 433.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.2516, allocations: 4 kB / 433.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.2516, allocations: 3.938 kB / 433.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/0.2517, allocations: 0 / 433.6 MB, free: 5.145 MB / 334.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.0005136/0.2522, allocations: 95.66 kB / 433.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.122e-05/0.2523, allocations: 15.92 kB / 433.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.2523, allocations: 7.984 kB / 433.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.376e-05/0.2523, allocations: 4 kB / 433.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.556e-05/0.2524, allocations: 11.94 kB / 433.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2524, allocations: 4 kB / 433.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.2526, allocations: 123.8 kB / 433.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.2526, allocations: 3.984 kB / 433.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.2527, allocations: 11.94 kB / 433.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.2529, allocations: 83.61 kB / 434 MB, free: 4.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.2529, allocations: 3.984 kB / 434 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2529, allocations: 0 / 434 MB, free: 4.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.2529, allocations: 0 / 434 MB, free: 4.789 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004142/0.2533, allocations: 275.1 kB / 434.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2533, allocations: 15.97 kB / 434.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.2534, allocations: 30.75 kB / 434.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.2534, allocations: 4.938 kB / 434.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.2535, allocations: 118.4 kB / 434.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.2536, allocations: 8.375 kB / 434.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.2536, allocations: 384 / 434.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.2537, allocations: 38.25 kB / 434.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2537, allocations: 3.938 kB / 434.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.2537, allocations: 0 / 434.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.2537, allocations: 0 / 434.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.153e-05/0.2537, allocations: 8 kB / 434.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.2541, allocations: 224 kB / 434.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.29e-05/0.2542, allocations: 26.52 kB / 434.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.2542, allocations: 8.922 kB / 434.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.2542, allocations: 0 / 434.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.2543, allocations: 59.39 kB / 434.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2543, allocations: 0 / 434.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001691/0.2545, allocations: 61.62 kB / 434.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.2546, allocations: 51.41 kB / 434.9 MB, free: 3.723 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/0.2546, allocations: 109.8 kB / 435 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.2547, allocations: 25.7 kB / 435 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.2547, allocations: 84.14 kB / 435.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.2547, allocations: 7.891 kB / 435.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.2548, allocations: 29.7 kB / 435.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2549, allocations: 310.8 kB / 435.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.395e-05/0.2549, allocations: 8 kB / 435.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.2549, allocations: 17.7 kB / 435.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.321e-05/0.255, allocations: 37.59 kB / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.255, allocations: 0 / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.885e-05/0.2551, allocations: 61.8 kB / 435.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2551, allocations: 4 kB / 435.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.2551, allocations: 11.92 kB / 435.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2551, allocations: 0 / 435.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.2552, allocations: 8 kB / 435.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2552, allocations: 3.984 kB / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.2552, allocations: 4 kB / 435.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.2552, allocations: 0 / 435.6 MB, free: 2.961 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: 4 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 8.806e-05/0.2553, allocations: 121.7 kB / 435.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.2553, allocations: 7.984 kB / 435.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.2553, allocations: 8 kB / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2553, allocations: 4 kB / 435.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2553, allocations: 0 / 435.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2553, allocations: 0 / 435.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.2556, allocations: 261.6 kB / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2556, allocations: 384 / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.2556, allocations: 0 / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2556, allocations: 0 / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2556, allocations: 4 kB / 436 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2556, allocations: 8 kB / 436 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2556, allocations: 0 / 436 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.2557, allocations: 143.5 kB / 436.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.2557, allocations: 7.953 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.2557, allocations: 3.984 kB / 436.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.343e-05/0.2558, allocations: 0 / 436.2 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.2558, allocations: 7.938 kB / 436.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.2558, allocations: 0 / 436.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.95e-05/0.2559, allocations: 95.2 kB / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2559, allocations: 0 / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.2561, allocations: 27.94 kB / 436.3 MB, free: 2.191 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007739/0.2569, allocations: 0.7627 MB / 437.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.257, allocations: 19.94 kB / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.257, allocations: 0 / 437.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.257, allocations: 7.984 kB / 437.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.2572, allocations: 4 kB / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.2584, allocations: 1.235 MB / 438.3 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.2587, allocations: 0.6807 MB / 439 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.129e-05/0.2588, allocations: 8.062 kB / 439 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.2588, allocations: 15.42 kB / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2588, allocations: 0 / 439 MB, free: 15.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.2832, allocations: 1.954 MB / 441 MB, free: 13.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.496/8.78, allocations: 11.7 kB / 441 MB, free: 13.48 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --stepSize=0.000384541 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.202044173143804] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 8.851238603703678 8.874770266 8.617433628 Calling exit ...