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.001819/0.001819, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002045/0.002045, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.655/1.655, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.001996/0.001996, allocations: 59.91 kB / 378.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.426, allocations: 53.4 MB / 432 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002924/0.4289, allocations: 1.364 MB / 433.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000903/0.4298, allocations: 362.8 kB / 433.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.4298, allocations: 0 / 433.7 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.4299, allocations: 3.938 kB / 433.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.4299, allocations: 0 / 433.7 MB, free: 4.945 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.000671/0.4306, allocations: 95.7 kB / 433.8 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.583e-05/0.4307, allocations: 19.92 kB / 433.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.726e-05/0.4307, allocations: 15.92 kB / 433.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.214e-05/0.4308, allocations: 0 / 433.8 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.4308, allocations: 11.94 kB / 433.8 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.4308, allocations: 0 / 433.8 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003364/0.4312, allocations: 127.8 kB / 434 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.4312, allocations: 3.984 kB / 434 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.4312, allocations: 11.94 kB / 434 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.4315, allocations: 83.61 kB / 434 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4315, allocations: 0 / 434 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4315, allocations: 0 / 434 MB, free: 4.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.4315, allocations: 0 / 434 MB, free: 4.586 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.000535/0.4321, allocations: 271.2 kB / 434.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.4321, allocations: 12.03 kB / 434.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.322e-05/0.4322, allocations: 4.125 kB / 434.3 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.872e-05/0.4322, allocations: 42.67 kB / 434.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.4323, allocations: 4.938 kB / 434.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.4324, allocations: 110.5 kB / 434.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.4324, allocations: 4.375 kB / 434.5 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.4325, allocations: 4.312 kB / 434.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.4326, allocations: 46 kB / 434.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.4326, allocations: 4 kB / 434.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4326, allocations: 0 / 434.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4326, allocations: 0 / 434.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.087e-05/0.4327, allocations: 11.98 kB / 434.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.4332, allocations: 216.1 kB / 434.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.834e-05/0.4333, allocations: 42.42 kB / 434.8 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/0.4333, allocations: 12.86 kB / 434.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.4334, allocations: 8 kB / 434.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.4336, allocations: 59.48 kB / 434.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.4336, allocations: 0 / 434.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004388/0.434, allocations: 97.5 kB / 435 MB, free: 3.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.4341, allocations: 59.39 kB / 435 MB, free: 3.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.4342, allocations: 106.2 kB / 435.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.4343, allocations: 29.7 kB / 435.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.4343, allocations: 88.12 kB / 435.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.4343, allocations: 15.91 kB / 435.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.4344, allocations: 17.72 kB / 435.3 MB, free: 3.168 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4345, allocations: 322.8 kB / 435.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.4346, allocations: 8 kB / 435.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.143e-05/0.4346, allocations: 34.75 kB / 435.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.173e-05/0.4347, allocations: 50.58 kB / 435.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4347, allocations: 3.938 kB / 435.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001258/0.4348, allocations: 73.58 kB / 435.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.4349, allocations: 4 kB / 435.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4349, allocations: 0 / 435.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4349, allocations: 3.984 kB / 435.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.486e-05/0.435, allocations: 19.94 kB / 435.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.435, allocations: 0 / 435.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/0.435, allocations: 8.062 kB / 435.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.435, allocations: 0 / 435.8 MB, free: 2.617 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.0001072/0.4351, allocations: 117.8 kB / 435.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.4351, allocations: 3.984 kB / 435.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.4352, allocations: 12.31 kB / 435.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4352, allocations: 0 / 435.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4352, allocations: 0 / 435.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4352, allocations: 0 / 435.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.4356, allocations: 315.2 kB / 436.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4356, allocations: 3.938 kB / 436.2 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.4356, allocations: 4 kB / 436.3 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4356, allocations: 4 kB / 436.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4356, allocations: 0 / 436.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4356, allocations: 0 / 436.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4356, allocations: 7.938 kB / 436.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.4358, allocations: 169.3 kB / 436.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.4358, allocations: 15.89 kB / 436.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.4358, allocations: 4.125 kB / 436.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.826e-05/0.4358, allocations: 4 kB / 436.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.4359, allocations: 7.922 kB / 436.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.4359, allocations: 4 kB / 436.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.847e-05/0.4359, allocations: 83.28 kB / 436.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4359, allocations: 4 kB / 436.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.4362, allocations: 31.92 kB / 436.6 MB, free: 1.75 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.0008813/0.4371, allocations: 0.7896 MB / 437.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.4372, allocations: 31.92 kB / 437.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4373, allocations: 0 / 437.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.166e-05/0.4373, allocations: 20.11 kB / 437.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.4375, allocations: 7.938 kB / 437.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.439, allocations: 1.322 MB / 438.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.4393, allocations: 0.6807 MB / 439.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.099e-05/0.4394, allocations: 4.359 kB / 439.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.4394, allocations: 19.42 kB / 439.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4394, allocations: 0 / 439.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.4639, allocations: 2.223 MB / 441.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.88, allocations: 6.875 kB / 441.7 MB, free: 12.63 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.639849289960694] Failed to read output from testmodel.py, exit status != 0: ['time', 'impureRandom_y'] 12.041599932999816 12.064371626 11.628357222 Calling exit ...