Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.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.001599/0.001599, allocations: 120.1 kB / 18.49 MB, free: 4.566 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.001996/0.001996, allocations: 218.2 kB / 21.46 MB, free: 1.613 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.558/1.558, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002894, allocations: 55.91 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1583, allocations: 53.38 MB / 427.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003745/0.162, allocations: 1.507 MB / 428.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1636, allocations: 0.5763 MB / 429.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.1637, allocations: 0 / 429.1 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.1639, allocations: 15.86 kB / 429.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.735e-05/0.1639, allocations: 15.81 kB / 429.2 MB, free: 2.516 MB / 350.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.0007757/0.1647, allocations: 147.6 kB / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.165, allocations: 115.6 kB / 429.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.684e-05/0.165, allocations: 5.125 kB / 429.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.235e-05/0.1651, allocations: 47.84 kB / 429.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008125/0.1659, allocations: 73.41 kB / 429.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.166, allocations: 8 kB / 429.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.1663, allocations: 119.9 kB / 429.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.1664, allocations: 35.84 kB / 429.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.845e-05/0.1665, allocations: 51.67 kB / 429.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.1669, allocations: 199.2 kB / 430 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1669, allocations: 3.984 kB / 430 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1669, allocations: 0 / 430 MB, free: 1.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1669, allocations: 0 / 430 MB, free: 1.727 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009125/0.1679, allocations: 462.5 kB / 430.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1679, allocations: 11.97 kB / 430.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.788e-05/0.168, allocations: 4.188 kB / 430.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.584e-05/0.168, allocations: 38.75 kB / 430.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000474/0.1685, allocations: 40.81 kB / 430.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.1687, allocations: 204 kB / 430.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.1688, allocations: 4.375 kB / 430.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.1688, allocations: 8.375 kB / 430.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.1691, allocations: 127.6 kB / 430.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1691, allocations: 4 kB / 430.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1692, allocations: 0 / 430.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1692, allocations: 0 / 430.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.1694, allocations: 59.95 kB / 430.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009514/0.1704, allocations: 472.7 kB / 431.4 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.1708, allocations: 117.2 kB / 431.5 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.171, allocations: 61.8 kB / 431.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.171, allocations: 8 kB / 431.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003418/0.1713, allocations: 139.2 kB / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.1713, allocations: 0 / 431.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001044/0.1724, allocations: 349.1 kB / 432 MB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.1725, allocations: 89.05 kB / 432.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1727, allocations: 178.3 kB / 432.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.1728, allocations: 49.69 kB / 432.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/0.1729, allocations: 104.7 kB / 432.4 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.203e-05/0.1729, allocations: 59.62 kB / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.1731, allocations: 53.69 kB / 432.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1733, allocations: 334.8 kB / 432.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.1736, allocations: 104.4 kB / 433 MB, free: 14.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.1739, allocations: 131.6 kB / 433.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005296/0.1744, allocations: 233.8 kB / 433.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1744, allocations: 0 / 433.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007729/0.1752, allocations: 313.2 kB / 433.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.1752, allocations: 11.94 kB / 433.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1752, allocations: 0 / 433.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.1752, allocations: 4.047 kB / 433.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.1755, allocations: 39.91 kB / 433.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1755, allocations: 4.094 kB / 433.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1756, allocations: 15.92 kB / 433.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.1756, allocations: 8 kB / 433.7 MB, free: 13.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 2 * 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.0002031/0.1758, allocations: 153.7 kB / 433.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.1759, allocations: 11.91 kB / 433.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.1759, allocations: 13.41 kB / 433.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1759, allocations: 0 / 433.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.1759, allocations: 8 kB / 433.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.1759, allocations: 3.984 kB / 433.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007729/0.1767, allocations: 440 kB / 434.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1767, allocations: 4 kB / 434.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.1768, allocations: 19.86 kB / 434.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.1768, allocations: 4 kB / 434.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.1768, allocations: 8.062 kB / 434.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/0.1768, allocations: 11.92 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1768, allocations: 0 / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.1774, allocations: 317.9 kB / 434.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.1775, allocations: 89.02 kB / 434.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.1775, allocations: 15.98 kB / 434.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.1777, allocations: 8.062 kB / 434.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.1778, allocations: 15.98 kB / 434.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1778, allocations: 4 kB / 434.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1779, allocations: 132.2 kB / 435 MB, free: 12.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1779, allocations: 0 / 435 MB, free: 12.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005316/0.1785, allocations: 47.94 kB / 435 MB, free: 12.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001754/0.1802, allocations: 1.023 MB / 436 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006323/0.1808, allocations: 196.5 kB / 436.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1809, allocations: 0 / 436.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.1811, allocations: 63.91 kB / 436.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1815, allocations: 8 kB / 436.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.1856, allocations: 2.242 MB / 438.5 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.1861, allocations: 0.7125 MB / 439.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.402e-05/0.1862, allocations: 17.08 kB / 439.3 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.1863, allocations: 43.42 kB / 439.3 MB, free: 7.816 MB / 366.1 MB Notification: Performance of SimCode: time 1.473e-06/0.1863, allocations: 112 / 439.3 MB, free: 7.816 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.2135, allocations: 3.855 MB / 443.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/8.778, allocations: 8.266 kB / 443.2 MB, free: 4.035 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.619896785006858] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 8.908802857040428 9.168362641 8.99885035 Calling exit ...