Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001719/0.001719, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001706/0.001706, allocations: 204.7 kB / 24.51 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.ImpureGenerator,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 63.91 kB / 378.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3465, allocations: 53.41 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002943/0.3495, allocations: 1.341 MB / 433.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3505, allocations: 358.8 kB / 433.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.3506, allocations: 0 / 433.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.3506, allocations: 3.984 kB / 433.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.594e-05/0.3507, allocations: 3.938 kB / 433.6 MB, free: 4.766 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0006852/0.3514, allocations: 99.64 kB / 433.7 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.699e-05/0.3515, allocations: 15.94 kB / 433.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.3515, allocations: 3.984 kB / 433.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.8e-05/0.3515, allocations: 11.94 kB / 433.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.033e-05/0.3516, allocations: 7.984 kB / 433.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3516, allocations: 0 / 433.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.3519, allocations: 119.8 kB / 433.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.352, allocations: 7.938 kB / 433.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.352, allocations: 4 kB / 433.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.3523, allocations: 89.8 kB / 434 MB, free: 4.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.3523, allocations: 4 kB / 434 MB, free: 4.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3523, allocations: 4 kB / 434 MB, free: 4.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.3523, allocations: 0 / 434 MB, free: 4.41 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.0005658/0.3528, allocations: 274.1 kB / 434.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.3529, allocations: 12.03 kB / 434.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.154e-05/0.353, allocations: 192 / 434.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.555e-05/0.353, allocations: 34.75 kB / 434.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.3531, allocations: 4.938 kB / 434.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.3532, allocations: 114.5 kB / 434.4 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3533, allocations: 4.375 kB / 434.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3533, allocations: 384 / 434.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3534, allocations: 50 kB / 434.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3534, allocations: 0 / 434.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3535, allocations: 0 / 434.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3535, allocations: 0 / 434.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.027e-05/0.3535, allocations: 11.94 kB / 434.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.354, allocations: 212.1 kB / 434.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3541, allocations: 38.5 kB / 434.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.3542, allocations: 12.86 kB / 434.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.3542, allocations: 4 kB / 434.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.3544, allocations: 59.42 kB / 434.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 3.868e-06/0.3544, allocations: 4 kB / 434.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004045/0.3548, allocations: 109.5 kB / 434.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3548, allocations: 51.41 kB / 434.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3549, allocations: 114.2 kB / 435.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3549, allocations: 25.7 kB / 435.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.355, allocations: 88.14 kB / 435.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.355, allocations: 7.906 kB / 435.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.3551, allocations: 29.7 kB / 435.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3552, allocations: 318.7 kB / 435.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.3552, allocations: 12 kB / 435.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.766e-05/0.3553, allocations: 30.56 kB / 435.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.707e-05/0.3554, allocations: 50.77 kB / 435.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3554, allocations: 0 / 435.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001242/0.3555, allocations: 81.56 kB / 435.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3555, allocations: 4 kB / 435.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3555, allocations: 0 / 435.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3555, allocations: 4 kB / 435.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.3556, allocations: 8 kB / 435.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3556, allocations: 0 / 435.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.673e-05/0.3556, allocations: 12.06 kB / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.3557, allocations: 0 / 435.7 MB, free: 2.449 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.000103/0.3558, allocations: 125.7 kB / 435.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.3558, allocations: 4 kB / 435.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.3558, allocations: 4.375 kB / 435.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3558, allocations: 0 / 435.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3558, allocations: 0 / 435.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3558, allocations: 0 / 435.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.3563, allocations: 307.2 kB / 436.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3563, allocations: 64 / 436.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.3563, allocations: 12 kB / 436.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3563, allocations: 48 / 436.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3563, allocations: 3.984 kB / 436.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3563, allocations: 4 kB / 436.2 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.3563, allocations: 7.875 kB / 436.2 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.3565, allocations: 165.3 kB / 436.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.3565, allocations: 11.94 kB / 436.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3566, allocations: 128 / 436.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.3566, allocations: 15.94 kB / 436.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.3566, allocations: 3.938 kB / 436.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.3567, allocations: 11.98 kB / 436.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.13e-05/0.3567, allocations: 83.28 kB / 436.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3567, allocations: 0 / 436.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003128/0.357, allocations: 23.94 kB / 436.5 MB, free: 1.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (6): * Single equations (assignments): 5 * 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.001242/0.3583, allocations: 0.8008 MB / 437.3 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.3585, allocations: 39.92 kB / 437.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3585, allocations: 0 / 437.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.921e-05/0.3585, allocations: 19.92 kB / 437.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.3588, allocations: 7.938 kB / 437.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.3605, allocations: 1.315 MB / 438.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.142e-05/0.3606, allocations: 71.28 kB / 438.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.163e-05/0.3607, allocations: 11.98 kB / 438.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.3607, allocations: 11.44 kB / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3607, allocations: 0 / 438.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.3851, allocations: 2.256 MB / 441 MB, free: 13.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.21, allocations: 4.062 kB / 441 MB, free: 13.05 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator_fmu --startTime=0 --stopTime=2 --stepSize=0.000384541 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_ImpureGenerator.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.827239420963451] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 11.37933070503641 11.394326997 11.038973476 Calling exit ...