Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.00193/0.00193, allocations: 120 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.002303/0.002303, allocations: 218.3 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.718/1.718, 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.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.88 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1505, allocations: 53.37 MB / 427.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.004035/0.1545, allocations: 1.673 MB / 428.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.1573, allocations: 1.258 MB / 430 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.1575, allocations: 4 kB / 430 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.1579, allocations: 39.7 kB / 430 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.1582, allocations: 35.77 kB / 430.1 MB, free: 1.582 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.001193/0.1593, allocations: 291.2 kB / 430.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.1598, allocations: 179.5 kB / 430.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1599, allocations: 17.11 kB / 430.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003453/0.1602, allocations: 83.73 kB / 430.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008989/0.1611, allocations: 117.3 kB / 430.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.681e-05/0.1612, allocations: 12 kB / 430.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006512/0.1619, allocations: 283.5 kB / 431 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.162, allocations: 55.81 kB / 431.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1621, allocations: 79.52 kB / 431.2 MB, free: 500 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008616/0.163, allocations: 318.9 kB / 431.5 MB, free: 180 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.163, allocations: 0 / 431.5 MB, free: 180 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.163, allocations: 0 / 431.5 MB, free: 180 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.163, allocations: 4 kB / 431.5 MB, free: 176 kB / 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.001625/0.1647, allocations: 0.5605 MB / 432 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.1647, allocations: 12.03 kB / 432.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.861e-05/0.1647, allocations: 8.016 kB / 432.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.1648, allocations: 38.75 kB / 432.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.1651, allocations: 32.78 kB / 432.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.1656, allocations: 265.1 kB / 432.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.1657, allocations: 12.36 kB / 432.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.1657, allocations: 8.375 kB / 432.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.166, allocations: 111.1 kB / 432.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.166, allocations: 0 / 432.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.166, allocations: 3.984 kB / 432.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.166, allocations: 4 kB / 432.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.1662, allocations: 75.94 kB / 432.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009769/0.1672, allocations: 452.5 kB / 433 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.1675, allocations: 122.4 kB / 433.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.1676, allocations: 52.83 kB / 433.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.1676, allocations: 7.938 kB / 433.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.1679, allocations: 121.8 kB / 433.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.714e-06/0.1679, allocations: 0 / 433.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006025/0.1685, allocations: 237.6 kB / 433.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.1685, allocations: 59.41 kB / 433.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.169, allocations: 243.8 kB / 433.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.169, allocations: 37.69 kB / 433.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1691, allocations: 116.1 kB / 434 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.798e-05/0.1692, allocations: 51.77 kB / 434.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.1693, allocations: 41.7 kB / 434.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1695, allocations: 338.8 kB / 434.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.1697, allocations: 79.95 kB / 434.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.1698, allocations: 105.7 kB / 434.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.1702, allocations: 189.7 kB / 434.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1702, allocations: 0 / 434.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004992/0.1707, allocations: 253.3 kB / 435.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1707, allocations: 7.984 kB / 435.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1707, allocations: 0 / 435.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.1707, allocations: 3.938 kB / 435.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.1709, allocations: 31.98 kB / 435.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1709, allocations: 0 / 435.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1711, allocations: 31.89 kB / 435.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.1712, allocations: 12 kB / 435.1 MB, free: 12.27 MB / 366.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: 17 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,whiteNoise.actualGlobalSeed,whiteNoise.localSeed,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 1 * 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.000176/0.1713, allocations: 133.8 kB / 435.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.1714, allocations: 15.91 kB / 435.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.15e-05/0.1715, allocations: 33.39 kB / 435.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1715, allocations: 0 / 435.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1715, allocations: 4 kB / 435.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1715, allocations: 0 / 435.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.1718, allocations: 245.4 kB / 435.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1718, allocations: 4 kB / 435.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.1719, allocations: 15.98 kB / 435.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1719, allocations: 0 / 435.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.1719, allocations: 7.938 kB / 435.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.172, allocations: 4 kB / 435.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.172, allocations: 3.938 kB / 435.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005962/0.1726, allocations: 277 kB / 435.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.1727, allocations: 113 kB / 436 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.1727, allocations: 7.938 kB / 436 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.1729, allocations: 15.97 kB / 436 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.173, allocations: 11.98 kB / 436 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.173, allocations: 4 kB / 436 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003652/0.1733, allocations: 185.5 kB / 436.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1733, allocations: 0 / 436.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004611/0.1738, allocations: 87.8 kB / 436.3 MB, free: 11.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001597/0.1754, allocations: 0.9631 MB / 437.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004347/0.1758, allocations: 171.7 kB / 437.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.1758, allocations: 4.062 kB / 437.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.176, allocations: 63.91 kB / 437.5 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.1763, allocations: 14.17 kB / 437.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.1802, allocations: 2.372 MB / 439.9 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.1806, allocations: 0.7202 MB / 440.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.1807, allocations: 37.34 kB / 440.6 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.1809, allocations: 51.42 kB / 440.7 MB, free: 6.52 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1809, allocations: 0 / 440.7 MB, free: 6.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.2102, allocations: 5.192 MB / 445.9 MB, free: 1.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.031/9.241, allocations: 8.078 kB / 445.9 MB, free: 1.426 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/DrydenContinuousTurbulence/DrydenContinuousTurbulence.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.537283060024492]