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.002215/0.002215, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002384/0.002384, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.556/1.556, allocations: 230.5 MB / 254.7 MB, free: 15.2 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.002004/0.002004, allocations: 71.83 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1144, allocations: 53.31 MB / 426.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002993/0.1174, allocations: 1.357 MB / 428.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009099/0.1183, allocations: 358.8 kB / 428.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.1184, allocations: 4 kB / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.1184, allocations: 7.922 kB / 428.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.751e-05/0.1185, allocations: 0 / 428.6 MB, free: 3.148 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.0005952/0.1191, allocations: 87.66 kB / 428.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.1192, allocations: 16 kB / 428.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.1192, allocations: 7.984 kB / 428.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.699e-05/0.1193, allocations: 3.938 kB / 428.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.989e-05/0.1193, allocations: 11.98 kB / 428.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1193, allocations: 0 / 428.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.1195, allocations: 91.83 kB / 428.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.1196, allocations: 11.94 kB / 428.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.1196, allocations: 3.938 kB / 428.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.1198, allocations: 91.73 kB / 428.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1198, allocations: 0 / 428.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1198, allocations: 0 / 428.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.1198, allocations: 4 kB / 428.9 MB, free: 2.824 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005421/0.1204, allocations: 347.3 kB / 429.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1204, allocations: 8.031 kB / 429.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.104e-05/0.1205, allocations: 30.75 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.1205, allocations: 8.922 kB / 429.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1207, allocations: 168.3 kB / 429.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1207, allocations: 384 / 429.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.1207, allocations: 4.375 kB / 429.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1209, allocations: 38.25 kB / 429.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1209, allocations: 11.88 kB / 429.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1209, allocations: 0 / 429.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1209, allocations: 0 / 429.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.6e-05/0.1209, allocations: 4 kB / 429.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.1214, allocations: 264.8 kB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.955e-05/0.1215, allocations: 22.52 kB / 429.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.1215, allocations: 20.91 kB / 429.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.1215, allocations: 0 / 429.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.1217, allocations: 51.41 kB / 429.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1217, allocations: 0 / 429.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002298/0.1219, allocations: 53.62 kB / 429.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.122, allocations: 55.41 kB / 430 MB, free: 1.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1221, allocations: 105.8 kB / 430.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.1221, allocations: 37.7 kB / 430.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.1222, allocations: 80.14 kB / 430.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.1222, allocations: 7.891 kB / 430.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.1223, allocations: 21.7 kB / 430.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1224, allocations: 318.8 kB / 430.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.1224, allocations: 4 kB / 430.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.63e-05/0.1225, allocations: 21.7 kB / 430.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.059e-05/0.1226, allocations: 33.59 kB / 430.6 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1226, allocations: 4 kB / 430.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001036/0.1227, allocations: 53.69 kB / 430.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1227, allocations: 6.188 kB / 430.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1227, allocations: 0 / 430.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1227, allocations: 8.312 kB / 430.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.1228, allocations: 7.984 kB / 430.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1228, allocations: 0 / 430.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.1228, allocations: 8 kB / 430.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1228, allocations: 4.031 kB / 430.7 MB, free: 0.8047 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: 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 0.0001219/0.1229, allocations: 117.8 kB / 430.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.1229, allocations: 3.953 kB / 430.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.123, allocations: 7.844 kB / 430.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.123, allocations: 3.984 kB / 430.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.123, allocations: 4 kB / 430.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.123, allocations: 0 / 430.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.1233, allocations: 290.5 kB / 431.1 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1233, allocations: 4 kB / 431.1 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.1233, allocations: 7.938 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1233, allocations: 0 / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.1233, allocations: 0 / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1233, allocations: 0 / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1234, allocations: 0 / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.1235, allocations: 147.8 kB / 431.3 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.1236, allocations: 89.09 kB / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.1236, allocations: 4 kB / 431.4 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.459e-05/0.1237, allocations: 4 kB / 431.4 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.1237, allocations: 0 / 431.4 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1237, allocations: 3.938 kB / 431.4 MB, free: 20 kB / 350.1 MB Notification: Performance of sorting global known variables: time 8.348e-05/0.1238, allocations: 91.2 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1238, allocations: 0 / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.1241, allocations: 23.94 kB / 431.5 MB, free: 15.91 MB / 366.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.0008736/0.125, allocations: 0.7693 MB / 432.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.1251, allocations: 23.92 kB / 432.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1251, allocations: 4.062 kB / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.408e-05/0.1251, allocations: 4 kB / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.1253, allocations: 8 kB / 432.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1266, allocations: 1.231 MB / 433.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.127, allocations: 0.6806 MB / 434.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.353e-05/0.127, allocations: 7.984 kB / 434.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.1271, allocations: 15.44 kB / 434.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1271, allocations: 4 kB / 434.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.1561, allocations: 1.943 MB / 436.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.532, allocations: 7.969 kB / 436.2 MB, free: 11.2 MB / 366.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.249812230002135] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 8.60266736894846 8.842023914 8.495093176 Calling exit ...